This API allows you to always retrieve the active, possible products for your company/customer number.
| URL | https://api.ontime.be/DISTRI/ |
|---|---|
| METHOD | POST |
Below is the structure used as input, including an illustrative example and more information for each field.
You may choose whether to send the data to us via JSON or XML
| Level/Field | Mandatory | Example | Description | |||||
|---|---|---|---|---|---|---|---|---|
| 1 | verwerking | * | PRODUCT | an overview of all possible products for your customer number is retrieved. | ||||
| 1 | gebruiker | * | info@ontime.be | Email address on which the API account was defined. Max 250 characters |
||||
| 1 | klantnr | * | K01234 | This is the DISTRI customer number at ON TIMELogistics. Numeric, preceding with a 'K' |
||||
| 1 | apipswd | * | c40b0c360f3d4959b53b103b25759542 | Password of the API account | ||||
| 1 | omgeving | * | TEST | TEST = TEST environment LIVE = LIVE environment |
||||
PRODUCT info@ontime.be K01234 c40b0c360f3d4959b53b103b25759542 TEST
Below is the structure used as output, including an illustrative example and more information for each field.
If you sent with JSON, you will receive JSON, idem with XML
| Level/Field | Example | Description | |||||
|---|---|---|---|---|---|---|---|
| 1 | status | SUCCESS | |||||
| 1 | remarks | ||||||
| 2 | remark | Er werd 1 productn gevonden | Informative comments | ||||
| 1 | producten | ||||||
| 2 | product | ||||||
| 3 | verpakking | BLOKPAL | |||||
| 3 | Description | BLOKPALLET max 300kg - 1.2 - 0 - 300 | You use this description when creating distribution orders under 'goods' | ||||
| 3 | volume | 1.2 | default = volume | ||||
| 3 | gewicht | 300 | default = gewicht | ||||
| 3 | lengte | 0 | default = lengte | ||||
| 3 | ItemID | ItemID-123456 | OF (ipv de omschrijving) kan je ook dit id meegeven bij de creatie van een order in het veld 'goed » product' | ||||
| Level/Field | Example | Description | |||||
|---|---|---|---|---|---|---|---|
| 1 | status | ERROR | |||||
| 1 | remarks | ||||||
| 2 | remark | foutieve credentials | List of errors found | ||||
SUCCESS er werden 3 producten gevonden BLOKPAL BLOKPALLET max 300kg - 1.2 - 0 - 300 1.2 1 300 1 0 1 COLLI COLLI 30-60kg - 0.4 - 0 - 60 0.4 1 60 1 0 1 COLLI colli (50-60kg) - 0.4 - 0 - 60 0.4 1 60 1 0 1
ERROR foutieve credentials
Through this function, you can try out any JSON or XML input.
ATTENTION : This function is ALWAYS performed in the TEST environment