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.eyJzdWIiOiIxNjM1Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDcyLCJleHAiOjE3NjM1NDI0NzIsImp0aSI6IjkxZjM3YTg2LTBiYzQtNDZmYy1hOGQ5LTRlYWMzZmQzMjlhMSJ9.kuGGLSyuIMTVjxoTTcKijHTStICVYv_X7UrMhLC60qU
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/"5b626bdc1d34d4250fb02bfb0e7b3bf8"
cache-control: max-age=0, private, must-revalidate
x-request-id: 1fb88b70-ca26-45ca-a364-9b27e955cbab
x-runtime: 0.015257
content-length: 335

Body

{
  "timesheet": {
    "id": 195,
    "currency": "GBP",
    "date": "2025-10-20",
    "job_number": 94623325,
    "job_title": "Marketing Specialist",
    "payment_state": "pending",
    "status": "pending",
    "timelog": {
      "id": 236,
      "amend_status": "original",
      "breaks": [

      ],
      "duration": {
        "seconds": 0
      },
      "end_at": "2025-10-20T08:54:32.733Z",
      "start_at": "2025-10-20T08:54:32.719Z"
    },
    "total": "0.0"
  }
}