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

Driver HOS daily logs #24

Open
davidcmoody opened this issue May 30, 2018 · 0 comments
Open

Driver HOS daily logs #24

davidcmoody opened this issue May 30, 2018 · 0 comments

Comments

@davidcmoody
Copy link

I'm trying to pull a driver's daily log information from the API.

Currently I'm having to perform two requests to get at the level of detail I'm trying to pull.

Request 1) is to /fleet/hos_logs to get the detail log information for the driver. What I'm really interested in is knowing for a day the drivers ON_DUTY, OFF_DUTY, DRIVING, and SLEEPER time summary.
Request 2) is the /fleet/drivers/[driver_id]/hos_daily_logs to get the Miles driven on a day.

A few options I can think of that would resolve multiple requests being made:

  1. add ON_DUTY, OFF_DUTY, DRIVING, SLEEPER time summaries to "hos_daily_logs"
  2. add a "detail" section to "hos_daily_logs" and include the same level of detail as found in /fleet/hos_logs
  3. add mileage info to /fleet/hos_logs
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