Announcement status update

This method allows you to update sta­tus in announce­ment.

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.

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • End­point: /ext/dock-scheduler-api/v1/announcement/{{announcementID}}/stage
  • Http Method: PUT

Headers

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

Json request body example

{
    "stage": "REFUSED",
    "reason_for_refusing": "string"
}

The “stage” field can take the fol­low­ing val­ues:

  • ini­tial
  • con­firm
  • vehicle_arrive
  • start­ed
  • fin­ished
  • vehicle_left
  • incoplete
  • no_vehicle
  • refused*


*With the REFUSED sta­tus you can addi­tion­al­ly pro­vide a rea­son for refus­ing, this field is not required.