GET ./elevi/detalii
It is used to return details about a student.
GET parameters
Name | Value Type | Validation | Details |
---|---|---|---|
elevID | int | Required | Student ID. |
cuStatusCont | int | Optional | If the parameter is present in the request and the user is authenticated as a headmaster/secretary/class master the key hasAccount will be present in the response with a flag that will indicate the existence of the username. |
withTransfers | int | Optional | If the parameter is present in the request the key transferuri will be present in the response with the details of the student's transfers. |
Output example
{"elevID": "136257","elevNume": "Artin","elevPrenume": "Ioana","elevInitTata": "C","elevDataNasterii": "2004-01-11","elevSex": "2","elevStatusID": "1","elEmail": "aioana2004@yahoo.com","elNrMatricol": null,"elObservatii": "observatii...","transferuri": [{"etAscID": "27","etTransferTip": "2","etLiceuNume": "Test","etNrTransfer": "666","etShowInReports": "0"}],"hasAccount": true,"adresaResedinta": {"adrID": "15038","adrTara": "1","adrJudet": "Iași","adrLocalitate": "Iasi","adrComuna": "-","adrCodPostal": "000000","adrStrNume": "Garofiței","adrStrNr": "25","adrBloc": null,"adrScara": null,"adrEtaj": null,"adrApNr": null},"adresaStudii": {"adrID": "15039","adrTara": "1","adrJudet": "Iași","adrLocalitate": "Iasi","adrComuna": "-","adrCodPostal": "000000","adrStrNume": "Garofiței","adrStrNr": "25","adrBloc": null,"adrScara": null,"adrEtaj": null,"adrApNr": null}}