Get list of existing vehicles

Get list of existing vehicles.

Authorization and access

Authorization process is described here. Each API request must also consist of unique Api-key obtained during application registration together with client_id and client_secret.

For accessing freights API no additional scopes are set, therefore the scope parameter can be left empty.

Query parameters

  • URL: https://api.platform.trans.eu
  • Endpoint: /ext/fleet-api/v1/vehicles
  • Http Method: GET

Headers

  • Accept: application/json
  • Content-type: application/json
  • Authorization: Bearer {access_token}
  • Api-key: {unique_app_api-key}

Example response

{
   "page" : 1,
   "page_count" : 5,
   "page_size" : 15,
   "vehicles" : [
    {
       "id" : 60006,
       "kind" : "lorry",
       "manufacturer" : "VOLVO",
       "model" : "PC1000",
       "name" : null,
       "registration_plate_number" : "DTR 1234",
       "type" : "isotherm",
       "vin" : "234ggjhk342342k234",
       "specifications" : {
         "cargo_capacity" : {
           "unit_code" : "TNE",
           "value" : null
        },
         "pallets" : {
           "amount" : 5,
           "type" : "example"
        }
      }
    }
  ]
}