This API offers the ability to cancel jobs
URL | https://api.asx.be/CANCEL/ |
---|---|
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 | * | CREATE | A new job will be created once all the checks have been done | ||||
1 | gebruiker | * | info@ontime.be | Email address on which the API account was defined. Max 250 characters |
||||
1 | klantnr | * | 1234 | This is the customer number at ON TIMELogistics. numeric, without preceding zeroes | ||||
1 | apipswd | * | c40b0c360f3d4959b53b103b25759542 | Password of the API account | ||||
1 | omgeving | * | TEST | TEST = TEST environment LIVE = LIVE environment |
||||
1 | verzender | |||||||
2 | contact | * | Ann Flecyn | Name of the person creating the order Max 250 characters |
||||
2 | * | info@ontime.be | Email address of the person creating the order Max 250 characters |
|||||
1 | opdracht | * | ASX0120005042 | Job number of the job that may be cancelled |
CREATE info@ontime.be 1234 c40b0c360f3d4959b53b103b25759542 TEST Ann Flecyn info@ontime.be ASX0120005042
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 opdracht aangemaakt | Informative comments |
Level/Field | Example | Description | |||||
---|---|---|---|---|---|---|---|
1 | status | ERROR | |||||
1 | remarks | ||||||
2 | remark | foutieve credentials | List of errors found |
SUCCESS uw aanvraag tot annuleren werd succesvol doorgegeven
ERROR annulatie niet meer mogelijk
Through this function, you can try out any JSON or XML input.
ATTENTION : This function is ALWAYS performed in the TEST environment