GET api/v1/getsubcategoryhirarchy?categoryMasterId={categoryMasterId}&sellerId={sellerId}&clientId={clientId}&isBottomUpHierarchy={isBottomUpHierarchy}

Request Information

URI Parameters
NameDescriptionTypeAdditional information
categoryMasterId

integer

Required

sellerId

integer

Required

clientId

integer

Required

isBottomUpHierarchy

boolean

Default value is False

Response Information

Description:

Return type: Collection of CategoryHierarchy

Response Formats
[
  {
    "CategoryMasterId": 1,
    "Name": "sample string 1",
    "SortOrder": 1,
    "ParentCategoryMasterId": 1
  },
  {
    "CategoryMasterId": 1,
    "Name": "sample string 1",
    "SortOrder": 1,
    "ParentCategoryMasterId": 1
  }
]
[{"CategoryMasterId":1,"Name":"sample string 1","SortOrder":1,"ParentCategoryMasterId":1},{"CategoryMasterId":1,"Name":"sample string 1","SortOrder":1,"ParentCategoryMasterId":1}]
<ArrayOfCategoryHierarchy xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Category">
  <CategoryHierarchy>
    <CategoryMasterId>1</CategoryMasterId>
    <Name>sample string 1</Name>
    <ParentCategoryMasterId>1</ParentCategoryMasterId>
    <SortOrder>1</SortOrder>
  </CategoryHierarchy>
  <CategoryHierarchy>
    <CategoryMasterId>1</CategoryMasterId>
    <Name>sample string 1</Name>
    <ParentCategoryMasterId>1</ParentCategoryMasterId>
    <SortOrder>1</SortOrder>
  </CategoryHierarchy>
</ArrayOfCategoryHierarchy>