Get existing warehouse by Warehouse_ID.

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/warehouse/{Warehouse_id}
  • Http Method: GET

Headers

  • Accept: application/json
  • Content-type: application/json
  • Authorization: Bearer {access_token}
  • Api-key: {unique_app_api-key}

Example request

GET https://api.platform.trans.eu/dock-scheduler-api/v1/warehouse/29

Example response

{
    "address": {
        "coordinates": {
            "latitude": 90,
            "longitude": 999
        },
        "country": "pl",
        "locality": "Warszawa",
        "name": "Magazyn_jeden",
        "number": "12",
        "postal_code": "00-950",
        "remarks": null,
        "street": "Nowa"
    },
    "id": 29,
    "is_active": true,
    "is_locked": false,
    "name": "Magazyn_jeden",
    "operation_time": 15,
    "ramps": [
        {
            "id": 96,
            "is_active": true,
            "is_locked": false,
            "name": "Rampa_11 1",
            "operation_type": "any",
            "ramp_type": "RAMP"
        },
        {/list of ramps}
    ],
    "time_zone": {
        "id": "Europe/Warsaw",
        "offset": "+01:00"
    }
}