Update report

Partially updates a driver’s self-reported hours worked and/or miles driven for a calendar day. Caller must be the driver themselves. | authz: allowed_org_types=[provider], min_org_role=driver | (DriverSelfReportedHoursAndMileageClientUpdate1) -> (DriverSelfReportedHoursAndMileage1)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

driver_idstringRequired
report_datestringRequired

Request

This endpoint expects an object.
hours_workeddoubleOptional0-24
hours_worked__set_to_NonebooleanOptionalDefaults to false
miles_drivendoubleOptional>=0
miles_driven__set_to_NonebooleanOptionalDefaults to false

Response

Successful Response
_idstring
created_at_timestampdatetime
created_by_user_idstring

Must be a string starting with user_

datestringformat: "date"
driver_idstring
org_idstring

Must be a string starting with org_

schema_versioninteger
updated_atdatetime
hours_workeddouble0-24
miles_drivendouble>=0

Errors

422
Drivers Update Self Reported Hours and Mileage V1request Unprocessable Entity Error