Change booking date and place

This method allows you to change book­ing date and place on Dock Sched­uler announce­ments.

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/{annoucementID}/slot
  • Http Method: PATCH

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

{
  "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
    }
}