GET ./avertismente
Tags: simple-query, pagination
Used to retrieve warnings.
Director and Secretary can call this api with only ascID provided.
HeadTeachers must specify either elevID or clID.
GET parameters
Name | Value Type | Validation | Details |
---|---|---|---|
ascID | int | required? | School year ID. Required if neither elevID or clID are present. |
elevID | int | required? | Student ID. Required if caller is not Director or Secretary and clID is not present. |
clID | int | required? | Class ID. Required if caller is not Director or Secretary and elevID is not present. |
q | string | required? | Search the student by firstname or lastname. |
Output example
{"meta": {"countTotal": "1","countData": "1","countOffset": "0"},"data": [{"avtID": "44","avtNumar": "1","avtMotiv": "serviciu neefectuat","avtDataInsert": "2012-10-25 08:25:47","avtData": "2012-10-25 00:00:00","avtShowInReports": "0","owner": {"uaID": "5258","uaTip": "3","uaFirstName": "Teacher","uaLastName": "Name","uaSex": "2","prefAvatar": null,"roles": [{"roleID": "2019","roleName": "Secretar"},{"roleID": "2021","roleName": "Profesor"}]},"student": {"uaID": "37931","uaTip": "1","uaFirstName": "Student","uaLastName": "Name","uaSex": "2","prefAvatar": "uploads/avatar/2/37931.jpg","roles": [{"roleID": "2022","roleName": "Elev"}],"clasa": {"clID": "340","clNume": "XX miha","ascIsActiv": "1","ascNume": "2019/2020"}}}]}