public static MozuClient<com.mozu.api.contracts.productadmin.LocationInventory> getLocationInventoryClient(com.mozu.api.DataViewMode dataViewMode, String locationCode, String productCode, String responseFields) throws Exception
	{
		MozuUrl url = com.mozu.api.urls.commerce.catalog.admin.LocationInventoryUrl.getLocationInventoryUrl(locationCode, productCode, responseFields);
		String verb = "GET";
		Class<?> clz = com.mozu.api.contracts.productadmin.LocationInventory.class;
		MozuClient<com.mozu.api.contracts.productadmin.LocationInventory> mozuClient = (MozuClient<com.mozu.api.contracts.productadmin.LocationInventory>) MozuClientFactory.getInstance(clz);
		mozuClient.setVerb(verb);
		mozuClient.setResourceUrl(url);
		mozuClient.addHeader(Headers.X_VOL_DATAVIEW_MODE ,dataViewMode.toString());
		return mozuClient;

	}
public static MozuClient < com . mozu . api . contracts . productadmin . LocationInventory > getLocationInventoryClient ( com . mozu . api . DataViewMode dataViewMode , String locationCode , String productCode , String responseFields ) throws Exception { MozuUrl url = com . mozu . api . urls . commerce . catalog . admin . LocationInventoryUrl . getLocationInventoryUrl ( locationCode , productCode , responseFields ) ; String verb = "GET" ; Class < ? > clz = com . mozu . api . contracts . productadmin . LocationInventory . class ; MozuClient < com . mozu . api . contracts . productadmin . LocationInventory > mozuClient = ( MozuClient < com . mozu . api . contracts . productadmin . LocationInventory > ) MozuClientFactory . getInstance ( clz ) ; mozuClient . setVerb ( verb ) ; mozuClient . setResourceUrl ( url ) ; mozuClient . addHeader ( Headers . X_VOL_DATAVIEW_MODE , dataViewMode . toString ( ) ) ; return mozuClient ; }
<p><pre><code>
MozuClient<com.mozu.api.contracts.productadmin.LocationInventory> mozuClient=GetLocationInventoryClient(dataViewMode,  locationCode,  productCode,  responseFields);
client.setBaseAddress(url);
client.executeRequest();
LocationInventory locationInventory = client.Result();
</code></pre></p>
@param locationCode The unique, user-defined code that identifies a location.
@param productCode The unique, user-defined product code of a product, used throughout  to reference and associate to a product.
@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
@return Mozu.Api.MozuClient <com.mozu.api.contracts.productadmin.LocationInventory>
@see com.mozu.api.contracts.productadmin.LocationInventory