{
"data": [
{
"id": 72,
"event": "clock_in",
"description": "User clocked in at 2025-09-20 08:00:00",
"created_at": "2025-09-30T16:25:17.000000Z",
"updated_at": "2025-09-30T16:25:17.000000Z",
"time_ago": "3 minutes ago",
"event_type": "Clock In",
"is_clock_in": true,
"is_clock_out": false,
"properties": {
"attendance_id": 33,
"attendance_status": 0,
"attendance_status_label": "Waiting",
"clock_in_at": "2025-09-20 08:00:00",
"clock_in_status": 2,
"clock_in_status_label": "Early",
"scheduled_clock_in": "09:00:00",
"tolerance_minutes": 12
},
"causer": {
"id": 2,
"name": "John Doe",
"email": "john.doe@example.com"
}
}
],
"links": {
"first": "http://127.0.0.1:8000/api/ess/activity-logs?page=1",
"last": "http://127.0.0.1:8000/api/ess/activity-logs?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/ess/activity-logs?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "http://127.0.0.1:8000/api/ess/activity-logs",
"per_page": 10,
"to": 1,
"total": 1
},
"code": 200,
"message": "Activity logs fetched successfully"
}