Delete a driver by driver number.

Delete a driver record from a REVEAL account.

delete
https://api.us.vzconnect.com/cmd/v1/drivers/{driverNumber}

Path Parameters

driverNumberstringrequired

The Driver Number of the driver record to delete.

Example:100096

Response

Driver successfully deleted. The response has no body.

 

Update an existing driver.

Edit an existing driver within a REVEAL account. The Driver Number in the path identifies the existing driver record and cannot be changed by this call. The driver edits are included in the body of the request. PUT methods do not return an object review, only a standard HTTP status code.

put
https://api.us.vzconnect.com/cmd/v1/drivers/{drivernumber}

Path Parameters

drivernumberstringrequired

The Driver Number of the existing driver record to update.

Example:100096

Body

application/json

Driver object containing the updated driver details.

DriverUpdate

Driver payload used to edit (PUT) a driver record. The Driver Number is taken from the path and cannot be changed. All fields replace the existing values; omitted fields are cleared (EnableMobileAccess becomes false).

EmailAddressstring | null

The email address for the driver. Must be unique if changed. If several addresses are supplied, only the first is used, limited to 64 characters.

Example:user@example.com

FirstNamestring

The first name of the driver.

Example:Chris

LastNamestring

The last name of the driver.

Example:Abernathy

EnableMobileAccessboolean

True indicates the driver will have access to mobile applications. False when omitted.

Default:false

Example:false

PhoneNumberstring | null

The phone number for the driver.

Example:5551234567

Response

Driver successfully updated.

 

Retrieve key fobs assigned to a driver.

Returns the key fobs assigned to the specified driver as uppercase hexadecimal strings. Returns an empty array when the driver has no key fobs.

get
https://api.us.vzconnect.com/cmd/v1/drivers/{drivernumber}/keys

Path Parameters

drivernumberstringrequired

The Driver Number whose key fobs are requested.

Response

application/json

Successfully retrieved the driver’s key fob assignments.

KeyFobList

KeyFobListarray[string]

A list of key fob identifiers. Each id is a hexadecimal string of 8, 12 or 16 characters (12 and 16 character forms are reduced to 8). Returned ids are uppercase hexadecimal.

 
application/json

Assign a key fob to a driver.

Assign key fobs to the driver record. The key fob(s) are entered as part of the body of the request.

post
https://api.us.vzconnect.com/cmd/v1/drivers/{drivernumber}/keys

Path Parameters

drivernumberstringrequired

The Driver Number to assign key fobs to.

Body

application/json

Key fob assignment details including the key fob identifier.

KeyFobList

KeyFobListarray[string]

A list of key fob identifiers. Each id is a hexadecimal string of 8, 12 or 16 characters (12 and 16 character forms are reduced to 8). Returned ids are uppercase hexadecimal.

Response

application/json

Key fob successfully assigned to the driver.

KeyFobList

KeyFobListarray[string]

A list of key fob identifiers. Each id is a hexadecimal string of 8, 12 or 16 characters (12 and 16 character forms are reduced to 8). Returned ids are uppercase hexadecimal.

 
application/json

Remove a key fob assignment from a driver.

Delete the key fobs associated with a driver.

delete
https://api.us.vzconnect.com/cmd/v1/drivers/{drivernumber}/keys

Path Parameters

drivernumberstringrequired

The Driver Number whose key fobs are to be deleted.

Body

application/json

Key fob details identifying which key fob assignment to remove.

KeyFobList

KeyFobListarray[string]

A list of key fob identifiers. Each id is a hexadecimal string of 8, 12 or 16 characters (12 and 16 character forms are reduced to 8). Returned ids are uppercase hexadecimal.

Response

Key fob assignment successfully removed from the driver. The response has no body.