GET ./scoli/detalii

It is used to return the details about a school.

GET parameters

NameValue TypeValidationDetails
liceuIDintRequiredSchool ID.
cuReprezentantUaIDintOptionalvalues[1]; If present in the request, the id of the adservio representative from the school will be returned.
withSchoolStaffintOptionalvalues[1]; If present in the request, the listh with headmaster&secretary from the school will be returned.

Validation

Error FieldError CodeError Message
liceuID101Invalid school ID.

Output example

{
"liceuID": "2",
"liceuNume": "C.Național",
"liceuClasificare": "Colegiul",
"liceuLogo": "https://dl.adservio.ro/adservio-sigle/iasi-ibraileanu.png",
"liceuAdresa": {
"adrLocalitate": "Iași",
"adrJudet": {
"judID": "1",
"judNume": "Iași"
},
"adrTara": {
"taraID": "1",
"taraNume": "tara_ro"
}
},
"schoolStaff": {
"headmaster": [
{
"cadID": "152573",
"cadPrenume": "Test2aXX",
"cadNume": "A",
"cadPrenumeNume": "A Test2aXX",
"cadCnp": null,
"cadDataNasterii": null,
"cadSex": "2",
"cadEmail": "alexkiwi.2011@gmail.com",
"cadEmailValidat": "1",
"cadTelefon": "+40753895550",
"cadTelefonValidat": "1",
"cadIsDeleted": "0",
"uacLastLogin": null,
"roles": "Director"
}
],
"secretary": [
{
"cadID": "152573",
"cadPrenume": "Test2aXX",
"cadNume": "A",
"cadPrenumeNume": "A Test2aXX",
"cadCnp": null,
"cadDataNasterii": null,
"cadSex": "2",
"cadEmail": "alexkiwi.2011@gmail.com",
"cadEmailValidat": "1",
"cadTelefon": "+40753895550",
"cadTelefonValidat": "1",
"cadIsDeleted": "0",
"uacLastLogin": null,
"roles": "Secretar"
}
]
}
}