Get Inventory Type

This method gets inventory types with no customer relation. The client makes a GET request providing input parameters CompanyID, BusinessChannelID and LanguageID. The output will be either in json or xml format depending on the request type.

Name Value
REST-API METHOD GET INVENTORY TYPES
HTTP METHOD GET
RESPONSE TYPE XML
URL https://api.csm.next4biz.net/services/InventoryService/{CompanyID}/inventorytype.xml/{businessChannelID}/{LangID}
REQUEST HEAD Authorization: Basic {base64 encoded username:password} Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Content-Type: application/xml
RESPONSE BODY
                                            
                                                <?xml version="1.0" encoding="utf-8"?>
<ArrayOfInventoryType>
	<InventoryType>
		<CompanyId>{CompanyId}</CompanyId>
		<InventoryTypeId>{InventoryTypeId}</InventoryTypeId>
		<InventoryTypeName>{InventoryTypeName}</InventoryTypeName>
		<IsRelatedToCustomer>{IsRelatedToCustomer}</IsRelatedToCustomer>
		<LangID>{LangID}</LangID>
		<IsMandatory>{TrueOrFalse}</IsMandatory>
		<ShowInPrintout xsi:nil="true"/>
		<ProviderId>{ProviderId}</ProviderId>
		<IsInitialize>{TrueOrFalse}</IsInitialize>
		<MergeOption>{MergeOption}</MergeOption>
	</InventoryType>
</ArrayOfInventoryType>