Monthly Attendance Report API

Generate Monthly Attendance Report

curl -X POST http://localhost/api/reports/attendance/monthly \
-H "Content-Type: application/json" \
-d '{
    "filters": {
        "from_date": "2024-08-01",
        "to_date": "2024-08-31",
        "academic_year_id": 1,
        "report_type": "students",  // or "staff"
        "class_id": 101,            // Optional
        "section": "A",             // Optional
        "student_id": 1234,         // Optional for individual student report
        "staff_id": 5678            // Optional for individual staff report
    },
    "downloadFormat": "pdf"         // or "excel"
}'
    

Parameters