GET ./reports/students_by_ethnicity

Report to group students by their ethnicity.

GET parameters

NameValue TypeValidationDetails
ascIDintRequiredSchool year ID.
cicluIDintOptionalSchool cycle ID.
astIDintOptionalStudy year ID.
clIDintOptionalClass ID.

Excel

To export the report in excel format use GET ./reports/students_by_ethnicity/export_xls It allows the same parameters as the main endpoint but it ignores _limit, _offset and _order parameters.

Output example

{
"meta": {
"countTotal": "2",
"countData": "2",
"countOffset": "0"
},
"data": [
{
"male": "148",
"female": "199",
"other": "38",
"total": "379",
"elEthnicityID": "1",
"ethnicity": "Romana"
},
{
"male": "4",
"female": "9",
"other": "0",
"total": "12",
"elEthnicityID": "2",
"ethnicity": "Croata"
}
]
}