Get warehouses list

Get list of exist­ing ware­hous­es.

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: /ex­t/­dock-sched­uler-api/v1/ware­house
  • Http Method: GET

Headers

  • Accept: application/json
  • Con­tent-type: application/json
  • Autho­riza­tion: Bear­er {access_token}
  • Api-key: {unique_ap­p_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": "next_warehouse"
  }
]