Create report

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

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
datestringRequiredformat: "date"
driver_idstringRequired
schema_versionintegerRequired
hours_workeddouble or nullOptional0-24
miles_drivendouble or nullOptional>=0

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_workeddouble or null0-24
miles_drivendouble or null>=0

Errors

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