1.0OAS 3.0

The Vehicle Update REST Service is included within the REVEAL Real-time Aggregated Data API suite. Integrated customers and partners can leverage this API to poll GPS and status information captured by vehicles tracked within a REVEAL account.

This API will use the following unique identifier(s): Vehicle Number. Standard REST verbs are applied: GET, POST.

Notes:

  • The current version does not support devices tracking Non-Powered Assets; no information will return for Non-Powered Assets.
  • POST methods can return location/status details for up to 100 vehicles within one call.
  • The returned response is restricted to the Reveal account’s data plan. Data outside of the data plan is treated as if it does not exist (empty or null results, or a 204 where documented); it does not return an error.
  • ECM methods require ECM-connected devices; not all ECM devices return the same feature set. GET Active DTCs checks at most 1,000 vehicles per account.
API Base URL
  • Server 1:https://api.us.vzconnect.com

Vehicle Update API

Read-only operations for retrieving the current location, status, ECM status and diagnostic trouble codes (DTCs) of one vehicle, of up to 100 vehicles, or of the whole fleet.

Get active DTCs for the fleet

Pull all active Diagnostic Trouble Codes (DTCs) across an entire REVEAL fleet. At most 1,000 vehicles of an account are checked, and which ones is not defined, so for fleets with more than 1,000 vehicles the DTCs of some vehicles may be missing. Not all ECM units may be compatible or configured to report DTCs.

get
https://api.us.vzconnect.com/rad/v1/vehicles/getvehiclesactivedtcs

Response

application/json

Successfully retrieved active DTCs. Only vehicles with at least one active DTC are included; the array is empty when no vehicle has an active DTC.

Active DTC summary for a single vehicle.

VehicleNumberstring

Unique vehicle identifier.

Example:33242526

VehicleNamestring

Display name of the vehicle.

Example:Gem2

ActiveDTCsstring

Comma-separated list of currently active DTC codes.

LastUpdatedDateTimestring | null(date-time)

UTC timestamp of the last DTC update.

Example:null

 
application/json

Get locations for multiple vehicles

Return location information for up to 100 vehicles within one call. The request body is a list of Vehicle Numbers within the referenced REVEAL account. The response may include individual status codes per vehicle.

post
https://api.us.vzconnect.com/rad/v1/vehicles/locations

Body

application/json

Array of vehicle numbers to retrieve locations for.

array[string]

Response

application/json

The request was processed. The array has one item per distinct vehicle number in the request (duplicates are returned once). Each item has a per-vehicle StatusCode: 200 when the location is available, 404 when the vehicle is not found or has no location within the account’s data plan. This response is also returned when none of the requested vehicles is found. An empty request array returns an empty array.

Wrapper containing a vehicle location result with per-vehicle status code for batch responses.

VehicleNumberstring

The vehicle number this result corresponds to.

StatusCodeinteger(int32)

HTTP status code for this individual vehicle’s result.

Allowed values:200204400401404500

ContentResourceobject

The result for this vehicle. Null when StatusCode is 404.

Show Child Parameters
 
application/json

Get statuses for multiple vehicles

Return status information for up to 100 vehicles within one call. The request body is a list of Vehicle Numbers within the referenced REVEAL account. The response may include individual status codes per vehicle.

post
https://api.us.vzconnect.com/rad/v1/vehicles/statuses

Body

application/json

Array of vehicle numbers to retrieve statuses for.

array[string]

Response

application/json

The request was processed. The array has one item per distinct vehicle number in the request (duplicates are returned once). Each item has a per-vehicle StatusCode: 200 when the vehicle is found, 404 when the vehicle is not found. This response is also returned when none of the requested vehicles is found. An empty request array returns an empty array.

Wrapper containing a vehicle status result with per-vehicle status code for batch responses.

VehicleNumberstring

The vehicle number this result corresponds to.

StatusCodeinteger(int32)

HTTP status code for this individual vehicle’s result.

Allowed values:200204400401404500

ContentResourceobject

The result for this vehicle. Null when StatusCode is 404.

Show Child Parameters
 
application/json