Get list of existing vehicles

Get list of exist­ing vehi­cles.

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/fleet-api/v1/ve­hi­cles
  • 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 response

{
  "page": 1,
  "page_count": 5,
  "page_size": 10,
  "total_items": 45,
  "vehicles": [
    {
      "id": 45101,
      "kind": "lorry",
      "manufacturer": "VOLVO",
      "model": "F10",
      "name": null,
      "registration_plate_number": "D000000",
      "specifications": {
        "cargo_space_capacity": 24,
        "combustion_norm": "EURO 6",
        "pallets": {
          "amount": 5,
          "type": "europalette"
        }
      },
      "type": "food-tanker",
      "vehicle_id": "207fcf0e-3afc-4d6f-b4d2-bbe772e82199",
      "vin": "123456789101112"
    },
    {
      "next_vehicle_example": "next_vehicle_example"
    }
  ]
}

Paging

When call­ing GET method, page should be added as para­me­ter in the URL, for exam­ple:

GET https://api.platform.trans.eu/ext/fleet-api/v1/vehicles?page=4