Get werehouse by ID

Get exist­ing ware­house by Warehouse_ID.

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/warehouse/{Warehouse_id}
  • 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}

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": 14532,
      "is_active": true,
      "is_locked": false,
      "name": "Rampa_11",
      "operation_type": "any",
      "ramp_type": "RAMP"
    },
    {
      "id": 14533,
      "is_active": true,
      "is_locked": false,
      "name": "Rampa_2B",
      "operation_type": "any",
      "ramp_type": "RAMP"
    }
  ],
  "time_zone": {
    "id": "Europe/Warsaw",
    "offset": "+01:00"
  }
}