Timesheets

Update timesheet(Clock Out)

PUT clock out

Endpoint

PUT /api/v1/timesheets/:id

Request

Route

PUT /api/v1/timesheets/195

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjU2Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjIxLCJleHAiOjE3NTU4NTgyMjEsImp0aSI6ImVmNDQxNzJlLWNlNWMtNDk0OC05NGM1LWFlZjJjNzI1N2ExYiJ9.YyoSeu-4ykYxA7RxpBe2jNUT23QplO7UpQVsoedaPv4
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/"e2dc6c4944eccc0886084684259b2482"
cache-control: max-age=0, private, must-revalidate
x-request-id: 09ebc514-d95e-4d24-bf91-51721ab50486
x-runtime: 0.026738
content-length: 315

Body

{
  "timesheet": {
    "id": 195,
    "date": "2025-07-23",
    "job_number": 49670065,
    "job_title": "Internal Director",
    "payment_state": "pending",
    "status": "pending",
    "timelog": {
      "id": 236,
      "amend_status": "original",
      "breaks": [

      ],
      "duration": {
        "seconds": 0
      },
      "end_at": "2025-07-23T10:23:41.101Z",
      "start_at": "2025-07-23T10:23:41.077Z"
    },
    "total": "0.0"
  }
}