GET ./scoli

Tags: simple-query, pagination

It is used to get general information about a school. The output can be different depending on the user's permissions or user type.

GET parameters

NameValue TypeValidationDetails
liceuIDintOptionalSchool ID.
searchstringOptionalSearch string.
taraIDstringOptionalFilter by countries. Multiple values separated by "," is supported. (example: taraID=1,2,3)
judIDstringOptionalFilter by administrative aread. Multiple values separated by "," is supported. (example: judID=1,2,3)
cityIDstringOptionalFilter by city name. Multiple values separated by "," is supported. (example: cityID=Iasi,Bacau)
liceuInsertDatestringOptionalFilter by insert date. Multiple values separated by "," is supported.
liceuTipstringOptionalFilter by type. Multiple values separated by "," is supported.
liceuIsHiddenintOptionalFilter hidden scools. Accepted values: 0,1.
liceuIsActiveintOptionalFilter active schools. Accepted values: 0,1.
withLabelsintOptionalReturn schools with labels. Accepted values: 0,1.
labelsstringOptionalFilter by labels. Multiple values separated by "," is supported. Filtered results contains all values not only one.

Output example

{
"meta": {
"countTotal": "1",
"countData": "1",
"countOffset": "0"
},
"data": [
{
"liceuID": "2",
"liceuNume": "\"TEST\"",
"liceuClasificare": "LICEUL TEORETIC",
"liceuRepUaID": "5345",
"liceuOrgType": "1",
"liceuAdresa": {
"adrLocalitate": {
"cityID": "32394",
"cityName": "Bistrița",
"cityFullName": "Bistrița"
},
"adrJudet": {
"judID": "13",
"judNume": "Bistrița-Năsăud"
},
"adrTara": {
"taraID": "1",
"taraNume": "tara_ro",
"taraNumeFull": "România"
}
},
"labels": [
{
"lbID": "1",
"lbName": "test label 1",
"lbColor": "test color 1",
"lbIsSystem": "0",
"lbType": null,
"lbMetadata": null,
"lbCreatedAt": "2025-02-06 14:10:56",
"lbUpdatedAt": null,
"lbCreatedByID": "156461"
},
{
"lbID": "4",
"lbName": "test label 4 system",
"lbColor": "test color 4",
"lbIsSystem": "1",
"lbType": null,
"lbMetadata": null,
"lbCreatedAt": "2025-02-06 14:12:17",
"lbUpdatedAt": null,
"lbCreatedByID": "156461"
},
{
"lbID": "5",
"lbName": "test label 3",
"lbColor": "test color 3",
"lbIsSystem": "0",
"lbType": null,
"lbMetadata": null,
"lbCreatedAt": "2025-02-10 11:46:09",
"lbUpdatedAt": null,
"lbCreatedByID": "156461"
}
]
}
]
}