GET ./clase
Tags: Simple-query
It is used to return the classes for a school year.
Warning: if clID is not present then clAscID becomes required.
GET parameters
Name | Value Type | Validation | Details |
---|---|---|---|
clID | int | Class ID | |
clAscID | int | School year ID | |
withClassbookInfo | int | values[1] | If present the output will contain classbookInfo subkey with info about PDF classbook propreties. |
withAveragesLocks | int | values[1] | If present the response will contain averagesLocks subkey with info about average locks. If this is used then clID becomes required. |
withLocksHistory | int | values[1] | If present the response will contain locks subkey with info about average locks. |
withCoordinators | int | values[1] | If present the response will contain coordinators subkey with info about class coordinators locks. |
Output example
{"meta": {"countTotal": "1","countData": "1","countOffset": "0"},"data": [{"clID": "358","clNume": "V MIHAELA","clNrOrdine": "09MIHAELA","clAstID": "5","clAscID": "26","clTip": "1","timetableScheduleID": null,"spID": "1","spNume": "Comun","clRoomID": "1","clRoomName": "A1","classbookInfo": {"Director": null,"Secretary": null,"HeadTeacher": null,"SignedDate": null,"Branch": "ex: filiera (zi/seral)","Profile": "ex: profil (zi/profesional)","ProfessionalQualification": "calificare profesionala (postliceal/profesional/seral)","TrainingField": "ex: domeniu (postliceal/profesional/seral)","QualificationLevel": "ex: calificare profesionala (postliceal/profesional/seral)"},"coordinators": [{"uaID": "152258","uaTip": "3","uaFirstName": "Alina-Ioana","uaLastName": "Aldea","uaSex": "2","prefAvatar": "https://adsdev-public.s3.eu-west-1.amazonaws.com/2/24-03/06/7420091e-979c0e265af0a784443045cd34eb1a5e.jpg-GZ9oBSscjWkeuwhxKXC7","roles": [{"roleID": "279","roleName": "Director"}],"uaCadUniDepartament": null,"uaCadUniDepartamentID": null,"uaCadUniFunctie": null,"uaCadUniFunctieID": null}],"averagesLocks": {"msm": [{"msmSanID": "54","msmLocked": true},{"msmSanID": "55","msmLocked": false}],"mgm": {"mgmLocked": false,"mgmIntermediaryLocked": false},"mgs": [{"mgsSanID": "54","mgsLocked": false},{"mgsSanID": "55","mgsLocked": false}],"mga": {"mgaLocked": false,"mgaIntermediaryLocked": false}},"timetableBlockID": ["67", "68"],"locks": {"40": {"sanID": 40,"sanNume": "san_semestru_2"},"43": {"sanID": "43","sanNume": "san_semestru_1","clID": "471","uaID": "5335","isLocked": "1","date": "2023-11-17 14:22:18","history": [{"isLocked": "1","uaID": "5335","name": "Iuliana Popescu","date": "2023-11-17 14:22:18"}]},"44": {"sanID": 44,"sanNume": "san_semestru_3"},"98": {"sanID": 98,"sanNume": "san_modul_4"}}}]}