Error

object

Generic error response. The documentation does not define an explicit error body schema.

messagestring

A human-readable description of the error.

Example

DriverResource

object

A driver together with related API links.

Driverobjectrequired

A driver record within a REVEAL account.

Show Child Parameters
Linksobjectrequired

Always returned. Href values are empty strings when the driver has no Driver Number.

Show Child Parameters
Example

Driver

object

A driver record within a REVEAL account.

CreatedDateUTCstring(date-time)required

The date the driver was created within the REVEAL account.

Example:2016-08-08T17:51:04.093

DriverNumberstringrequired

The Driver Number is the unique identifier that will be used to reference the driver within the API. The Driver Number is not a mandatory field within the REVEAL account, but is required for the API.

Example:100096

EmailAddressstringrequired

The email address for the driver. The driver email address is optional. It is mandatory for utilizing driver related applications such as the Field App or LogBook. A driver’s email address must be unique within an account.

Example:user@example.com

FirstNamestringrequired

The first name of the driver.

Example:Chris

LastNamestringrequired

The last name of the driver.

Example:Abernathy

EnableMobileAccessbooleanrequired

Boolean field for true or false. Default is false. True indicates the driver will have access to mobile applications.

Default:false

PhoneNumberstringrequired

The phone number for the driver.

Example:5551234567

DriverIdintegerrequired

An integer that serves as a primary key, uniquely identifying each record in the table.

Example:1

Example

DriverWrite

object

Driver payload used to create (POST) a driver record.

DriverNumberstringrequired

The Driver Number, the unique identifier used to reference the driver within the API.

Example:100096

EmailAddressstring

The email address for the driver. Must be unique. 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. Default is false.

Default:false

PhoneNumberstring

The phone number for the driver.

Example:5551234567

Example

DriverUpdate

object

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

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

PhoneNumberstring

The phone number for the driver.

Example:5551234567

Example