api-docs icon indicating copy to clipboard operation
api-docs copied to clipboard

Driver HOS daily logs

Open davidcmoody opened this issue 7 years ago • 0 comments

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

davidcmoody avatar May 30 '18 14:05 davidcmoody