Taxonomies Location Municipality
Retrieves the name of a municipality by point, by provincial ID, or by municipal ID.
Example Request
curl -X GET --location 'https://sandbox-comparables.realitycs.it/taxonomies/location/municipality?provinceID=1' \
--header 'Authorization: Bearer <token>'
Response
{
"items": [
{
"municipalityID": 1001,
"municipality": "Agliè",
"province": "Torino",
"region": "Piemonte"
},
{
"municipalityID": 1002,
"municipality": "Airasca",
"province": "Torino",
"region": "Piemonte"
},
{
"municipalityID": 1003,
"municipality": "Ala di Stura",
"province": "Torino",
"region": "Piemonte"
},
{
...
}
],
"_metadata": {
"total_count": 312,
"query": {
"provinceID": 1
}
}
}
Request args
(At least one of the following args is mandatory in the input)
| arg | type |
|---|---|
| latitude | float |
| longitude | float |
| provinceID | int |
| municipalityID | int |