Get driver status by driver number.
Retrieves a specified driver’s current status. The returned response is restricted to the REVEAL account’s data plan; if the driver’s current status is outside of the data plan, a 404 Not Found response is returned.
Path Parameters
The unique driver number to retrieve the status for.
Response
application/json
Response
Successfully retrieved the driver’s current status.
DriverStatus
A driver’s current status as tracked within the REVEAL account.
The Driver Status Type Code string value that will be displayed as reference within REVEAL where available.
Example:Clock In
A string field provided by the integration user to provide context for the Driver Status Type Code to be referenced.
Example:Working Time
The unique Driver Number the status is associated with.
Example:710
The DriverStatusType the request content must map to. At this time, only PunchIn and PunchOut driver status information data will display within the REVEAL designated reports to show punch in and out data. Integration users can send additional driver statuses available within REVEAL, 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 will display as shown in the samples.
Allowed values:NotSetNonePunchInPunchOutLunchStartLunchEndBreakStartBreakEnd
Example:PunchIn
The date and time the status was applied to the referenced Driver Number.
Example:2016-12-22T09:29:36.513
DriverStatusRequest
objectThe payload used to apply a status to a driver.
The Driver Status Type Code string value that will be displayed as reference within REVEAL where available.
Example:Clock In
The unique Driver Number the status is being applied to.
Example:100096
The date and time the status was applied to the referenced Driver Number. If omitted, the current UTC time is used.
Example:2016-12-21T19:29:36.513
DriverStatus
objectA driver’s current status as tracked within the REVEAL account.
The Driver Status Type Code string value that will be displayed as reference within REVEAL where available.
Example:Clock In
A string field provided by the integration user to provide context for the Driver Status Type Code to be referenced.
Example:Working Time
The unique Driver Number the status is associated with.
Example:710
The DriverStatusType the request content must map to. At this time, only PunchIn and PunchOut driver status information data will display within the REVEAL designated reports to show punch in and out data. Integration users can send additional driver statuses available within REVEAL, 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 will display as shown in the samples.
Allowed values:NotSetNonePunchInPunchOutLunchStartLunchEndBreakStartBreakEnd
Example:PunchIn
The date and time the status was applied to the referenced Driver Number.
Example:2016-12-22T09:29:36.513
ErrorResponse
objectGeneric error response. The documentation does not define an explicit error body schema.
A human-readable description of the error.
DriverStatusType
stringThe DriverStatusType the request content must map to. At this time, only PunchIn and PunchOut driver status information data will display within the REVEAL designated reports to show punch in and out data. Integration users can send additional driver statuses available within REVEAL, 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 will display as shown in the samples.
Allowed values:NotSetNonePunchInPunchOutLunchStartLunchEndBreakStartBreakEnd