GET api/ProductTypes?ModifiedSince={ModifiedSince}&Lang2={Lang2}

Request a list of ProductType
The results can be a filtered result set based on the parameters

With the information retrieved you can make a call for the images: https://atrlayer.transmissies.nl/api/Images/List?Group={PictureGroup}&ID={ProductTypeID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ModifiedSince

Only list results that are newer or modified since this DateTime

If you want to make some sort of synchronization, you must use the 'ModifiedSince' to get all the new and modified ProductTypes since the DateTime in 'ModifiedSince'.

date

None.

Lang2

The language in which the product types need to be,
This is a 2 letter code, defaults to english(EN) if the letter code is unknown.

string

Default value is EN

Body Parameters

None.

Response Information

Resource Description

A List of ProductType

Collection of ProductType
NameDescriptionTypeAdditional information
ProductTypeID

Unique ID for the ProductType

integer

None.

Description

Name / description

string

None.

DescriptionLong

The long description of this ProductType

string

None.

PictureGroup

The name of the picture group related to the product type

string

None.

SortOrder

When this class used within a list, SortOrder defines the position in the list.

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductTypeID": 1,
    "Description": "sample string 2",
    "DescriptionLong": "sample string 3",
    "PictureGroup": "sample string 4",
    "SortOrder": 5
  },
  {
    "ProductTypeID": 1,
    "Description": "sample string 2",
    "DescriptionLong": "sample string 3",
    "PictureGroup": "sample string 4",
    "SortOrder": 5
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ATRonicLayer.BO">
  <ProductType>
    <Description>sample string 2</Description>
    <DescriptionLong>sample string 3</DescriptionLong>
    <PictureGroup>sample string 4</PictureGroup>
    <ProductTypeID>1</ProductTypeID>
    <SortOrder>5</SortOrder>
  </ProductType>
  <ProductType>
    <Description>sample string 2</Description>
    <DescriptionLong>sample string 3</DescriptionLong>
    <PictureGroup>sample string 4</PictureGroup>
    <ProductTypeID>1</ProductTypeID>
    <SortOrder>5</SortOrder>
  </ProductType>
</ArrayOfProductType>