Restore timesheet
Timesheets
POST restore timesheet
Endpoint
PUT /api/v1/timesheets/:id/restore
Request
Route
PUT /api/v1/timesheets/208/restore
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjU4Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDczLCJleHAiOjE3NjM1NDI0NzMsImp0aSI6ImVkNjJiZGIwLWU0MmQtNDBhNS1iYjViLTJlZTk3MGMyYjYzMyJ9.xzSnrE5CifW8Zqn6Y3t-th6i7f_rBTkzH5sdcsbDsEk
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/"f8b789b052b0892d638bee9b0215bfda"
cache-control: max-age=0, private, must-revalidate
x-request-id: 2636c66e-f4c0-4b99-9068-379db89821ac
x-runtime: 0.009668
content-length: 135
Body
{
"timesheet": {
"id": 208,
"currency": "GBP",
"date": "2025-10-20",
"job_title": "Future Officer",
"payment_state": "pending",
"status": "pending"
}
}