Timesheets

Approve timesheets

PUT approve

Endpoint

PUT /api/v1/timesheets/approve

Parameters

Name Description
job_driver[timesheet_ids] required Array of timesheet ids

Request

Route

PUT /api/v1/timesheets/approve

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjM4Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDcyLCJleHAiOjE3NjM1NDI0NzIsImp0aSI6IjkzMzY4MzEwLWZkOGEtNGMyNi1hZjI3LTRlM2U2MDdmNzkwZCJ9.y59gLFnMDy5vHq9Hlj7QjSwgq4HAgL6f07If7D4K2Ug
Host: example.org
Cookie: 

Body

{
  "timesheet": {
    "timesheet_ids": [
      197,
      198,
      199
    ]
  }
}

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
per-page: 20
total: 3
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"cdcb77fb1956ef7fd9d79f15b4d14449"
cache-control: max-age=0, private, must-revalidate
x-request-id: 7064fabf-4d5d-4de5-8f3a-2008ac36a773
x-runtime: 0.081945
content-length: 883

Body

{
  "timesheets": [
    {
      "id": 197,
      "currency": "GBP",
      "date": "2025-10-20",
      "job_title": "Direct Banking Associate",
      "payment_state": "pending",
      "status": "approved",
      "timelog": {
        "id": 241,
        "amend_status": "approved",
        "breaks": [

        ],
        "duration": {
          "hours": 2
        },
        "end_at": "2025-10-20T10:54:32.835Z",
        "start_at": "2025-10-20T08:54:32.831Z"
      }
    },
    {
      "id": 198,
      "currency": "GBP",
      "date": "2025-10-20",
      "job_title": "Direct Banking Associate",
      "payment_state": "pending",
      "status": "approved",
      "timelog": {
        "id": 242,
        "amend_status": "approved",
        "breaks": [

        ],
        "duration": {
          "hours": 2
        },
        "end_at": "2025-10-20T10:54:32.844Z",
        "start_at": "2025-10-20T08:54:32.837Z"
      }
    },
    {
      "id": 199,
      "currency": "GBP",
      "date": "2025-10-20",
      "job_title": "Direct Banking Associate",
      "payment_state": "pending",
      "status": "approved",
      "timelog": {
        "id": 243,
        "amend_status": "approved",
        "breaks": [

        ],
        "duration": {
          "hours": 2
        },
        "end_at": "2025-10-20T10:54:32.850Z",
        "start_at": "2025-10-20T08:54:32.847Z"
      }
    }
  ]
}