GET api/v0.6/catalogs/{catalogName}/brands
Returns all brands in the catalog.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
catalogName |
Catalog name. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of ProductBrandName | Description | Type | Additional information |
---|---|---|---|
Logo |
Brand logo (image URL). |
string |
None. |
Id |
ID of the group item in PDB. |
integer |
None. |
Code |
Internal group name or code. |
string |
None. |
Name |
Public friendly name of the group. |
string |
None. |
UrlSegment |
URL-friendly group name equivalent. |
string |
None. |
Language |
Group language. |
string |
None. |
SortOrder |
Sort order of this group in listings. |
integer |
None. |
ParentCode |
Code of parent group |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "logo": "sample string 1", "id": 2, "code": "sample string 3", "name": "sample string 4", "urlSegment": "sample string 5", "language": "sample string 6", "sortOrder": 7, "parentCode": "sample string 8" }, { "logo": "sample string 1", "id": 2, "code": "sample string 3", "name": "sample string 4", "urlSegment": "sample string 5", "language": "sample string 6", "sortOrder": 7, "parentCode": "sample string 8" } ]
application/xml, text/xml
Sample:
<ArrayOfProductBrand xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PDB.Api.Models"> <ProductBrand> <Code>sample string 3</Code> <Id>2</Id> <Language>sample string 6</Language> <Name>sample string 4</Name> <ParentCode>sample string 8</ParentCode> <SortOrder>7</SortOrder> <UrlSegment>sample string 5</UrlSegment> <Logo>sample string 1</Logo> </ProductBrand> <ProductBrand> <Code>sample string 3</Code> <Id>2</Id> <Language>sample string 6</Language> <Name>sample string 4</Name> <ParentCode>sample string 8</ParentCode> <SortOrder>7</SortOrder> <UrlSegment>sample string 5</UrlSegment> <Logo>sample string 1</Logo> </ProductBrand> </ArrayOfProductBrand>