Get time window by id

This method allows you to get sin­gle time win­dow details

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/timeWindow/{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}

Response body example

{
  "carrier": {
    "id": 1013865,
    "legal_name": "Firma Testowa"
  },
  "created_at": "2021-06-16T10:07:55",
  "end_time": null,
  "external_number": "123xyz",
  "freight_order": null,
  "id": 8596,
  "operation_type": "LOADING",
  "ramps": [],
  "range_type": "CYCLE",
  "reference_number": "DS/144461A",
  "route": {
    "spots": [
      {
        "address": {
          "coordinates": {
            "latitude": 90,
            "longitude": 999
          },
          "country": "pl",
          "locality": "Warszawa",
          "name": "Magazyn_jeden",
          "number": "12",
          "postal_code": "00-950",
          "street": "Nowa"
        },
        "operations": [
          {
            "begin": null,
            "end": null,
            "operation_type": "LOADING",
            "order": 1,
            "time_window_id": 8596
          }
        ],
        "order": 1
      },
      {
        "address": {
          "coordinates": null,
          "country": null,
          "locality": null,
          "name": null,
          "number": null,
          "postal_code": null,
          "street": null
        },
        "operations": [
          {
            "begin": null,
            "end": null,
            "operation_type": "UNLOADING",
            "order": 1,
            "time_window_id": null
          }
        ],
        "order": 2
      }
    ]
  },
  "start_time": null,
  "status": "AVAILABLE",
  "valid_from": "2021-06-16",
  "valid_to": "2021-06-16",
  "warehouse": {
    "id": 29,
    "name": "Magazyn_jeden",
    "time_zone": {
      "id": "Europe/Warsaw",
      "offset": "+02:00"
    }
  }
}