POST Catalog/ClassificationBrands
Get brands associated to a product classification
Request Information
URI Parameters
None.
Body Parameters
GetClassificationBrandsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ClassificationID | integer |
None. |
|
| Lang | string |
None. |
|
| StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ClassificationID": 1,
"Lang": "sample string 2",
"StoreID": 3
}
application/xml, text/xml
Sample:
<GetClassificationBrandsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.View.Catalog"> <Lang xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">sample string 2</Lang> <StoreID xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.Common.Base">3</StoreID> <ClassificationID>1</ClassificationID> </GetClassificationBrandsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ShortBrand| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2"
},
{
"ID": 1,
"Name": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfShortBrand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.View.Catalog">
<ShortBrand>
<ID>1</ID>
<Name>sample string 2</Name>
</ShortBrand>
<ShortBrand>
<ID>1</ID>
<Name>sample string 2</Name>
</ShortBrand>
</ArrayOfShortBrand>