Dulux Group API Service

<back to all web services

Images

Images Parameters:
NameParameterData TypeRequiredDescription
BrandNamepathstringNo
ImageIdspathIList<int>No
TagNamespathIList<string>No
FriendlyColourNamepathstringNo
CategoryNamepathstringNo
ProductNamepathstringNo
SpaceNamepathstringNo
Skipbodyint?No
Takebodyint?No
IncludeLinkedProductsbodyboolNo
FilterBodybodyIList<FilterItems>No
FilterItems Parameters:
NameParameterData TypeRequiredDescription
nameformstringNo
valuesformList<Filter>No
displayformbool?No
friendlyNameformstringNo
Filter Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
NameformstringNo
Checkedformbool?No
CountformintNo
showOptionformbool?No
ImageResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
Idformint?No
NameformstringNo
DescriptionformstringNo
UrlformstringNo
OrientationformstringNo
LocationsformstringNo
SourceformstringNo
Widthformint?No
Heightformint?No
Sizeformint?No
CopyrightformstringNo
TagsformstringNo
TagsArrayformstring[]No
ProductFriendlyNameformstringNo
CategoriesformList<CategoriesResponse>No
SpacesformList<SpaceResponse>No
StylesformList<StyleResponse>No
ColoursformList<ImageMasterColours>No
CategoriesResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
IdformintNo
NameformstringNo
NameStrippedformstringNo
RangeNameformstringNo
RangeNameStrippedformstringNo
SpaceResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
IdformintNo
NameformstringNo
StyleResponse Parameters:
NameParameterData TypeRequiredDescription
IdformintNo
NameformstringNo
ImageMasterColours Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
CodeformstringNo
NameformstringNo
NameStrippedformstringNo
SpecifierNumberformstringNo
ChipNumberformstringNo
ChipPositionformstringNo
ChipBarcodeformstringNo
ValidFromformDateTime?No
ValidToformDateTime?No
ColourLocationsformstringNo

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: digital-prod-umbracosharedapi-appservice.azurewebsites.net 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: Images

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<Images xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DuluxGroup.API.Services.Model">
  <BrandName>String</BrandName>
  <CategoryName>String</CategoryName>
  <FilterBody i:nil="true" />
  <FriendlyColourName>String</FriendlyColourName>
  <ImageIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <IncludeLinkedProducts>false</IncludeLinkedProducts>
  <ProductName>String</ProductName>
  <Skip>0</Skip>
  <SpaceName>String</SpaceName>
  <TagNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <Take>0</Take>
</Images>

    </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>

<ImageResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DuluxGroup.API.Services.Model">
  <Categories>
    <CategoriesResponse>
      <Id>0</Id>
      <Name>String</Name>
      <NameStripped>String</NameStripped>
      <RangeName>String</RangeName>
      <RangeNameStripped>String</RangeNameStripped>
      <ResponseStatus xmlns:d4p1="http://schemas.servicestack.net/types">
        <d4p1:ErrorCode>String</d4p1:ErrorCode>
        <d4p1:Message>String</d4p1:Message>
        <d4p1:StackTrace>String</d4p1:StackTrace>
        <d4p1:Errors>
          <d4p1:ResponseError>
            <d4p1:ErrorCode>String</d4p1:ErrorCode>
            <d4p1:FieldName>String</d4p1:FieldName>
            <d4p1:Message>String</d4p1:Message>
            <d4p1:Meta xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:KeyValueOfstringstring>
                <d7p1:Key>String</d7p1:Key>
                <d7p1:Value>String</d7p1:Value>
              </d7p1:KeyValueOfstringstring>
            </d4p1:Meta>
          </d4p1:ResponseError>
        </d4p1:Errors>
        <d4p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d4p1:Meta>
      </ResponseStatus>
    </CategoriesResponse>
  </Categories>
  <Colours>
    <ImageMasterColours>
      <ChipBarcode>String</ChipBarcode>
      <ChipNumber>String</ChipNumber>
      <ChipPosition>String</ChipPosition>
      <Code>String</Code>
      <ColourLocations>String</ColourLocations>
      <Id>String</Id>
      <Name>String</Name>
      <NameStripped>String</NameStripped>
      <SpecifierNumber>String</SpecifierNumber>
      <ValidFrom>0001-01-01T00:00:00</ValidFrom>
      <ValidTo>0001-01-01T00:00:00</ValidTo>
    </ImageMasterColours>
  </Colours>
  <Copyright>String</Copyright>
  <Description>String</Description>
  <Height>0</Height>
  <Id>0</Id>
  <Locations>String</Locations>
  <Name>String</Name>
  <Orientation>String</Orientation>
  <ProductFriendlyName>String</ProductFriendlyName>
  <ResponseStatus xmlns:d2p1="http://schemas.servicestack.net/types">
    <d2p1:ErrorCode>String</d2p1:ErrorCode>
    <d2p1:Message>String</d2p1:Message>
    <d2p1:StackTrace>String</d2p1:StackTrace>
    <d2p1:Errors>
      <d2p1:ResponseError>
        <d2p1:ErrorCode>String</d2p1:ErrorCode>
        <d2p1:FieldName>String</d2p1:FieldName>
        <d2p1:Message>String</d2p1:Message>
        <d2p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d2p1:Meta>
      </d2p1:ResponseError>
    </d2p1:Errors>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
  </ResponseStatus>
  <Size>0</Size>
  <Source>String</Source>
  <Spaces>
    <SpaceResponse>
      <Id>0</Id>
      <Name>String</Name>
      <ResponseStatus xmlns:d4p1="http://schemas.servicestack.net/types">
        <d4p1:ErrorCode>String</d4p1:ErrorCode>
        <d4p1:Message>String</d4p1:Message>
        <d4p1:StackTrace>String</d4p1:StackTrace>
        <d4p1:Errors>
          <d4p1:ResponseError>
            <d4p1:ErrorCode>String</d4p1:ErrorCode>
            <d4p1:FieldName>String</d4p1:FieldName>
            <d4p1:Message>String</d4p1:Message>
            <d4p1:Meta xmlns:d7p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
              <d7p1:KeyValueOfstringstring>
                <d7p1:Key>String</d7p1:Key>
                <d7p1:Value>String</d7p1:Value>
              </d7p1:KeyValueOfstringstring>
            </d4p1:Meta>
          </d4p1:ResponseError>
        </d4p1:Errors>
        <d4p1:Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfstringstring>
            <d5p1:Key>String</d5p1:Key>
            <d5p1:Value>String</d5p1:Value>
          </d5p1:KeyValueOfstringstring>
        </d4p1:Meta>
      </ResponseStatus>
    </SpaceResponse>
  </Spaces>
  <Styles>
    <StyleResponse>
      <Id>0</Id>
      <Name>String</Name>
    </StyleResponse>
  </Styles>
  <Tags>String</Tags>
  <TagsArray xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </TagsArray>
  <Url>String</Url>
  <Width>0</Width>
</ImageResponse>

    </soap:Body>
</soap:Envelope>