Timesheets

Update timesheet(Clock Out)

PUT clock out

Endpoint

PUT /api/v1/timesheets/:id

Request

Route

PUT /api/v1/timesheets/213

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjgyIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2NDA4LCJleHAiOjE3NjYyMTg0MDgsImp0aSI6IjRlM2I0NWRmLWE3ZjgtNDZiZS04ODNkLWQwNzAzNjgzMTUxNiJ9.hnm51uD1WwTJi30hnhTEMSHZ06FNNrGhiixapNBZAR4
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/"7da5bb36157033317c2726e0b77d06e8"
cache-control: max-age=0, private, must-revalidate
x-request-id: 21dc8bbf-f75c-4f1f-a57a-73931274e886
x-runtime: 0.012065
content-length: 325

Body

{
  "timesheet": {
    "id": 213,
    "currency": "GBP",
    "date": "2025-11-20",
    "job_number": 32185076,
    "job_title": "IT Manager",
    "payment_state": "pending",
    "status": "pending",
    "timelog": {
      "id": 257,
      "amend_status": "original",
      "breaks": [

      ],
      "duration": {
        "seconds": 0
      },
      "end_at": "2025-11-20T08:13:28.290Z",
      "start_at": "2025-11-20T08:13:28.279Z"
    },
    "total": "0.0"
  }
}