Restore timesheet
Timesheets
POST restore timesheet
Endpoint
PUT /api/v1/timesheets/:id/restore
Request
Route
PUT /api/v1/timesheets/226/restore
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNzA1Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2NDA5LCJleHAiOjE3NjYyMTg0MDksImp0aSI6IjRjMTcxZGU4LWNkNGQtNDBkMS1iZjc4LTJiOTk1YWE2Mjk0MCJ9.ccDyNgT_o4o_DzHnye9uvcI1DeXmFVJzAZ-DzBm-CPo
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/"0965c260a71b74981abbb6368941924f"
cache-control: max-age=0, private, must-revalidate
x-request-id: 32da2626-c4a9-4c34-97e4-903b24be83bd
x-runtime: 0.009071
content-length: 136
Body
{
"timesheet": {
"id": 226,
"currency": "GBP",
"date": "2025-11-20",
"job_title": "Chief Assistant",
"payment_state": "pending",
"status": "pending"
}
}