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
Name | Value Type | Validation | Details |
---|---|---|---|
liceuID | int | Optional | School ID. |
search | string | Optional | Search string. |
taraID | string | Optional | Filter by countries. Multiple values separated by "," is supported. (example: taraID=1,2,3) |
judID | string | Optional | Filter by administrative aread. Multiple values separated by "," is supported. (example: judID=1,2,3) |
cityID | string | Optional | Filter by city name. Multiple values separated by "," is supported. (example: cityID=Iasi,Bacau) |
liceuInsertDate | string | Optional | Filter by insert date. Multiple values separated by "," is supported. |
liceuTip | string | Optional | Filter by type. Multiple values separated by "," is supported. |
liceuIsHidden | int | Optional | Filter hidden scools. Accepted values: 0,1. |
liceuIsActive | int | Optional | Filter active schools. Accepted values: 0,1. |
withLabels | int | Optional | Return schools with labels. Accepted values: 0,1. |
labels | string | Optional | Filter 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"}]}]}