Retrieve duty status history for a driver.
Retrieves a driver’s duty status, vehicle and driver information for a 24-hour period. The user must provide a valid Driver Number along with a Start Date and Time. The response includes the LogBook status entries from the start date and time value entered up to 24 hours later, in chronological order, together with a count and links. Hourly and violation records are not included. The Start Date and Time must be within 6 months of the current date of the request being made. If there are no entries for the period, the response is still 200 with a Count of 0 and only the _links object.
Query Parameters
The start date and time (UTC) of the 24-hour period to retrieve, for example 2017-06-20T19:35:24. Must be within 6 months of the current date of the request. If the value is missing, cannot be parsed as a date and time, or is older than 6 months, a 400 error is returned.
Example:2017-06-20T19:35:24.46
Path Parameters
Driver Number is the unique identifier for Drivers created within REVEAL. If the provided Driver Number does not exist within the REVEAL account, a 404 error is returned.
Example:99
Response
application/json
Response
Successfully retrieved the driver’s duty status history.
LogbookStatusHistoryResponse
LogBook status history for a driver over a 24-hour period.
The number of status entries returned in _embedded.HosStatuses.
Example:1
Supplemental API links available for additional reference.
Show Child Parameters
The status entries for the period. Omitted when no entries exist for the period.
Show Child Parameters
LogbookStatusHistory
objectA single LogBook status entry for a driver, including the distance in km driven during the status.
The distance in kilometers driven during this status, calculated from the odometer reading at the start of this status to the odometer reading at the start of the next status (or the first reading of the following day for the last entry). Only calculated for Driving statuses on the same vehicle; 0 otherwise or when no valid odometer readings are available.
Example:12.5
The driver’s duty status, either entered by the driver through the LogBook App or proposed by an admin within the REVEAL account. Returned as the status name: OffDuty, Driving (on duty and driving, set automatically when the vehicle is driven), OnDutyNotDriving (logging Hours of Service but not driving), SleeperBerth (in the sleeper cabin, not driving) and, in rare cases, NoStatus or Diagnostic.
Example:OnDutyNotDriving
The sub status applied to the main status in the LogBook App. Returned as the sub status name. Driving: DrivingNoSubStatus. OnDutyNotDriving: OnDutyNotDrivingNoSubStatus, OnDutyNotDrivingYardMoves, OnDutyNotDrivingFueling, OnDutyNotDrivingInspection, OnDutyNotDrivingLoad, OnDutyNotDrivingUnload, OnDutyNotDrivingFerryCrossing, OnDutyNotDrivingUnregulatedDrivingStart, OnDutyNotDrivingUnregulatedDrivingStop. OffDuty: OffDutyNoSubStatus, OffDutySplitBreak1, OffDutySplitBreak2, OffDutyDailyReset, OffDutyWeeklyReset, OffDuty30MinBreak, OffDutyPersonal, OffDutyPrivacy, OffDutyWaitingTime. SleeperBerth: SleeperBerthNoSubStatus, SleeperBerthSplitBreak1, SleeperBerthSplitBreak2, SleeperBerthDailyReset, SleeperBerthWeeklyReset, SleeperBerth30MinBreak. NoSubStatus is returned when no sub status applies.
Example:OffDuty30MinBreak
The timestamp of the status change. Taken from the device time and sent to REVEAL as a UTC time.
Example:2017-06-20T19:35:24.46
Length of time (in seconds) for the status. For the first entry in the response this is the stored status duration; for later entries it is the number of seconds between the previous entry’s StatusDateTimeUTC and this entry’s StatusDateTimeUTC.
Example:88
The timestamp value for when the updated Status was received by REVEAL.
Example:2017-06-20T19:35:24.45
Reference identifier(s) associated with the trailer entered within the LogBook App. A stored value is split on spaces, so an individual reference cannot contain a space.
Example:999999
Reference number/identifier(s) associated with shipping stops for a particular vehicle entered in the LogBook app. A stored value is split on spaces, so an individual reference cannot contain a space.
Example:8888888
Additional comments related to the status update that is entered within the LogBook App. Null when no remark was entered.
The address related to the location entered within the LogBook app for when the status was updated or changed. Contains the global standards for address components. May be null when no address is available.
Show Child Parameters
The individual who most recently modified the LogBook Status, in the form ‘Last updated by ’. Null when the status has not been modified or the modifying user cannot be resolved.
Example:Last updated by Test User
Driver Number is the unique identifier for Drivers created within REVEAL. If the provided Driver Number does not exist within the REVEAL account, a 404 error is returned.
Example:99
The first name of the driver as recorded within the REVEAL vehicle profile.
Example:Driver First Name
The last name of the driver as recorded within the REVEAL vehicle profile.
Example:Driver Last Name
Vehicle Number is the unique identifier for Vehicles created within REVEAL. Null when no vehicle is associated with the status.
Example:85
The Vehicle Name as recorded within the REVEAL vehicle profile. Null when no vehicle is associated with the status.
Example:Vehicle 85
Time Remaining Since Last Status, in minutes. Daily Driving Minutes: the time this driver has left to drive today, at the point the status change was struck, before they get a violation. Daily On Duty Minutes: the time this driver has left on duty today, at the point the status change was struck. Values default to 0 when the information is not available.
Show Child Parameters
Time Used Since Last Reset, in minutes. Daily Driving Minutes: the total time the driver has driven today since the last daily reset. Daily On Duty Minutes: the total on-duty time since the last daily reset. Values default to 0 when the information is not available.
Show Child Parameters
Supplemental API links available for additional reference.
Show Child Parameters
LogbookStatus
objectCurrent LogBook status for a driver. When the driver has no status within the last 6 months, only _links.current is returned and all other properties are absent.
The driver’s duty status, either entered by the driver through the LogBook App or proposed by an admin within the REVEAL account. Returned as the status name: OffDuty, Driving (on duty and driving, set automatically when the vehicle is driven), OnDutyNotDriving (logging Hours of Service but not driving), SleeperBerth (in the sleeper cabin, not driving) and, in rare cases, NoStatus or Diagnostic.
Example:OnDutyNotDriving
The sub status applied to the main status in the LogBook App. Returned as the sub status name. Driving: DrivingNoSubStatus. OnDutyNotDriving: OnDutyNotDrivingNoSubStatus, OnDutyNotDrivingYardMoves, OnDutyNotDrivingFueling, OnDutyNotDrivingInspection, OnDutyNotDrivingLoad, OnDutyNotDrivingUnload, OnDutyNotDrivingFerryCrossing, OnDutyNotDrivingUnregulatedDrivingStart, OnDutyNotDrivingUnregulatedDrivingStop. OffDuty: OffDutyNoSubStatus, OffDutySplitBreak1, OffDutySplitBreak2, OffDutyDailyReset, OffDutyWeeklyReset, OffDuty30MinBreak, OffDutyPersonal, OffDutyPrivacy, OffDutyWaitingTime. SleeperBerth: SleeperBerthNoSubStatus, SleeperBerthSplitBreak1, SleeperBerthSplitBreak2, SleeperBerthDailyReset, SleeperBerthWeeklyReset, SleeperBerth30MinBreak. NoSubStatus is returned when no sub status applies.
Example:OffDuty30MinBreak
The timestamp of the status change. Taken from the device time and sent to REVEAL as a UTC time.
Example:2017-06-20T19:35:24.46
Length of time (in seconds) the current status has been in effect, as stored when the status was last updated.
Example:88
The timestamp value for when the updated Status was received by REVEAL.
Example:2017-06-20T19:35:24.45
Reference identifier(s) associated with the trailer entered within the LogBook App. A stored value is split on spaces, so an individual reference cannot contain a space.
Example:999999
Reference number/identifier(s) associated with shipping stops for a particular vehicle entered in the LogBook app. A stored value is split on spaces, so an individual reference cannot contain a space.
Example:8888888
Additional comments related to the status update that is entered within the LogBook App. Null when no remark was entered.
The address related to the location entered within the LogBook app for when the status was updated or changed. Contains the global standards for address components. May be null when no address is available.
Show Child Parameters
The individual who most recently modified the LogBook Status, in the form ‘Last updated by ’. Null when the status has not been modified or the modifying user cannot be resolved.
Example:Last updated by Test User
Driver Number is the unique identifier for Drivers created within REVEAL. If the provided Driver Number does not exist within the REVEAL account, a 404 error is returned.
Example:99
The first name of the driver as recorded within the REVEAL vehicle profile.
Example:Driver First Name
The last name of the driver as recorded within the REVEAL vehicle profile.
Example:Driver Last Name
Vehicle Number is the unique identifier for Vehicles created within REVEAL. Null when no vehicle is associated with the status.
Example:85
The Vehicle Name as recorded within the REVEAL vehicle profile. Null when no vehicle is associated with the status.
Example:Vehicle 85
Time Remaining Since Last Status, in minutes. Daily Driving Minutes: the time this driver has left to drive today, at the point the status change was struck, before they get a violation. Daily On Duty Minutes: the time this driver has left on duty today, at the point the status change was struck. Values default to 0 when the information is not available.
Show Child Parameters
Time Used Since Last Reset, in minutes. Daily Driving Minutes: the total time the driver has driven today since the last daily reset. Daily On Duty Minutes: the total on-duty time since the last daily reset. Values default to 0 when the information is not available.
Show Child Parameters
Supplemental API links available for additional reference. The current link is always returned; driver, vehicle and logbooksettings are returned only when the driver has a status in the last 6 months.
Show Child Parameters
DailyTime
objectDaily driving minutes.
Example:45
Daily on duty minutes.
Example:15
Address
objectThe address related to the location entered within the LogBook app for when the status was updated or changed. Contains the global standards for address components. May be null when no address is available.
Location specific identification such as a house number.
Example:31500 Bainbridge Rd
Additional information to identify location such as an apartment number.
City, town, etc.
Example:Solon
State, province, etc.
Example:OH
Postal code.
Example:44139
Country.
Example:USA