VehiclePrimaryGroup

object

A vehicle’s primary group, as returned by the GET primary group method.

VehicleNumberstring

The Vehicle Number used in the request.

Example:890001

PrimaryGroupNamestring

The name of the vehicle’s primary group.

Example:North Region

PrimaryGroupIdstring

The Group ID of the vehicle’s primary group; the unique identifier assigned when creating and modifying groups within REVEAL’s Admin section.

Example:12345

Example

PrimaryGroupUpdateRequest

object

Request body to update a vehicle’s primary group.

PrimaryGroupIdstringrequired

The Group ID that corresponds to the Primary Group the vehicle is being added to. This is the unique identifier assigned when creating and modifying groups within REVEAL’s Admin section.

Example:12345

Example

HoursOfUseUpdateRequest

object

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

MinutesOfUseinteger

The minutes of use for the vehicle.

Example:6050

AsOfstring(date-time)required

The As Of date and timestamp for the hours of use. Must be less than 30 days in the past.

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

Example

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