Authorization: Bearer ********************
curl --location --request POST 'https://apidev.edufee.online/api/fees-report-payment-summary-ratio' \
--form 'academic_year_id[]="85"' \
--form 'department_id[]="2"' \
--form 'fee_head_id[]="12"' \
--form 'sub_head_id[]="18"' \
--form 'from_date="2025-01-01"' \
--form 'to_date="2025-07-31"' \
--form 'report_type="class_wise"'
//class wise
{
"errors": null,
"message": "Success",
"status_code": 200,
"payload": {
"data": {
"status": "success",
"message": "Payment summary report generated successfully",
"reports": [
{
"department": "school",
"class": "six",
"total_student": "30.00",
"paid_student": "0.00",
"unpaid_student": "30.00",
"paid_percentage": "0.00%",
"unpaid_percentage": "100.00%"
},
{
"department": "school",
"class": "nine",
"total_student": "6.00",
"paid_student": "0.00",
"unpaid_student": "6.00",
"paid_percentage": "0.00%",
"unpaid_percentage": "100.00%"
}
]
}
}
}
//section wise
{
"errors": null,
"message": "Success",
"status_code": 200,
"payload": {
"data": {
"status": "success",
"message": "Payment summary report generated successfully",
"reports": [
{
"department": "school",
"class": "six",
"total_student": "30.00",
"paid_student": "0.00",
"unpaid_student": "30.00",
"paid_percentage": "0.00%",
"unpaid_percentage": "100.00%",
"shift": "day",
"section": "a"
},
{
"department": "school",
"class": "nine",
"total_student": "6.00",
"paid_student": "0.00",
"unpaid_student": "6.00",
"paid_percentage": "0.00%",
"unpaid_percentage": "100.00%",
"shift": "morning",
"section": "a"
}
]
}
}
}