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.

post
https://api.us.vzconnect.com/da/v1/driverassignments

Body

application/json

Assignment details including driver number and vehicle number.

DriverAssignmentRequestList

Details regarding a driver to vehicle assignment to be made.

DriverNumberstringrequired

Driver Number is the unique identifier for Drivers created within REVEAL. The driver must exist in the account.

Example:100096

VehicleNumberstring | null

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

StartDateUTCstring(date-time)required

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

EndDateUTCstring | null(date-time)

End date and time (UTC) of the driver to vehicle assignment. When supplied, must be later than StartDateUTC.

Example:null

Response

application/json

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).

array[string]
 
application/json

End a driver's current vehicle assignment.

Ends the specified driver’s current vehicle assignment at the supplied end time.

delete
https://api.us.vzconnect.com/da/v1/driverassignments

Body

application/json

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.

DriverNumberstringrequired

Driver Number is the unique identifier for Drivers created within REVEAL. The driver must exist in the account.

Example:100096

EndDateTimeUTCstring(date-time)required

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

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.

get
https://api.us.vzconnect.com/da/v1/driverassignments/drivers/{drivernumber}/currentassignment

Path Parameters

drivernumberstringrequired

Driver Number is the unique identifier for Drivers created within REVEAL.

Example:100096

Response

application/json

Successfully retrieved the driver’s current vehicle assignment.

CurrentAssignment

A driver to vehicle assignment and the start date/time of that assignment.

DriverNumberstringrequired

Driver Number is the unique identifier for Drivers created within REVEAL.

Example:100096

VehicleNumberstringrequired

Vehicle Number is the unique identifier for Vehicles created within REVEAL.

Example:300456

StartDateUTCstring(date-time)

Start Date UTC will reflect the time of the driver to vehicle assignment that is returned.

Example:2016-08-08T17:51:04.05

EndDateUTCstring | null(date-time)

End date and time (UTC) of the assignment. Omitted when the assignment has no end date.

Example:2016-08-09T17:51:04.05

 
application/json

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.

get
https://api.us.vzconnect.com/da/v1/driverassignments/vehicles/{vehiclenumber}/currentassignment

Path Parameters

vehiclenumberstringrequired

Vehicle Number is the unique identifier for Vehicles created within REVEAL.

Example:300456

Response

application/json

Successfully retrieved the vehicle’s current driver assignment.

CurrentAssignment

A driver to vehicle assignment and the start date/time of that assignment.

DriverNumberstringrequired

Driver Number is the unique identifier for Drivers created within REVEAL.

Example:100096

VehicleNumberstringrequired

Vehicle Number is the unique identifier for Vehicles created within REVEAL.

Example:300456

StartDateUTCstring(date-time)

Start Date UTC will reflect the time of the driver to vehicle assignment that is returned.

Example:2016-08-08T17:51:04.05

EndDateUTCstring | null(date-time)

End date and time (UTC) of the assignment. Omitted when the assignment has no end date.

Example:2016-08-09T17:51:04.05

 
application/json