POST Catalog/ClassificationAttributes
Get attributes associated to a product classification and, optionally, a parent attribute
Request Information
URI Parameters
None.
Body Parameters
GetClassificationAttributesRequestName | Description | Type | Additional information |
---|---|---|---|
ClassificationID | integer |
None. |
|
ParentAttributeID | integer |
None. |
|
Lang | string |
None. |
|
StoreID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ClassificationID": 1, "ParentAttributeID": 1, "Lang": "sample string 2", "StoreID": 3 }
application/xml, text/xml
Sample:
<GetClassificationAttributesRequest 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> <ParentAttributeID>1</ParentAttributeID> </GetClassificationAttributesRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of ShortAttributeName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
SortOrder | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "ID": 1, "SortOrder": 2 }, { "ID": 1, "SortOrder": 2 } ]
application/xml, text/xml
Sample:
<ArrayOfShortAttribute xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopworldApi.Web.Models.View.Catalog"> <ShortAttribute> <ID>1</ID> <SortOrder>2</SortOrder> </ShortAttribute> <ShortAttribute> <ID>1</ID> <SortOrder>2</SortOrder> </ShortAttribute> </ArrayOfShortAttribute>