Authorization: Bearer ********************
curl --location --request POST 'https://apidev.edufee.online/api/religion-wise-student-report' \
--form 'academic_year_id[]=""' \
--form 'department_id[]=""' \
--form 'type="class,section"'
//class wise
{
"errors": null,
"message": "Success",
"status_code": 200,
"payload": {
"data": {
"message": "Religion-wise report generated successfully",
"payload": [
{
"department": "school",
"class": "six",
"total_students": 30,
"islam": 23,
"hiduism": 7,
"buddhism": 0,
"christianity": 0,
"others": 0
},
{
"department": "school",
"class": "nine",
"total_students": 30,
"islam": 23,
"hiduism": 7,
"buddhism": 0,
"christianity": 0,
"others": 0
}
]
}
}
}
// section wise
{
"errors": null,
"message": "Success",
"status_code": 200,
"payload": {
"data": {
"message": "Religion-wise report generated successfully",
"payload": [
{
"department": "school",
"class": "six",
"total_students": 30,
"islam": 23,
"hiduism": 7,
"buddhism": 0,
"christianity": 0,
"others": 0,
"shift": "day",
"section": "a"
},
{
"department": "school",
"class": "nine",
"total_students": 30,
"islam": 23,
"hiduism": 7,
"buddhism": 0,
"christianity": 0,
"others": 0,
"shift": "morning",
"section": "a"
}
]
}
}
}