Skip to content

Driver HOS daily logs #24

@davidcmoody

Description

@davidcmoody

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions