v1
latestOpenAPI 3.1.02026-07-2617501.1 MBFetch a list of the timecard entries per driver
get/v1/time_tracking/timecard_entries
Query parameters
user_ids[]integer[]
Specify the user IDs for whom you want to fetch the worked hours.
start_datestring date
Specify the start date from when you want to check the driver's worked hours. Default is "30 days ago".
end_datestring date
Specify the end date before which you want to view the driver's worked hours. Default is today's date.
per_pageinteger
The number of records to display per page.
page_nointeger
Denotes the current page number.
Response
200
Example response
{
"timecard_entries": [
{
"date": "2023-07-17",
"lat": 1.2,
"lon": 1.2,
"address": "address 1",
"notes": "notes 1",
"job_type": {
"id": 1,
"name": "job1"
},
"user": {
"id": 1033954,
"first_name": "Erik",
"last_name": "Mclaughlin",
"username": "e.mclaughlin",
"email": "e.mclaughlin@keeptruckin.com"
},
"time_zone": "Pacific Time (US & Canada)",
"duration": 60,
"start_time": "13:51",
"end_time": "13:53"
}
],
"pagination": {
"per_page": 25,
"page_no": 1,
"total": 4
}
}