GET ./reports/age_groups
Returns the age groups report for the provided filters.
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/age_groups/export_xls It allows the same parameters as the main endpoint but it ignores _limit, _offset and _order parameters.
Output example
{"meta": {"countTotal": "3","countData": "3","countOffset": "0"},"data": [{"ageGroup": null,"male": "5","female": "4","other": "9","total": "18"},{"ageGroup": "17","male": "4","female": "6","other": "0","total": "10"}]}