driver-history

Get Driver History

Get monthly km totals, derived from the driver's frozen routes (bucketed by drive_date month). Rules:

  • No year, no month: return all months with activity
  • Year only: return all months for that year
  • Year + month: return specific month
  • Month without year: 400 error
get/api/drivers/{driver_id}/history/

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Path parameters

driver_idstring uuid required

Query parameters

yearinteger nullable
monthinteger nullable

Response

Successful Response

driver_idstring uuid required
kmnumber required
monthinteger required
yearinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.