| Required role: | Business |
| GET | /brand/lookup_by_rootcategory |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Query | query | string | Yes | |
| RootCategoryId | query | long | No | |
| Size | query | int? | No | |
| Offset | query | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Brands | form | List<BrandDto> | Yes |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | long | No | |
| DefinedByRootCategoryId | form | long | No | |
| Name | form | string | Yes |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"brands":[{"id":0,"definedByRootCategoryId":0,"name":"String"}]}