Timesheets

Restore timesheet

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.eyJzdWIiOiIxNjc5Iiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjIyLCJleHAiOjE3NTU4NTgyMjIsImp0aSI6IjRkMjlhY2I0LWYxNmMtNGJiMi05NTZmLTc2M2QxODk4NTVhOCJ9.m9qcdynD0Js3D1FZK42Txc2L1B_snOc3ReKc8zeZ5pg
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/"62b075a2aff009629b995f408757cba5"
cache-control: max-age=0, private, must-revalidate
x-request-id: 3c20ec15-60fc-475f-a96d-5237c71397ea
x-runtime: 0.016481
content-length: 122

Body

{
  "timesheet": {
    "id": 208,
    "date": "2025-07-23",
    "job_title": "Investor Developer",
    "payment_state": "pending",
    "status": "pending"
  }
}