Timelogs

Appeal a timelog(amend)

PUT appeal timelog (amend)

Endpoint

PUT /api/v1/timesheets/:timesheet_id/timelogs/:id/appeal

Request

Route

PUT /api/v1/timesheets/184/timelogs/218/appeal

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjEzIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQ4NTE2NTMzLCJleHAiOjE3NTExMDg1MzMsImp0aSI6IjYxMWYxYjNhLWMxNDgtNDNjNy05YWJhLTZlZGZmNjM4ZjU5YyJ9.ltZLh8fBU0_F4t3jRno0IpPtehILM50LleGg5zaupwA
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/"9c356a17c457362fbfea1b7607764d1d"
cache-control: max-age=0, private, must-revalidate
x-request-id: 7f370ed0-9ab4-4780-90aa-6b08a18b180b
x-runtime: 0.034685
content-length: 210

Body

{
  "timelog": {
    "id": 219,
    "amend_status": "appealed",
    "breaks": [

    ],
    "comment": "I disagree with this timelog",
    "duration": {
      "hours": 8,
      "minutes": 1
    },
    "end_at": "2025-05-29T19:02:13.315Z",
    "start_at": "2025-05-29T11:01:13.315Z"
  }
}