Get list of existing warehouses.

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
  • Http Method: GET

Headers

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

Available filters

List of available filters:

  • search (?filter={“search”:”Wro”})
  • warehouse_ids (?filter={“warehouse_ids”:[11,22]})
  • is_warehouse_locked (?filter={“is_warehouse_locked”: false})
  • is_warehouse_active (?filter={“is_warehouse_active”: true})
  • operation_type (?filter={“operation_type”: ”LOADING”})

Example of use:

https://api.platform.trans.eu/dock-scheduler-api/v1/warehouse?filter={“search”:”Wro”}

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": 45,
        "time_zone": {
            "id": "Europe/Warsaw",
            "offset": "+02:00"
        }
    },
    {/next warehouse},
    ]