1.0OAS 3.0

The Driver Status Options REST Service is included within the REVEAL Driver Activity API suite. Integrated customers and partners can leverage this API to list and create the driver statuses available within a REVEAL account.

This API will use the following unique identifier(s): Code, which is unique within a REVEAL account. Standard REST verbs are applied: GET, POST.

API Base URL
  • Server 1:https://api.us.vzconnect.com

Driver Status Options API

Operations for retrieving the driver status options configured for a REVEAL account and creating new ones.

List available driver status options.

Retrieves all available Driver Statuses previously created for a REVEAL account. All options are returned regardless of when they were created.

get
https://api.us.vzconnect.com/da/v1/driverstatusoptions

Response

application/json

Successfully retrieved the list of available driver status options.

An available driver status option configured within the REVEAL account.

Descriptionstring

A string field provided by the integration user to provide context for the Driver Status Type Code to be referenced.

Example:Working Time

Codestring

The Driver Status Type Code string value that will be displayed as reference within REVEAL where available.

Example:Clock In

DriverStatusTypestring

The DriverStatusType the request content must map to. Each option maps to the following enumerator value: NotSet = 0, None = 1, PunchIn = 2, PunchOut = 4, LunchStart = 8, LunchEnd = 16, BreakStart = 32, BreakEnd = 64, All = 127. At this time, only PunchIn and PunchOut driver status information data will display within the REVEAL designated reports. Integration users can send additional driver statuses, but only Punch In and Out statuses will be shown within the UI. When a POST is made successfully, the enumerator value that the Driver Status Type is mapped to is returned.

Allowed values:NotSetNonePunchInPunchOutLunchStartLunchEndBreakStartBreakEndAll

Example:PunchOut

CreatedDateUtcstring(date-time)

The date the Driver Status Type Code was created within the REVEAL account and made available for use to apply to a driver status activity.

Example:2016-12-21T19:29:36.513Z

 
application/json