Vehicle

/vehicles πŸ§ͺ

GET apiURL/vehicles

Get all vehicles.

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

{
  "data": [
    {
      "uuid": "7af261ba-3fa2-11e7-b119-62ebcb67de24",
      "id_autodata": "PEU28261",
      "latitude": 41.141882,
      "longitude": -5.142031,
      "position_at": "2016-10-27T17:12:02.000Z",
      "created_at": "2017-06-29T00:00:00.000Z",
      "mileage": 316869,
      "mileage_oocar": 316869,
      "oil": null,
      "capacity": null,
      "fuel": null,
      "tank": null,
      "state": "S",
      "removed": 0,
      "protocole": null,
      "mileage_auto": 0,
      "mileage_source": null
    }
  ],
  "total": 40,
  "skip": 0,
  "limit": 1
}

/vehicle/:uuid πŸ§ͺ

GET apiURL/vehicle/:uuid

Get a vehicle by UUID.

Path Parameters

Name
Type
Description

uuid

string

Vehicle UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1

Query Parameters

Name
Type
Description

fields

string

/:uuid/trips πŸ§ͺ

GET apiURL/vehicle/:uuid/trips

Get all trips made by a vehicle.

Path Parameters

Name
Type
Description

uuid

string

Vehicle UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

/:uuid/pieces πŸ§ͺ

GET apiURL/vehicle/:uuid/pieces

Get all pieces of a vehicle.

Path Parameters

Name
Type
Description

uuid

string

Vehicle UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

/:uuid/diagnostics πŸ§ͺ

GET apiURL/vehicle/:uuid/diagnostics

Get all diagnostics pulled by a vehicle.

Path Parameters

Name
Type
Description

uuid

string

Vehicle UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

/:uuid/devices πŸ§ͺ

GET apiURL/vehicle/:uuid/devices

Get all devices attached to a vehicle.

Path Parameters

Name
Type
Description

uuid

string

Vehicle UUID ex: ee4769f4-ee48-11e8-7eb2-f9801f1b8fd1

Query Parameters

Name
Type
Description

skip

number

filter

string

orderby

string

limit

number

fields

string

Last updated

Was this helpful?