Skip to content

/fleet/hos_logs_summary not updated in documentation #132

@davidcmoody

Description

@davidcmoody

/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

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