GET ./reports/students_by_nationality
Report to group students by their nationality.
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_nationality/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","elNationalityID": "1","nationality": "Romana"},{"male": "4","female": "9","other": "0","total": "12","elNationalityID": "2","nationality": "Croata"}]}