GET ./observations
Tags: simple query
It is used to get the list with observations for a student.
Obs: if the data insert of the observation is not in selected period (period start - period end) it will not be display in response.
GET parameters
Name | Value Type | Validation | Details |
---|---|---|---|
elevID | int | Required | Student ID. |
clID | int | Required | Class ID. |
sanID | int | Required | Semester ID. |
Validation
Error Field | Error Code | Error Message |
---|---|---|
elevID | 101 | Invalid student ID. |
Output example
The obsPermisiuni field should return 1-only me, 2-elev, 3-parent, 4-teacher or a combination of 2,3 and 4
{"meta": {"countTotal": "1","countData": "1","countOffset": "0"},"data": [{"obsID": "1397","obsContinut": "ala bala portocala ala bala portocala ala bala portocala ala bala portocala ","obsData": "2022-05-05 14:35:04","obsIsRead": "0","obsPermisiuni": "1","obsPosIsRead": "0","ownerInfo": {"uaID": "5335","uaTip": "3","uaFirstName": "Elena","uaLastName": "Popescu","uaSex": "2","prefAvatar": "https://oss-dev.adservio.net/adservio-avatar/07927f39445e582322780d92c25c971ca7fd1e1da07fd2bcbecb6024f9d1b640.png","roles": [{"roleID": "2","roleName": "Director"},{"roleID": "4","roleName": "Teacher"},{"roleID": "6","roleName": "Educator"}]},"cmcMaterie": {"matID": "7","matNume": "Chimie","matPrescurtare": "Chimie"}}]}