GET api/WebApiOdata/GetAllRetailerBrands?providerId={providerId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
providerId | integer |
Required |
Body Parameters
CategoryAdvancedSearchViewModelName | Description | Type | Additional information |
---|---|---|---|
SCProductID | integer |
None. |
|
IsAdvSearch | integer |
None. |
|
AdvSearchString | string |
None. |
|
BrandID | integer |
None. |
|
SCCodeProductID | integer |
None. |
Request Formats
application/json, text/json, text/html
Sample:
{ "SCProductID": 1, "IsAdvSearch": 2, "AdvSearchString": "sample string 3", "BrandID": 4, "SCCodeProductID": 5 }
application/xml, text/xml
Sample:
<CategoryAdvancedSearchViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <AdvSearchString>sample string 3</AdvSearchString> <BrandID>4</BrandID> <IsAdvSearch>2</IsAdvSearch> <SCCodeProductID>5</SCCodeProductID> <SCProductID>1</SCProductID> </CategoryAdvancedSearchViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of RetailerCategoryStructureName | Description | Type | Additional information |
---|---|---|---|
CategoryID | integer |
None. |
|
SCCategoryID | 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 | string |
None. |
|
SupplierID | integer |
None. |
|
Checked | boolean |
None. |
|
ImagePath | string |
None. |
|
SCUniqueID | integer |
None. |
|
CategoryTypeID | byte |
None. |
Response Formats
application/json, text/json, text/html
Sample:
[ { "CategoryID": 1, "SCCategoryID": 2, "CategoryName": "sample string 3", "CategoryCode": "sample string 4", "ProviderName": "sample string 5", "HasChildren": 6, "SubCategoryCount": 1, "ProductCount": 1, "Status": true, "Published": true, "ModifiedDate": "sample string 8", "SupplierID": 9, "Checked": true, "ImagePath": "sample string 11", "SCUniqueID": 1, "CategoryTypeID": 64 }, { "CategoryID": 1, "SCCategoryID": 2, "CategoryName": "sample string 3", "CategoryCode": "sample string 4", "ProviderName": "sample string 5", "HasChildren": 6, "SubCategoryCount": 1, "ProductCount": 1, "Status": true, "Published": true, "ModifiedDate": "sample string 8", "SupplierID": 9, "Checked": true, "ImagePath": "sample string 11", "SCUniqueID": 1, "CategoryTypeID": 64 } ]
application/xml, text/xml
Sample:
<ArrayOfRetailerCategoryStructure xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SellersCommerce.ViewModels.Products"> <RetailerCategoryStructure> <CategoryCode>sample string 4</CategoryCode> <CategoryID>1</CategoryID> <CategoryName>sample string 3</CategoryName> <CategoryTypeID>64</CategoryTypeID> <Checked>true</Checked> <HasChildren>6</HasChildren> <ImagePath>sample string 11</ImagePath> <ModifiedDate>sample string 8</ModifiedDate> <ProductCount>1</ProductCount> <ProviderName>sample string 5</ProviderName> <Published>true</Published> <SCCategoryID>2</SCCategoryID> <SCUniqueID>1</SCUniqueID> <Status>true</Status> <SubCategoryCount>1</SubCategoryCount> <SupplierID>9</SupplierID> </RetailerCategoryStructure> <RetailerCategoryStructure> <CategoryCode>sample string 4</CategoryCode> <CategoryID>1</CategoryID> <CategoryName>sample string 3</CategoryName> <CategoryTypeID>64</CategoryTypeID> <Checked>true</Checked> <HasChildren>6</HasChildren> <ImagePath>sample string 11</ImagePath> <ModifiedDate>sample string 8</ModifiedDate> <ProductCount>1</ProductCount> <ProviderName>sample string 5</ProviderName> <Published>true</Published> <SCCategoryID>2</SCCategoryID> <SCUniqueID>1</SCUniqueID> <Status>true</Status> <SubCategoryCount>1</SubCategoryCount> <SupplierID>9</SupplierID> </RetailerCategoryStructure> </ArrayOfRetailerCategoryStructure>