Restore timesheet
Timesheets
POST restore timesheet
Endpoint
PUT /api/v1/timesheets/:id/restore
Request
Route
PUT /api/v1/timesheets/207/restore
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjQ4Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzQyNDY0OTQ4LCJleHAiOjE3NDUwNTY5NDgsImp0aSI6ImY4NDRhYjAxLTA1OTgtNGY5Yi1hNDZkLTQ5OGU1MjMxYjBjYyJ9.P4_gGgpr9gXL6Gfmw6x2UEHt472dQNUGOBXLJ1XaoYQ
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/"081c16a8faf2b503edd204ce04da7a03"
cache-control: max-age=0, private, must-revalidate
x-request-id: a2044f28-30db-4e51-889f-53da90eccd53
x-runtime: 0.009210
content-length: 117
Body
{
"timesheet": {
"id": 207,
"date": "2025-03-20",
"job_title": "Lead Producer",
"payment_state": "pending",
"status": "pending"
}
}