This method allows you to change booking date and place on Dock Scheduler 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/{annoucementID}/slot
- Http Method: PATCH
Headers
- Accept: application/json
- Content-type: application/json
- Authorization: Bearer {access_token}
- Api-key: {unique_app_api-key}
Json request body example
{
"date_from": "2024-10-01T15:00:00",
"operation_time": "PT30M",
"ramp": {
"id": 3222
}
}
Json response example
{
"arrival_delay": null,
"cargo": null,
"date_from": "2024-10-01T15:00:00",
"date_to": "2024-10-01T15:30:00",
"driver": null,
"external_reference_number": null,
"id": 77827,
"operation_type": "loading",
"ramp": {
"id": 3222,
"is_active": true,
"is_locked": false,
"name": "Rampa 2",
"operation_type": "any",
"ramp_type": "RAMP",
"warehouse": {
"address": {
"coordinates": {
"latitude": 90,
"longitude": 999
},
"country": "pl",
"id": 29,
"locality": "Warszawa",
"number": "12",
"postal_code": "00-950",
"remarks": null,
"street": "Nowa"
},
"configurations": [
{
"id": 274,
"quantity_of_slots": 3,
"slot": 15,
"valid_from": "2018-11-10",
"valid_until": null
}
],
"id": 29,
"is_active": true,
"is_locked": false,
"name": "Magazyn_jeden",
"operation_type": "any",
"quantity_of_slots": 3,
"rules_file_id": null,
"rules_file_name": null,
"rules_file_original_name": null,
"slot": 15,
"time_zone": {
"id": "Europe/Warsaw",
"offset": "+02:00",
"offset_minutes": 120
}
}
},
"reference_number": "DS/E8CB095/1",
"second_driver": null,
"stage": null,
"status": "CONFIRMED",
"vehicle": {
"combustion_norm": null,
"trailer_plate_number": null,
"truck_plate_number": "dwr123",
"vehicle_manufacturer": null,
"weight": null
}
}