Update a vehicle's odometer reading.
Update a vehicle’s current odometer, or odometer as of a given date. The As Of date must be less than 30 days in the past. The request body should include the Odometer (in kilometers) and the As Of date/timestamp.
Path Parameters
The Vehicle Number; the unique identifier used to reference the vehicle within the API.
Example:890001
Body
application/json
Body
Odometer data including the reading value and AsOf timestamp.
OdometerUpdateRequest
Request body to update a vehicle’s odometer as of a given date.
The odometer value, referenced in kilometers.
Example:47569
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
Response
application/json
Response
Odometer reading successfully updated.
Retrieve the primary group for a vehicle.
Retrieve the primary group associated with the given Vehicle Number.
Path Parameters
The Vehicle Number; the unique identifier used to reference the vehicle within the API.
Example:890001
Response
application/json
Response
Successfully retrieved the vehicle’s primary group.
VehiclePrimaryGroup
A vehicle’s primary group, as returned by the GET primary group method.
The Vehicle Number used in the request.
Example:890001
The name of the vehicle’s primary group.
Example:North Region
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
Update the primary group for a vehicle.
Update a vehicle’s primary group. If the Vehicle Number is currently assigned to a primary group, the vehicle will be updated to reflect the Group ID provided. The PrimaryGroupId is the Group ID assigned when creating and modifying groups within REVEAL’s Admin section.
Path Parameters
The Vehicle Number; the unique identifier used to reference the vehicle within the API.
Example:890001
Body
application/json
Body
New primary group assignment details.
PrimaryGroupUpdateRequest
Request body to update a vehicle’s primary group.
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
Response
application/json
Response
Primary group successfully updated.
VehiclePrimaryGroup
objectA vehicle’s primary group, as returned by the GET primary group method.
The Vehicle Number used in the request.
Example:890001
The name of the vehicle’s primary group.
Example:North Region
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
PrimaryGroupUpdateRequest
objectRequest body to update a vehicle’s primary group.
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