GET api/Product/GetRetailerCategoryStructureOnly?providerID={providerID}&supplierID={supplierID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerID | integer |
Required |
|
supplierID | integer |
Default value is 0 |
Body Parameters
None.
Response Information
Resource Description
Collection of CategoryStructureName | Description | Type | Additional information |
---|---|---|---|
CategoryID | integer |
None. |
|
SCCategoryID | integer |
None. |
|
SCUniqueID | integer |
None. |
|
CategoryName | string |
None. |
|
CategoryCode | string |
None. |
|
ProviderName | string |
None. |
|
HasChildren | integer |
None. |
|
SubCategoryCount | integer |
None. |
|
ProductCount | integer |
None. |
|
Status | boolean |
None. |
|
Published | boolean |
None. |
|
ModifiedDate | date |
None. |
|
SupplierID | integer |
None. |
|
Checked | boolean |
None. |
|
ImagePath | string |
None. |
|
CategoryTypeID | byte |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "CategoryID": 1, "SCCategoryID": 2, "SCUniqueID": 3, "CategoryName": "sample string 4", "CategoryCode": "sample string 5", "ProviderName": "sample string 6", "HasChildren": 7, "SubCategoryCount": 8, "ProductCount": 9, "Status": true, "Published": true, "ModifiedDate": "1/22/2025", "SupplierID": 12, "Checked": true, "ImagePath": "sample string 14", "CategoryTypeID": 64 }, { "CategoryID": 1, "SCCategoryID": 2, "SCUniqueID": 3, "CategoryName": "sample string 4", "CategoryCode": "sample string 5", "ProviderName": "sample string 6", "HasChildren": 7, "SubCategoryCount": 8, "ProductCount": 9, "Status": true, "Published": true, "ModifiedDate": "1/22/2025", "SupplierID": 12, "Checked": true, "ImagePath": "sample string 14", "CategoryTypeID": 64 } ]
application/xml, text/xml
Sample:
<ArrayOfCategoryStructure xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <CategoryStructure> <CategoryCode>sample string 5</CategoryCode> <CategoryID>1</CategoryID> <CategoryName>sample string 4</CategoryName> <CategoryTypeID>64</CategoryTypeID> <Checked>true</Checked> <HasChildren>7</HasChildren> <ImagePath>sample string 14</ImagePath> <ModifiedDate>2025-01-22T14:02:00.5203239+00:00</ModifiedDate> <ProductCount>9</ProductCount> <ProviderName>sample string 6</ProviderName> <Published>true</Published> <SCCategoryID>2</SCCategoryID> <SCUniqueID>3</SCUniqueID> <Status>true</Status> <SubCategoryCount>8</SubCategoryCount> <SupplierID>12</SupplierID> </CategoryStructure> <CategoryStructure> <CategoryCode>sample string 5</CategoryCode> <CategoryID>1</CategoryID> <CategoryName>sample string 4</CategoryName> <CategoryTypeID>64</CategoryTypeID> <Checked>true</Checked> <HasChildren>7</HasChildren> <ImagePath>sample string 14</ImagePath> <ModifiedDate>2025-01-22T14:02:00.5203239+00:00</ModifiedDate> <ProductCount>9</ProductCount> <ProviderName>sample string 6</ProviderName> <Published>true</Published> <SCCategoryID>2</SCCategoryID> <SCUniqueID>3</SCUniqueID> <Status>true</Status> <SubCategoryCount>8</SubCategoryCount> <SupplierID>12</SupplierID> </CategoryStructure> </ArrayOfCategoryStructure>