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/186/timelogs/205/appeal

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTk1Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTQ2LCJleHAiOjE3NDUwNTY5NDYsImp0aSI6ImU5MDg2ODIyLWZkYTQtNGRmMS05MDQ0LTIwOGNjYWM1NTdjZSJ9.vDE0rfUwsgNztCBfAFkzk_rnlbvWR4crPYxw_e1I2gQ
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/"f0fff539f8a537f978b429d0b80cc6f7"
cache-control: max-age=0, private, must-revalidate
x-request-id: fdd158c0-c6f3-4848-b3c3-17fd222f3f40
x-runtime: 0.035366
content-length: 210

Body

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

    ],
    "comment": "I disagree with this timelog",
    "duration": {
      "hours": 8,
      "minutes": 1
    },
    "end_at": "2025-03-20T18:02:26.129Z",
    "start_at": "2025-03-20T10:01:26.129Z"
  }
}