Vehicle

object

A vehicle record as returned by the GET Vehicle methods.

Namestring

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

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

VINstring

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

Makestring

The vehicle manufacturer’s brand.

Example:FORD

Yearinteger

The year the vehicle was manufactured.

Example:2010

Modelstring

The type of vehicle by the manufacturer.

Example:ECONOLINE

TankCapacitynumber(double)

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

Example:113.562353673961

HighwayMPGnumber(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(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

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.

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

Example

OdometerUpdateRequest

object

Request body to update a vehicle’s odometer as of a given date.

Odometernumber(double)

The odometer value, referenced in kilometers.

Example:47569

AsOfstring(date-time)required

The As Of date and timestamp for the odometer reading. Must be less than 30 days in the past.

Example:2016-09-01T00:00:00

Example

VehicleByGroup

object

A vehicle record as returned by the GET Vehicles by Group ID method.

Namestring

The Vehicle Name as recorded within the REVEAL vehicle profile.

Example:Ed's Car - 4641114658

VehicleNumberstring

The Vehicle Number is the unique identifier within the API. Not mandatory within the REVEAL account, but required for the API.

Example:4641114658

RegistrationNumberstring

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

Example:RegNumber 196213

ESNstring

ESN is used to uniquely identify a vehicle from another. It is a mandatory field for vehicle creation in Reveal.

Example:890001

FuelTypeinteger

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

Allowed values:123

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

Example

VehicleUpdateRequest

object

Request body to update a vehicle’s profile details.

Namestring

The Vehicle Name as recorded within the REVEAL vehicle profile.

Example:Vehicle 1

VehicleNumberstring

The Vehicle Number; the unique identifier used to reference the vehicle within the API.

Example:890001

RegistrationNumberstring

Registration Number. When provided it must be unique within an account.

Example:44046

VINstring

Vehicle Identification Number.

Makestring

The vehicle manufacturer’s brand.

Yearinteger

The year the vehicle was manufactured.

Modelstring

The type of vehicle by the manufacturer.

TankCapacitynumber(double)

Tank Capacity in liters.

HighwayMPGnumber(double)

Estimated Highway MPG in liters.

CityMPGnumber(double)

Estimated City MPG in liters.

VehicleSizeinteger

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

Allowed values:123

FuelTypeinteger

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

Allowed values:123

Example:1

Example