Get vehicle offer by id

Allows to get details of sin­gle vehi­cle offer

Url parameters and connection settings

  • URL: https://api.platform.trans.eu
  • End­point: /ext/vehicles-api/v1/vehicles/{id}
  • Method: GET

Headers:

  • Con­tent-type: application/json
  • Accept: application/json
  • Autho­riza­tion: Bear­er {access_token}
  • Api-key: {unique_ap­p_api-key}

Authorization

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.

Impor­tant!
Weight is always rep­re­sent­ed in tonnes.
Height, length and width are always rep­re­sent­ed in meters.
Vol­ume is always rep­re­sent­ed in cubic meters.

Response example

{
  "created_at": "2021-03-05T09:05:35+00:00",
  "expiration_date": "2021-03-08T23:59:59+02:00",
  "id": "ABCBNBKA38TQ2HSTT5YNT123456",
  "offer_id": 202343637,
  "status": "active",
  "vehicle": {
    "adr_classes": [],
    "available_on": {
      "begin": "2021-03-05T11:10:36+02:00",
      "end": "2021-03-08T23:59:59+02:00"
    },
    "available_ways_of_loading": [],
    "cargo": {
      "capacity": 24
    },
    "equipment": [],
    "has_adr": false,
    "has_hds": false,
    "has_lift": false,
    "loading_place": {
      "address": {
        "country": "pl",
        "locality": "Wroclaw",
        "postal_code": "00-000"
      },
      "coordinates": {}
    },
    "size": "solo",
    "truck_body": "cooler",
    "unloading_place": {
      "address": {
        "country": "de",
        "locality": "Berlin",
        "postal_code": "00-000"
      },
      "coordinates": {}
    },
    "unloading_places": [
      {
        "address": {
          "country": "de",
          "locality": "Berlin",
          "postal_code": "00-000"
        },
        "coordinates": {}
      }
    ]
  }
}