Approve a timelog as a driver(amend)
Timelogs
PUT approve_as_driver timelog(amend)
Endpoint
PUT /api/v1/timesheets/:timesheet_id/timelogs/:id/approve_as_driver
Request
Route
PUT /api/v1/timesheets/184/timelogs/218/approve_as_driver
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjE0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjE5LCJleHAiOjE3NTU4NTgyMTksImp0aSI6IjVkMDNmZWI4LTNmN2YtNGM5MS1hOGRkLTAxYzZmZmZmYzcwZSJ9.ORDIhyflG8pTJAXxk2fRG_zUDq9Km8vNubdOFqIp0IM
Host: example.org
Cookie:
Body
{
}
Response
Simulated Response
Status
200
Headers
x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"0070468aa6ee76cbec9727290399a72b"
cache-control: max-age=0, private, must-revalidate
x-request-id: 9e5e13e4-4a85-4e3c-91fb-3e22cff1f221
x-runtime: 0.082843
content-length: 169
Body
{
"timelog": {
"id": 219,
"amend_status": "approved",
"breaks": [
],
"duration": {
"hours": 8,
"minutes": 1
},
"end_at": "2025-07-23T18:23:39.058Z",
"start_at": "2025-07-23T10:22:39.058Z"
}
}