GET ./clase/incadrare
It is used to get the allocation to a class.
GET parameters
Name | Value Type | Validation | Details |
---|---|---|---|
clID | int | Required | Class ID. |
cuElevi | int | Optional | Will return the students in the response. If prezent and it has the value 1, the response will have also the key elevi |
Output example
{"meta": {"countTotal": "13","countData": "13","countOffset": "0"},"data": [{"cmcID": "4680","cmcContribuieLaMedie": "0","cmcFormulaMedie": "1","cmcSistemNotare": "1","cmcNrOre": "1","cmcSaptTip": "all","cmcOrder": "0","coprofesori": false,"elevi": [{"e2mID": "134646","e2mElevID": "3244","e2mElevAreTestareSpeciala": "0","e2mElevAreTeza": "0","e2mElevAreTITF": "0","e2mElevAreSimulare": "0"},{"e2mID": "134643","e2mElevID": "3394","e2mElevAreTestareSpeciala": "0","e2mElevAreTeza": "0","e2mElevAreTITF": "0","e2mElevAreSimulare": "0"}],"cmcMaterie": {"matID": "59","matNume": "Economie"},"cmcCadru": {"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"}]},},{"cmcID": "4630","cmcContribuieLaMedie": "1","cmcFormulaMedie": "1","cmcSistemNotare": "0","cmcNrOre": "1","cmcSaptTip": "all","cmcOrder": "1","coprofesori": false,"elevi": [{"e2mID": "133790","e2mElevID": "3244","e2mElevAreTestareSpeciala": "0","e2mElevAreTeza": "0","e2mElevAreTITF": "1","e2mElevAreSimulare": "1"},{"e2mID": "133787","e2mElevID": "3394","e2mElevAreTestareSpeciala": "0","e2mElevAreTeza": "0","e2mElevAreTITF": "1","e2mElevAreSimulare": "1"},{"e2mID": "133789","e2mElevID": "3396","e2mElevAreTestareSpeciala": "0","e2mElevAreTeza": "1","e2mElevAreTITF": "1","e2mElevAreSimulare": "1"}],"cmcMaterie": {"matID": "6","matNume": "Fizică"},"cmcCadru": {"cadID": "5335"}}]}