Cancel freight publication

Deac­ti­vates select­ed freight pub­li­ca­tion, which was pre­vi­ous­ly cre­at­ed by logged user or any oth­er user’s com­pa­ny employ­ee.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • End­point: /ext/freights-api/v1/cancelPublication/{freight-id}
  • Method: POST

Headers:

  • Con­tent-type: application/json
  • Accept: application/json
  • Autho­riza­tion: Bear­er {access_token}
  • Api-key: {unique_ap­p_api-key}

Authorization and access

Autho­riza­tion process is described here. Each API request must also con­sist of unique Api-key obtained dur­ing appli­ca­tion reg­is­tra­tion togeth­er with client_id and client_secret.

Requirements

To be deac­ti­vat­ed, freight pub­li­ca­tion must be active and not accept­ed.

Response

Response for prop­er­ly giv­en freight id is Http code 200 with no response con­tent.