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
HoursOfUseUpdateRequest
objectRequest body to update a vehicle’s hours of use as of a given date.
The minutes of use for the vehicle.
Example:6050
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