Show timesheet
Timesheets
GET timesheet
Endpoint
GET /api/v1/timesheets/:id
Request
Route
GET /api/v1/timesheets/192
Headers
Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNjExIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzM3NTUxNTg4LCJleHAiOjE3NDAxNDM1ODgsImp0aSI6IjFjZGZiMmE0LThmYjAtNGQ5My04NmQyLTllYWE5Mjg1YWRkNyJ9.zFGbTqF9E0ZF5mD40gDa4hHRaesFPZq1Ggx9ZhMYmZk
Host: example.org
Cookie:
Query Parameters
{}=
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/"04fda1639f59bc572283c8cab304ce16"
cache-control: max-age=0, private, must-revalidate
x-request-id: 716b1f49-cdd0-44e8-9fae-300ec6149d91
x-runtime: 0.016395
content-length: 622
Body
{
"timesheet": {
"id": 192,
"date": "2025-01-22",
"job_number": 58775269,
"job_title": "National Executive",
"payment_state": "pending",
"status": "pending",
"timelog": {
"id": 221,
"amend_status": "original",
"breaks": [
],
"duration": {
"hours": 2
},
"end_at": "2025-01-22T15:13:08.269Z",
"start_at": "2025-01-22T13:13:08.264Z"
},
"timelogs": [
{
"id": 221,
"amend_status": "original",
"breaks": [
],
"duration": {
"hours": 2
},
"end_at": "2025-01-22T15:13:08.269Z",
"start_at": "2025-01-22T13:13:08.264Z",
"timeloged_by": {
"id": 1611,
"admin": false,
"image": null,
"referral_code": "928791",
"title": "Mauro Breitenberg"
},
"updated_at": "2025-01-22T13:13:08.271Z"
}
],
"total": "82.89"
}
}