GET ./repartizari/elevi

Tags: simple-query, pagination

It is used to return a list with all students from a repartition. The parameter sanID will become mandatory if the parameters cuNote, cuAbsente, cuScutire, cuScorProbAsc are used in the request.

elevStatusID options:

  • 1 - Default - active student
  • 3 - Transferred (gone)
  • 4 - Transferred (income)
  • 5 - Transferred (scholarship)
  • 6 - Alumni

e2cIsActive options:

  • 0 - not active
  • 1 - the student is active in the class (all events like grades, absences, options etc. are enabled)

GET parameters

NameValue TypeValidationDetails
cmcIDintRequiredThe link ID between a teacher, a subject and a class.
sanIDintOptionalSemester ID.
cuNoteintOptionalvalues[1]; If present in the request, all association will have in the response the key note.
cuAbsenteintOptionalvalues[1]; If present in the request, all association will have in the response the key absente.
cuMediiintOptionalvalues[1]; If present in the request, all association will have in the response the key medii.
cuMediiGeneraleintOptionalvalues[1]; If present in the request, general Averages will have in the response the key mediiGenerale.
cuActivitateintOptionalvalues[1]; If present in the request, all association will have in the response the key activitate.
cuScutireintOptionalvalues[1]; If present in the request, all association will have in the response the key scutire with the details if the student is exempted or not to a subject.
cuSetariNoteintOptionalvalues[1]; If present in the request, all association will have in the response the keys e2mElevAreTezaModificare,e2mElevAreTestareSpecialaModificare, e2mElevAreTITFModificare, e2mElevAreSimulareModificare which specifies whether the respective settings can be changed.
cuScorProbAscintOptionalvalues[1]; If present in the request, all association will have in the response the key cuScorProbAsc which will contain a number between 0 - 100 which represents whether or not the student should be listened to.
cuNpsintOptionalvalues[1]; If present in the request, all association will have in the response the key notaNps with details of the deletion proposal, if any.
cuScutiriintOptionalvalues[1]; If present in the request, all exemptions will store in the key scutiri.
cuTotalScutiriintOptionalvalues[1]; If present in the request, the counter of all exemptions will store in the key countScutiri.
cuTotalAvertismenteintOptionalvalues[1]; If present in the request, the count of all warnings will store in the key countAvertismente.

Output example

{
"meta": {
"countTotal": "25",
"countData": "25",
"countOffset": "0"
},
"data": [
{
"e2mID": "147715",
"e2mElevAreTeza": "0",
"e2mElevAreTestareSpeciala": "0",
"e2mElevAreTITF": "0",
"e2mElevAreSimulare": "0",
"elevStatusID": "1",
"e2cIsActive": "1",
"countScutiri": "1",
"countAvertismente": "1",
"elev": {
"uaID": "3092",
"uaTip": "1",
"uaFirstName": "Ilinca Andreea",
"uaLastName": "Anton",
"uaSex": "2",
"prefAvatar": null,
"roles": [
{
"roleID": "13",
"roleName": "Elevi"
}
],
"clasa": {
"clID": "351",
"clNume": "XI C",
"ascIsActiv": "1",
"ascNume": "2021/2022"
}
},
"medii": {
"perioade": [
{
"sanID": "39",
"msmValoareAds": "0",
"msmValoare": "0",
"msmX49": "0",
"msmIsLocked": "0",
"msmSituatieScolaraID": "0"
}
],
"semestriale": [
{
"sanID": "39",
"msmValoareAds": "0",
"msmValoare": "0",
"msmX49": "0",
"msmIsLocked": "0",
"msmSituatieScolaraID": "0"
}
],
"anuala": {
"mgmValoareAds": "0",
"mgmValoareIntermediara": "0.00",
"mgmIsLockedIntermediara": "0",
"mgmSituatieScolaraIntermediaraID": "0",
"mgmValoare": "0",
"mgmIsLocked": "0",
"mgmSituatieScolaraID": "0"
}
},
"mediiGenerale": {
"perioade": {
"39": {
"mgsValoareAds": 0,
"mgsValoare": 0,
"mgsIsLocked": "0",
"mgsSituatieScolaraID": "0"
}
},
"anuala": {
"mgaValoareAds": 0,
"mgaValoareIntermediara": 0,
"mgaIsLockedIntermediara": "0",
"mgaSituatieScolaraIntermediaraID": "0",
"mgaValoare": 0,
"mgaIsLocked": "0",
"mgaSituatieScolaraID": "0"
}
},
"scutire": false,
"scutiri": [
{
"scID": "8411",
"scTip": "1",
"scDataStart": "2022-06-01",
"scDataEnd": "2022-06-02",
"scObservatii": "lorem ipsum dolor"
},
{
"scID": "7872",
"scTip": "1",
"scDataStart": "2015-09-23",
"scDataEnd": "2015-09-25",
"scObservatii": "invoire parinte"
},
{
"scID": "7870",
"scTip": "1",
"scDataStart": "2015-09-30",
"scDataEnd": "2015-10-02",
"scObservatii": "invoire parinte"
},
{
"scID": "7762",
"scTip": "1",
"scDataStart": "2015-06-05",
"scDataEnd": "2015-06-05",
"scObservatii": "invoire parinte"
},
{
"scID": "7666",
"scTip": "1",
"scDataStart": "2015-05-21",
"scDataEnd": "2015-05-21",
"scObservatii": "Invoire parinte"
},
{
"scID": "7293",
"scTip": "1",
"scDataStart": "2015-03-11",
"scDataEnd": "2015-03-13",
"scObservatii": "amigdalita pultacee"
},
{
"scID": "5895",
"scTip": "1",
"scDataStart": "2014-02-17",
"scDataEnd": "2014-02-17",
"scObservatii": "invoire parinte"
}
],
"note": [],
"absente": [],
"activitate": [],
"scorProbAsc": 80,
"e2mElevAreTezaModificare": "1",
"e2mElevAreTestareSpecialaModificare": "1",
"e2mElevAreTITFModificare": "1",
"e2mElevAreSimulareModificare": "1"
}
}