Dulux Group API Service

<back to all web services

Search

The following routes are available for this service:
GET/Search/{BrandName}/{DeviceName}/All/{QueryName}
GET/Search/{BrandName}/{DeviceName}/Colours/{ColourName}
GET/Search/{Take}/{BrandName}/Products/{ProductName}
GET/Search/{BrandName}/Products/{ProductName}
GET/Search/{Take}/{BrandName}/{DeviceName}/All/{QueryName}
GET/Search/{Take}/{BrandName}/{DeviceName}/Colours/{ColourName}
Search Parameters:
NameParameterData TypeRequiredDescription
TakepathintNo
BrandNamepathstringNo
DeviceNamepathDeviceNo
QueryNamepathstringNo
ColourNamepathstringNo
ProductNamepathstringNo
SearchResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
MasterColoursformIList<MasterColourResponse>No
ProductsformIList<ProductSearchResponse>No
MasterColourResponse Parameters:
NameParameterData TypeRequiredDescription
ColoursformList<Colour>No
RelatedMasterColoursformList<RelatedMasterColours>No
LinkedColourCardsformList<ColourCardForMasterColour>No
LinkedImagesformList<ImageForMasterColour>No
LinkedColourSchemesformList<ColourScheme>No
LinkedProductsformList<Product>No
RangeNameformstringNo
RangeNameStrippedformstringNo
CategoryNameformstringNo
CategoryNameStrippedformstringNo
MasterColour Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
CodeformstringNo
NameformstringNo
NameStrippedformstringNo
SpecifierNumberformstringNo
ChipNumberformstringNo
ChipPositionformstringNo
ChipBarcodeformstringNo
ValidFromformDateTime?No
ValidToformDateTime?No
Colour Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
Redformint?No
Greenformint?No
Blueformint?No
LRVformint?No
MaskformMaskNo
BaseIdformstringNo
NameformstringNo
WoodTypeformstringNo
CoatsformstringNo
ColourSchemeformColourSchemeNo
Mask Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
UrlformstringNo
ThumbnailUrlformstringNo
ColourScheme Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
TypeformstringNo
DescriptionformstringNo
MasterColourIdformstringNo
ColourSchemeMasterColoursformList<ColourSchemeMasterColour>No
RelatedMasterColours Parameters:
NameParameterData TypeRequiredDescription
RangeNameformstringNo
RangeNameStrippedformstringNo
CategoryNameformstringNo
CategoryNameStrippedformstringNo
PositionXformintNo
PositionYformintNo
ColoursformList<Colour>No
ColourCard Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
Image Parameters:
NameParameterData TypeRequiredDescription
Idformint?No
NameformstringNo
DescriptionformstringNo
UrlformstringNo
OrientationformstringNo
LocationsformstringNo
SourceformstringNo
Widthformint?No
Heightformint?No
Sizeformint?No
CopyrightformstringNo
TagsformstringNo
TagsArrayformstring[]No
Product Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
NameStrippedformstringNo
DescriptionformstringNo
ProductTypeformstringNo
RangeNameformstringNo
RangeNameStrippedformstringNo
IndexOrderformint?No
ProductSearchResponse Parameters:
NameParameterData TypeRequiredDescription
MSDSformstringNo
ProductDataSheetformList<string>No
ProductResponse Parameters:
NameParameterData TypeRequiredDescription
LinkedImagesformList<Image>No
LinkedStoresformList<ProductStores>No
LinkedMasterColoursformList<RelatedMasterColours>No
LinkedVariantsformList<ProductVariants>No
LinkedBasesformList<ProductBases>No
LinkedProductsformList<RelatedProduct>No
ProductStores Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
ProductVariants Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
SkuformstringNo
SapIdformstringNo
ImageformstringNo
SizeUnitsformstringNo
SizeValueformstringNo
IsActiveformboolNo
IsPurchaseableformboolNo
ProductBases Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
ColoursformList<Colour>No
RelatedProduct Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
NameStrippedformstringNo
DescriptionformstringNo
ProductTypeformstringNo
RangeNameformstringNo
LinkedImagesformList<Image>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/Search HTTP/1.1 
Host: digital-prod-umbracosharedapi-appservice.azurewebsites.net 
Content-Type: text/jsv
Content-Length: length

{
	take: 0,
	brandName: String,
	deviceName: 0,
	queryName: String,
	colourName: String,
	productName: 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
		}
	}
}