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 .jsv suffix or ?format=jsv

HTTP + JSV

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

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

{
	appId: 0,
	brandId: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}