Driver Assignment API
Operations for assigning drivers to vehicles, ending those assignments, and retrieving the current assignment of a driver or a vehicle within a REVEAL account.
Create a driver-to-vehicle assignment.
The POST Driver Assignment method enables integration users to link drivers to vehicles within a REVEAL account. The body of the request should contain the relevant details regarding the assignment(s) you wish to make, supplied as an array of assignment objects.
Body
application/json
Body
Assignment details including driver number and vehicle number.
DriverAssignmentRequestList
Details regarding a driver to vehicle assignment to be made.
Driver Number is the unique identifier for Drivers created within REVEAL. The driver must exist in the account.
Example:100096
Vehicle Number is the unique identifier for Vehicles created within REVEAL. An unknown or empty value does not cause the assignment to fail.
Example:300456
Start date and time (UTC) of the driver to vehicle assignment. Must be later than the start of the account’s data plan.
Example:2026-11-09T08:00:00
End date and time (UTC) of the driver to vehicle assignment. When supplied, must be later than StartDateUTC.
Example:null
Response
application/json
Response
The request was processed. The array has one entry per submitted assignment, in request order: the URL of the driver’s current-assignment resource if the assignment was created, otherwise a failure message. An assignment fails when its values are invalid (see the request field descriptions).
End a driver's current vehicle assignment.
Ends the specified driver’s current vehicle assignment at the supplied end time.
Body
application/json
Body
The driver whose current assignment is to be ended, and when it ended.
EndDriverAssignmentRequest
Identifies the driver whose current assignment is to be ended, and when it ended.
Driver Number is the unique identifier for Drivers created within REVEAL. The driver must exist in the account.
Example:100096
End date and time (UTC) of the assignment. Must not be in the future, must be within the account’s data plan, and no more than 7 days in the past.
Example:2026-11-09T08:00:00
Response
Response
The request was accepted. The response body is empty.
Get the current vehicle assignment for a driver.
Returns the Driver Number’s current vehicle assignment. The method will only return the current vehicle assignment for the Driver Number specified. The current vehicle assignment and the start date and time of the assignment will be included.
Path Parameters
Driver Number is the unique identifier for Drivers created within REVEAL.
Example:100096
Response
application/json
Response
Successfully retrieved the driver’s current vehicle assignment.
CurrentAssignment
A driver to vehicle assignment and the start date/time of that assignment.
Driver Number is the unique identifier for Drivers created within REVEAL.
Example:100096
Vehicle Number is the unique identifier for Vehicles created within REVEAL.
Example:300456
Start Date UTC will reflect the time of the driver to vehicle assignment that is returned.
Example:2016-08-08T17:51:04.05
End date and time (UTC) of the assignment. Omitted when the assignment has no end date.
Example:2016-08-09T17:51:04.05
Get the current driver assignment for a vehicle.
Returns the Vehicle Number’s current driver assignment. The method will only return the current driver assignment for the Vehicle Number specified. The current driver assignment and the start date and time of the assignment will be included.
Path Parameters
Vehicle Number is the unique identifier for Vehicles created within REVEAL.
Example:300456
Response
application/json
Response
Successfully retrieved the vehicle’s current driver assignment.
CurrentAssignment
A driver to vehicle assignment and the start date/time of that assignment.
Driver Number is the unique identifier for Drivers created within REVEAL.
Example:100096
Vehicle Number is the unique identifier for Vehicles created within REVEAL.
Example:300456
Start Date UTC will reflect the time of the driver to vehicle assignment that is returned.
Example:2016-08-08T17:51:04.05
End date and time (UTC) of the assignment. Omitted when the assignment has no end date.
Example:2016-08-09T17:51:04.05