1.0OAS 3.0

[LEGACY] This API is legacy and is retained for backward compatibility. New integrations should use the current Vehicle APIs. The FleetItemId is the preferred vehicle identifier moving forward and will eventually replace VehicleId.

The Vehicle REST Service is included within the REVEAL Customer Meta Data API suite. Integrated customers and partners can leverage this API to update vehicle records within a REVEAL account.

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

Notes:

  • Users cannot CREATE or DELETE vehicles via REVEAL or the API; a vehicle record is created for every GPS tracking unit purchased and installed.
  • Vehicles marked as hidden in Reveal will not return via the Vehicle API.
  • To return information on Non-powered assets, use the Non-Powered Assets API.
API Base URL
  • Server 1:https://api.us.vzconnect.com

Vehicle API

Operations for retrieving, updating and assigning vehicles within a REVEAL account, including odometer, hours of use and primary group.

Retrieve all vehicles in the account.

Retrieve a list of vehicles within the account with additional meta data. Vehicles marked as hidden in Reveal are not returned. Non-powered assets are not returned by this method.

get
https://api.us.vzconnect.com/cmd/v1/vehicles

Query Parameters

vehicleIdsstring

Optional comma-separated list of VehicleId values. When provided, only the matching vehicles are returned.

Example:1,2,3

Response

application/json

Successfully retrieved the list of vehicles.

A vehicle record as returned by the GET Vehicle methods.

Namestring | null

The Vehicle Name as recorded within the REVEAL vehicle profile.

Example:FD 0339

VehicleNumberstring

The Vehicle Number is the unique identifier used to reference the vehicle within the API. It is not mandatory within the REVEAL account but is required for the API.

Example:33901

RegistrationNumberstring | null

Registration Number is not required within the REVEAL vehicle profile. When provided it must be unique within an account.

Example:null

VINstring | null

Vehicle Identification Number, the unique serial code provided by the automotive manufacturer for the vehicle.

Example:null

Makestring | null

The vehicle manufacturer’s brand.

Example:FORD

Yearinteger | null

The year the vehicle was manufactured.

Example:2010

Modelstring | null

The type of vehicle by the manufacturer.

Example:ECONOLINE

TankCapacitynumber | null(double)

Tank Capacity provided and referenced in liters. Not required, but a key element when using Fuel Card features.

Example:113.562353673961

HighwayMPGnumber | null(double)

Estimated Highway MPG provided by the customer, referenced in liters. Not required, but a key element when using Fuel Card features.

Example:6.72042

CityMPGnumber | null(double)

Estimated City MPG provided by the customer, referenced in liters. Not required, but a key element when using Fuel Card features.

Example:11.76073

VehicleSizeinteger

Vehicle Size classification. 0: Light Duty, 1: Medium Duty, 2: Heavy Duty, 3: Super Heavy Duty. Defaults to Light Duty.

Allowed values:123

Default:0

Example:0

HasNavigationDeviceboolean

Indicates whether the vehicle has a Garmin navigation device installed.

Example:true

FuelTypeinteger

The Fuel Type of the vehicle. 0: Not set, 1: Unleaded, 2: Diesel, 3: Electric.

Allowed values:123

Example:1

HasTachographboolean

Indicates whether the vehicle has a tachograph device installed.

Example:false

VehicleIdinteger

An integer primary key uniquely identifying each record in the table.

Example:1

FleetItemIdstring(uuid)

The unique identifier of the fleet item (vehicle). This is the preferred identifier moving forward and will eventually replace VehicleId.

Example:81b66e37-3ceb-46a8-96ca-ce31d8d1e070

 
application/json