Cancels publication of several freights, which were previously created by logged user or any other user’s company employee. You can cancel max 10 freights in one request.
Url parameters and connection settings
- URL: https://api.platform.trans.eu
- Endpoint: /ext/freights-api/v1/cancelPublication
- Method: POST
Headers:
- Content-type: application/json
- Accept: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Authorization and access
Authorization process is described here. Each API request must also consist of unique Api-key obtained during application registration together with client_id and client_secret.
Requirements
To be cancelled, freight publication must be active and not accepted.
Request
[
848469,
123123
]
Response
{
"freights_publications": [
{
"id": 848469
},
{
"id": 123123
}
]
}