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.
schema_versionintegerRequired
driver_idstringRequired
datestringRequiredformat: "date"
hours_workeddouble or nullOptional0-24
miles_drivendouble or nullOptional>=0

Response

Successful Response
schema_versioninteger
driver_idstring
datestringformat: "date"
org_idstring

Must be a string starting with org_

created_at_timestampdatetime
created_by_user_idstring

Must be a string starting with user_

updated_atdatetime
_idstring
hours_workeddouble or null0-24
miles_drivendouble or null>=0

Errors

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