This method allows you to download history of announcements.
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/{announcement-id}/history
- Http Method: GET
Headers
- Accept: application/json
- Content-type: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Json response example
{
"2023-07-12": [
{
"fields_changes": {
"status": {
"after": "CONFIRMED",
"before": null
}
},
"modification_date_time": "2023-07-12T11:01:01",
"modified_by": {
"family_name": "Kowalski",
"given_name": "Jan",
"trans_id": "1007386-1"
},
"properties_changed": [
"status"
]
},
{
"fields_changes": {
"arrival_delay": {
"after": 0,
"before": null
},
"custom_status_order": {
"after": 30,
"before": null
},
"modified_at": {
"after": "2023-07-12T11:01:27",
"before": null
},
"stage": {
"after": "VEHICLE_ARRIVED",
"before": null
},
"status": {
"after": "IN_PROGRESS",
"before": "CONFIRMED"
}
},
"modification_date_time": "2023-07-12T11:01:27",
"modified_by": {
"family_name": "Wankiewicz",
"given_name": "Paweł",
"trans_id": "1007386-1"
},
"properties_changed": [
"stage",
"modified_at",
"arrival_delay",
"custom_status_order",
"status"
]
},
{
"fields_changes": {
"custom_status_order": {
"after": 40,
"before": null
},
"modified_at": {
"after": "2023-07-12T11:01:30",
"before": null
},
"stage": {
"after": "STARTED",
"before": "VEHICLE_ARRIVED"
}
},
"modification_date_time": "2023-07-12T11:01:30",
"modified_by": {
"family_name": "Wankiewicz",
"given_name": "Paweł",
"trans_id": "1007386-1"
},
"properties_changed": [
"stage",
"modified_at",
"custom_status_order"
]
}
]
}