v1

latestOpenAPI 3.1.02026-07-2617501.1 MB

View the idle events of your drivers

get/v1/idle_events

Path parameters

driver_ids[]integer[] required

Specify 1 or more driver IDs for fetching the idle events for those corresponding drivers.

vehicle_ids[]integer[] required

Specify 1 or more vehicle IDs for filtering the idle events of the drivers.

start_datestring date required

Specify the start date from when you want to fetch the utilization. Default: TODAY - 7 DAYS AGO

end_datestring date required

Specify the end date till when you want to view the idle time.

per_pageinteger required

The number of records to display per page.

page_nointeger required

Denotes the current page number.

Headers

X-Time-Zonestring

Specify the timezone for formatting the timestamps.

X-Metric-Unitsboolean

Specify if you want to use the Metric units or the Imperial units. TRUE: Metric units. FALSE: Imperial Units

X-User-Idinteger

Specify the ID of the Fleet Admin or the Fleet Manager who is accessing this endpoint.

Response

200