GET ./reports/students_by_ethnicity
Report to group students by their ethnicity.
GET parameters
Name | Value Type | Validation | Details |
---|---|---|---|
ascID | int | Required | School year ID. |
cicluID | int | Optional | School cycle ID. |
astID | int | Optional | Study year ID. |
clID | int | Optional | Class 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"}]}