Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/fleet/hos_logs_summary not updated in documentation #132

Open
davidcmoody opened this issue May 9, 2019 · 1 comment
Open

/fleet/hos_logs_summary not updated in documentation #132

davidcmoody opened this issue May 9, 2019 · 1 comment

Comments

@davidcmoody
Copy link

davidcmoody commented May 9, 2019

/fleet/hos_logs_summary returns different data than the example response set, provided in the documentation.

Documentation shows:
"cycleRemaining": 252000000,
"cycleTomorrow": 252000000,
"driverId": 444,
"driverName": "Fred Jacobs",
"drivingInViolationCycle": 50400000,
"drivingInViolationToday": 39600000,
"dutyStatus": "OFF_DUTY",
"shiftDriveRemaining": 39600000,
"shiftRemaining": 50400000,
"timeInCurrentStatus": 5000,
"timeUntilBreak": 28800000,
"vehicleName": "Vehicle 1"

Actually returned:
"currentDutyStatusCode":"OFF_DUTY",
"cycleRemaining":252000000,
"cycleTomorrow":252000000,
"driverId":00000,
"driverName":"Driver Name",
"driveMsToday":0,
"drivingInViolationCycle":0,
"drivingInViolationToday":0,
"onDutyMsToday":0,
"pendingDriveMsToday":0,
"pendingOnDutyMsToday":0
"shiftDriveRemaining":36000000,
"shiftRemaining":54000000,
"timeInCurrentStatus":864000000,
"timeUntilBreak":-1,
"vehicleName":"",

Differences:
dutyStatus (documentation) => actually is currentDutyStatusCode
driveMsToday is new
onDutyMsToday is new
pendingDriverMsToday is new
pendingOnDutyMsToday is new

@davidcmoody
Copy link
Author

Also, should this return "inactive" drivers as well as "active" drivers. Seems like a lot of extra data to be transfering.

What if the default was "active" drivers only, then you have a parameter to allow it to include "inactive" drivers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant