Appeal a timelog(amend)
Timelogs
PUT appeal timelog (amend)
Endpoint
PUT /api/v1/timesheets/:timesheet_id/timelogs/:id/appeal
Request
Route
PUT /api/v1/timesheets/173/timelogs/192/appeal
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTY0Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTg2LCJleHAiOjE3NDAxNDM1ODYsImp0aSI6ImE5ZDQ0ZWNiLWZmY2QtNDE3Ni05MzhlLWJmZjYzYzA1ZWFlZCJ9.72VWQ7tH8JP2rMb6XiIGXafQXDdXr_73ypC-1FQNShA
Host: example.org
Cookie:
Body
{
"timelog": {
"comment": "I disagree with this timelog"
}
}
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/"d402ba5b1bc7003a700bb55c62ac0b34"
cache-control: max-age=0, private, must-revalidate
x-request-id: 8eaf9b93-deb4-465c-89f1-630f22e3528e
x-runtime: 0.036008
content-length: 210
Body
{
"timelog": {
"id": 193,
"amend_status": "appealed",
"breaks": [
],
"comment": "I disagree with this timelog",
"duration": {
"hours": 8,
"minutes": 1
},
"end_at": "2025-01-22T21:13:06.692Z",
"start_at": "2025-01-22T13:12:06.692Z"
}
}