Retrieve a list of all inventory Product Category Tree by WarehouseID.
[ { "WarehouseID": "sample string 1", "CategoryID": "sample string 2", "ParentCategoryID": "sample string 3", "Levels": 4 }, { "WarehouseID": "sample string 1", "CategoryID": "sample string 2", "ParentCategoryID": "sample string 3", "Levels": 4 }, { "WarehouseID": "sample string 1", "CategoryID": "sample string 2", "ParentCategoryID": "sample string 3", "Levels": 4 } ]
<ArrayOfInventoryHierarchicalCategoryModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BDS.Web.WebApi.Models"> <InventoryHierarchicalCategoryModel> <CategoryID>sample string 2</CategoryID> <Levels>4</Levels> <ParentCategoryID>sample string 3</ParentCategoryID> <WarehouseID>sample string 1</WarehouseID> </InventoryHierarchicalCategoryModel> <InventoryHierarchicalCategoryModel> <CategoryID>sample string 2</CategoryID> <Levels>4</Levels> <ParentCategoryID>sample string 3</ParentCategoryID> <WarehouseID>sample string 1</WarehouseID> </InventoryHierarchicalCategoryModel> <InventoryHierarchicalCategoryModel> <CategoryID>sample string 2</CategoryID> <Levels>4</Levels> <ParentCategoryID>sample string 3</ParentCategoryID> <WarehouseID>sample string 1</WarehouseID> </InventoryHierarchicalCategoryModel> </ArrayOfInventoryHierarchicalCategoryModel>