DriverStatusOptionResponse
objectThe 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”).
A string field provided by the integration user to provide context for the Driver Status Type Code to be referenced.
Example:None Working Time
The Driver Status Type Code string value that will be displayed as reference within REVEAL where available.
Example:Clock Out
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
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
ErrorResponse
objectError response returned with a 400 or 500 status.
A human-readable description of the error.
DriverStatusOptionRequest
objectThe payload used to create a driver status option within a REVEAL account.
The Driver Status Type Code string value that will be displayed as reference within REVEAL where available.
Example:Clock Out
A string field provided by the integration user to provide context for the Driver Status Type Code to be referenced.
Example:None Working Time
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
DriverStatusType
stringThe 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
DriverStatusOption
objectAn available driver status option configured within the REVEAL account.
A string field provided by the integration user to provide context for the Driver Status Type Code to be referenced.
Example:Working Time
The Driver Status Type Code string value that will be displayed as reference within REVEAL where available.
Example:Clock In
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
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