---
title: "Update a resource timesheet"
method: PATCH
path: "/v1/resources/{resourceId}/timesheets/{timesheetId}"
tags: ["Timesheets"]
---

# Update a resource timesheet

`PATCH /v1/resources/{resourceId}/timesheets/{timesheetId}`

## Request

- Base URL: `https://api.bigchange.com`
- URL: `https://api.bigchange.com/v1/resources/{resourceId}/timesheets/{timesheetId}`
- Auth: HTTP bearer

Update the details of a single resource timesheet (required scope resources:write)

## Path parameters

- `resourceId` integer, required
- `timesheetId` integer, required

## Headers

- `Customer-Id` integer, required

## Request body

- UpdateTimesheetModel: Model used to update a resource timesheet. At least one optional field must be provided
  - `startedAt` string, date-time: The updated clock-in timestamp<br/><br/>Optional: Omit to retain current value
  - `endedAt` string, date-time, nullable: The updated clock-out timestamp<br/><br/>Optional: Omit to retain current value or provide null to unset
  - `status` 'unsigned' | 'signed' | 'queried' | 'rejected' | 'approved' | 'paid': The status of a resource timesheet.<p>Possible values:</p><ul><li><b>unsigned</b>: The timesheet has not yet been signed by the resource.</li><li><b>signed</b>: The timesheet has been signed by the resource.</li><li><b>queried</b>: The timesheet has been queried and requires review.</li><li><b>rejected</b>: The timesheet has been rejected.</li><li><b>approved</b>: The timesheet has been approved.</li><li><b>paid</b>: The timesheet has been paid.</li></ul>

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Content
- `500`: Internal Server Error

---

[API](https://skmtc.dev/bigchange/apis/bigchange-dx.md) - [All operations](https://skmtc.dev/bigchange/apis/bigchange-dx/llms.txt) - [OpenAPI document](https://skmtc.dev/bigchange/apis/bigchange-dx/revisions/b262bfdb1dd0?raw)
