GET ./scoli/grup_judete

Returns the counties from a country on which schools are associated and to which the user has permissions.

GET parameters

NameValue TypeValidationDetails
taraIDintRequiredContry ID. Multiple values are allowed sepparrated by ",": Ex: 1,2
judIDintCounty ID. Multiple values are allowed sepparrated by ",": Ex: 1,2

Output example

{
"meta": {
"countTotal": "2",
"countData": "2",
"countOffset": "0"
},
"data": [
{
"judID": "10",
"judNume": "Argeș",
"countScoli": "1",
"adrTara": {
"taraID": "1",
"taraNume": "tara_ro",
"taraNumeFull": "România"
}
},
{
"judID": "1",
"judNume": "Iași",
"countScoli": "6",
"adrTara": {
"taraID": "1",
"taraNume": "tara_ro",
"taraNumeFull": "România"
}
}
]
}