Fleet

Get details of all vehicles in the fleet

Get details of all vehicles in the fleet

get/fleet/{fleetId}

Request

  • Base URL: https://api.revvo.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.revvo.ai/fleet/{fleetId}
  • Auth: one of:
    • Bearer (a scheme the document does not define)
    • HTTP bearer

Path parameters

fleetIdstring required

Unique identifier for the fleet. Typically formatted as revvo-XXXX. This can be found in your admin / integrations / revvo API setup page

Query parameters

timestampinteger nullable

Optionally retrieve fleet data at a given point in time. Point in time is expressed as seconds since epoch. This option depends on periodic snapshots of the fleet status being saved. Closest available snapshot within a 24h period of the target timestamp will be selected. An error will occur if no snapshot is available within that 24h period

Response

A successful response

valueTimestampinteger nullable

The actual timestamp of the data returned in the value property (as seconds since epoch)

displayErrorMessagestring nullable

Get displayErrorMessage

internalErrorMessagestring nullable

Get internalErrorMessage

internalErrorCode'_1' | '_2' | '_3' | '_4'

Internal Error Code

successboolean

true

Example response

{
  "value": [
    {
      "vin": "WVGBV75N19W507096",
      "assetId": "Vehicle 1",
      "geolocation": {
        "timestamp": 1577836800,
        "latitude": 37.5550874,
        "longitude": -122.3000345
      },
      "tires": [
        {
          "timestamp": 1577836800,
          "pressure": 31.5,
          "temperature": 27.2,
          "openEvents": [
            {
              "vin": "WVGBV75N19W507096",
              "eventTime": 1577836800,
              "resolutionTime": 1577836800
            }
          ],
          "resolvedEvents": [
            {
              "vin": "WVGBV75N19W507096",
              "eventTime": 1577836800,
              "resolutionTime": 1577836800
            }
          ]
        }
      ]
    }
  ],
  "displayErrorMessage": "Error contacting servers. Please try again later.",
  "internalErrorMessage": "Failed loading tires, please contact the server team.",
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.