public static MozuClient<com.mozu.api.contracts.productadmin.AttributeInProductType> addExtraClient(com.mozu.api.DataViewMode dataViewMode, com.mozu.api.contracts.productadmin.AttributeInProductType attributeInProductType, Integer productTypeId, String responseFields) throws Exception
	{
		MozuUrl url = com.mozu.api.urls.commerce.catalog.admin.attributedefinition.producttypes.ProductTypeExtraUrl.addExtraUrl(productTypeId, responseFields);
		String verb = "POST";
		Class<?> clz = com.mozu.api.contracts.productadmin.AttributeInProductType.class;
		MozuClient<com.mozu.api.contracts.productadmin.AttributeInProductType> mozuClient = (MozuClient<com.mozu.api.contracts.productadmin.AttributeInProductType>) MozuClientFactory.getInstance(clz);
		mozuClient.setVerb(verb);
		mozuClient.setResourceUrl(url);
		mozuClient.setBody(attributeInProductType);
		mozuClient.addHeader(Headers.X_VOL_DATAVIEW_MODE ,dataViewMode.toString());
		return mozuClient;

	}
public static MozuClient < com . mozu . api . contracts . productadmin . AttributeInProductType > addExtraClient ( com . mozu . api . DataViewMode dataViewMode , com . mozu . api . contracts . productadmin . AttributeInProductType attributeInProductType , Integer productTypeId , String responseFields ) throws Exception { MozuUrl url = com . mozu . api . urls . commerce . catalog . admin . attributedefinition . producttypes . ProductTypeExtraUrl . addExtraUrl ( productTypeId , responseFields ) ; String verb = "POST" ; Class < ? > clz = com . mozu . api . contracts . productadmin . AttributeInProductType . class ; MozuClient < com . mozu . api . contracts . productadmin . AttributeInProductType > mozuClient = ( MozuClient < com . mozu . api . contracts . productadmin . AttributeInProductType > ) MozuClientFactory . getInstance ( clz ) ; mozuClient . setVerb ( verb ) ; mozuClient . setResourceUrl ( url ) ; mozuClient . setBody ( attributeInProductType ) ; mozuClient . addHeader ( Headers . X_VOL_DATAVIEW_MODE , dataViewMode . toString ( ) ) ; return mozuClient ; }
<p><pre><code>
MozuClient<com.mozu.api.contracts.productadmin.AttributeInProductType> mozuClient=AddExtraClient(dataViewMode,  attributeInProductType,  productTypeId,  responseFields);
client.setBaseAddress(url);
client.executeRequest();
AttributeInProductType attributeInProductType = client.Result();
</code></pre></p>
@param productTypeId Identifier of the product type.
@param responseFields Filtering syntax appended to an API call to increase or decrease the amount of data returned inside a JSON object. This parameter should only be used to retrieve data. Attempting to update data using this parameter may cause data loss.
@param dataViewMode DataViewMode
@param attributeInProductType Properties of an attribute definition associated with a specific product type. When an attribute is applied to a product type, each product of that type maintains the same set of attributes.
@return Mozu.Api.MozuClient <com.mozu.api.contracts.productadmin.AttributeInProductType>
@see com.mozu.api.contracts.productadmin.AttributeInProductType
@see com.mozu.api.contracts.productadmin.AttributeInProductType