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 |
|---|---|---|---|
| avtID | int | required? | Warning ID. Required if neither elevID or clID are present. |
| 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": "267","avtNumar": "454646","avtMotiv": "54454-vizibil in doc","avtData": "2023-07-28 00:00:00","avtDataInsert": "2024-05-07 12:18:01","avtShowInReports": "1","owner": {"uaID": "5335","uaTip": "3","uaFirstName": "Iuliana","uaLastName": "Popescu","uaSex": "1","prefAvatar": "https://adservio-public.s3.eu-west-1.amazonaws.com/2/24-07/16/a4e5a090-656063133983b4dad20437903849eff4.png-g1vXVO6JGPEpQ8ltZjWs","roles": [{"roleID": "279","roleName": "Director"},{"roleID": "281","roleName": "Profesor"}],"uaCadUniDepartament": null,"uaCadUniDepartamentID": null,"uaCadUniFunctie": null,"uaCadUniFunctieID": null},"student": {"uaID": "160231","uaTip": "1","uaFirstName": "Mădălina Elena","uaLastName": "Chelaru","uaSex": "2","prefAvatar": null,"roles": [{"roleID": "290","roleName": "Elevi"}],"clasa": {"clID": "465","clNume": "V A","ascIsActiv": "1","ascNume": "2023/2024"},"uaInitTata": null}}]}
