Dulux Group API Service

<back to all web services

CategoryForApp

The following routes are available for this service:
GET/appcategory/{AppId}/{BrandId}
CategoryForApp Parameters:
NameParameterData TypeRequiredDescription
AppIdpathintNo
BrandIdpathstringNo
CategoryForApp_CategoryResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
IdformintNo
NameformstringNo
CategoryColoursformIList<CategoryForApp_CategoryColourResponse>No
CategoryForApp_CategoryColourResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ColourIdformstringNo
ColourNameformstringNo
ColourNameStrippedformstringNo
ColourCodeformstringNo
ColourSpecifierNumberformstringNo
ColourChipBarcodeformstringNo
ColourSchemesformstringNo
PositionXformintNo
PositionYformintNo
RelatedColoursformstringNo
Redformint?No
Greenformint?No
Blueformint?No

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.

POST /csv/reply/CategoryForApp HTTP/1.1 
Host: digital-prod-umbracosharedapi-appservice.azurewebsites.net 
Content-Type: text/csv
Content-Length: length

{"appId":0,"brandId":"String"}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}},"id":0,"name":"String"}