GET api/Product/GetCategoryChildMappings?categoryID={categoryID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| categoryID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CategoryTreeEditViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SCCategoryID | integer |
None. |
|
| Name | string |
None. |
|
| Code | string |
None. |
|
| SupplierName | string |
None. |
|
| CategoryTypeID | byte |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[
{
"SCCategoryID": 1,
"Name": "sample string 2",
"Code": "sample string 3",
"SupplierName": "sample string 4",
"CategoryTypeID": 64
},
{
"SCCategoryID": 1,
"Name": "sample string 2",
"Code": "sample string 3",
"SupplierName": "sample string 4",
"CategoryTypeID": 64
}
]
application/xml, text/xml
Sample:
<ArrayOfCategoryTreeEditViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products">
<CategoryTreeEditViewModel>
<CategoryTypeID>64</CategoryTypeID>
<Code>sample string 3</Code>
<Name>sample string 2</Name>
<SCCategoryID>1</SCCategoryID>
<SupplierName>sample string 4</SupplierName>
</CategoryTreeEditViewModel>
<CategoryTreeEditViewModel>
<CategoryTypeID>64</CategoryTypeID>
<Code>sample string 3</Code>
<Name>sample string 2</Name>
<SCCategoryID>1</SCCategoryID>
<SupplierName>sample string 4</SupplierName>
</CategoryTreeEditViewModel>
</ArrayOfCategoryTreeEditViewModel>