BusinessApi

<back to all web services

LookupBrandsByRootCategoryRequest

Business
Requires Authentication
Required role:Business
The following routes are available for this service:
GET/brand/lookup_by_rootcategory
LookupBrandsByRootCategoryRequest Parameters:
NameParameterData TypeRequiredDescription
QueryquerystringYes
RootCategoryIdquerylongNo
Sizequeryint?No
Offsetqueryint?No
LookupBrandsByRootCategoryResponse Parameters:
NameParameterData TypeRequiredDescription
BrandsformList<BrandDto>Yes
BrandDto Parameters:
NameParameterData TypeRequiredDescription
IdformlongNo
DefinedByRootCategoryIdformlongNo
NameformstringYes

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /brand/lookup_by_rootcategory HTTP/1.1 
Host: business-api.brovs.com 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"brands":[{"id":0,"definedByRootCategoryId":0,"name":"String"}]}