{
"summary": {
"pending": 1,
"approved": 0,
"rejected": 0,
"new_requests": {
"today": 1,
"yesterday": 0,
"difference": 1
}
},
"data": {
"current_page": 1,
"data": [
{
"id": 1,
"user_id": 2,
"overtime_date": "2025-09-28",
"request_date": "2025-09-27",
"start_time": "18:00:00",
"end_time": "21:00:00",
"duration": 3,
"notes": "Working on project deadline",
"status": 1,
"approved_by": null,
"created_at": "2025-09-28T02:44:39.000000Z",
"updated_at": "2025-09-28T02:44:39.000000Z",
"employee": {
"id": 2,
"name": "John Doe",
"email": "john.doe@example.com",
"email_verified_at": null,
"tenant_id": 1,
"created_at": "2025-09-28T02:39:13.000000Z",
"updated_at": "2025-09-28T02:40:46.000000Z",
"is_first_login": false,
"first_login_at": "2025-09-28T02:40:46.000000Z",
"deleted_at": null
},
"creator": null,
"approver": null
}
],
"first_page_url": "http://127.0.0.1:8000/api/v1/employee/overtime?page=1",
"from": 1,
"last_page": 1,
"last_page_url": "http://127.0.0.1:8000/api/v1/employee/overtime?page=1",
"links": [
{
"url": null,
"label": "« Previous",
"page": null,
"active": false
},
{
"url": "http://127.0.0.1:8000/api/v1/employee/overtime?page=1",
"label": "1",
"page": 1,
"active": true
},
{
"url": null,
"label": "Next »",
"page": null,
"active": false
}
],
"next_page_url": null,
"path": "http://127.0.0.1:8000/api/v1/employee/overtime",
"per_page": 10,
"prev_page_url": null,
"to": 1,
"total": 1
}
}