Authorization: Bearer ********************
curl --location --request POST 'https://apidev.edufee.online/api/total-students' \
--form 'academic_year_id[]=""' \
--form 'department_id[]=""' \
--form 'type="class,section"'
//class wise
{
"errors": null,
"message": "Success",
"status_code": 200,
"payload": {
"data": {
"message": "Total students retrieved successfully",
"students": [
{
"department": "school",
"class": "six",
"total_students": 30
},
{
"department": "school",
"class": "nine",
"total_students": 30
}
]
}
}
}
// section wise
{
"errors": null,
"message": "Success",
"status_code": 200,
"payload": {
"data": {
"message": "Total students retrieved successfully",
"students": [
{
"department": "school",
"class": "six",
"shift": "day",
"section": "a",
"total_students": 30
},
{
"department": "school",
"class": "nine",
"shift": "morning",
"section": "a",
"total_students": 30
}
]
}
}
}