DriverStatusOptionResponse

object

The response returned when a driver status option is created. Note: in the sample response the DriverStatusType is returned as the numeric enumerator value in string form (e.g. PunchOut maps to “4”).

Descriptionstring

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

Example:None Working Time

Codestring

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

Example:Clock Out

DriverStatusTypestring

The enumerator value that the Driver Status Type is mapped to, returned as a numeric string. Mapping: NotSet = 0, None = 1, PunchIn = 2, PunchOut = 4, LunchStart = 8, LunchEnd = 16, BreakStart = 32, BreakEnd = 64, All = 127.

Allowed values:01248163264127

Example:4

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:32:14.8774588Z

Example

ErrorResponse

object

Error response returned with a 400 or 500 status.

Messagestring

A human-readable description of the error.

Example

DriverStatusOptionRequest

object

The payload used to create a driver status option within a REVEAL account.

Codestringrequired

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

Example:Clock Out

Descriptionstring

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

Example:None Working Time

DriverStatusTypestringrequired

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

Example

DriverStatusType

string

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

DriverStatusOption

object

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

Example