Allows to reject received freight offer.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • Endpoint: /ext/freights-api/v1/freights/offers/{offer-id}/reject
  • 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.

For accessing freights API no additional scopes are set, therefore the scope parameter can be left empty.

Usage

Request:

For rejecting freight offer it is required to send empty request using POST method.

https://api.platform.trans.eu/ext/freights-api/v1/freights/offers/{offer-id}/reject

Response:

200 ok if the offer number and version was correct

400 if either offer number or version were incorrect