Update timesheet(Clock Out)
Timesheets
PUT clock out
Endpoint
PUT /api/v1/timesheets/:id
Request
Route
PUT /api/v1/timesheets/194
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjI1Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTQ3LCJleHAiOjE3NDUwNTY5NDcsImp0aSI6Ijc5YzczMjhmLTdlNTQtNGFlYy1hNmY2LTIyMjk0ZWYxMjI3NSJ9.JZmmtpJFd1LXK8ccx0EvQR-oJ-qRm3QI91mHhZaAAfs
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/"96c3dc222ec112bf6df5a279c3e38339"
cache-control: max-age=0, private, must-revalidate
x-request-id: 51ef5534-12f3-44ae-989a-fdfafe72592e
x-runtime: 0.017719
content-length: 325
Body
{
"timesheet": {
"id": 194,
"date": "2025-03-20",
"job_number": 8658354,
"job_title": "Customer Legal Administrator",
"payment_state": "pending",
"status": "pending",
"timelog": {
"id": 216,
"amend_status": "original",
"breaks": [
],
"duration": {
"seconds": 0
},
"end_at": "2025-03-20T10:02:27.154Z",
"start_at": "2025-03-20T10:02:27.140Z"
},
"total": "0.0"
}
}