This method allows you to update status in announcement.
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.
Url parameters and connection settings
- URL: https://api.platform.trans.eu
- Endpoint: /ext/dock-scheduler-api/v1/announcement/{{announcementID}}/stage
- Http Method: PUT
Headers
- Accept: application/json
- Content-type: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Json request body example
{
"stage": "REFUSED",
"reason_for_refusing": "string"
}The “stage” field can take the following values:
- initial
- confirm
- vehicle_arrive
- started
- finished
- vehicle_left
- incoplete
- no_vehicle
- refused*
*With the REFUSED status you can additionally provide a reason for refusing, this field is not required.