Taxonomies Location Region
Retrieves the region name by point or by ID.
Example Request
curl -X GET --location 'https://sandbox-comparables.realitycs.it/taxonomies/location/region' \
--header 'Authorization: Bearer <token>'
Response
{
"items": [
{
"regionID": 1,
"region": "Piemonte"
},
{
"regionID": 2,
"region": "Valle d'Aosta"
},
{
"regionID": 3,
"region": "Lombardia"
},
{
"regionID": 4,
"region": "Trentino-Alto Adige"
},
{
...
}
],
"_metadata": {
"total_count": 20,
"query": null
}
}
Request args
(At least one of the following args is mandatory in the input)
| arg | type |
|---|---|
| latitude | float |
| longitude | float |
| regionID | int |
Use these values in requests
Region
| ID | Value |
|---|---|
| 1 | Piemonte |
| 2 | Valle d'Aosta |
| 3 | Lombardia |
| 4 | Trentino-Alto Adige |
| 5 | Veneto |
| 6 | Friuli Venezia Giulia |
| 7 | Liguria |
| 8 | Emilia-Romagna |
| 9 | Toscana |
| 10 | Umbria |
| 11 | Marche |
| 12 | Lazio |
| 13 | Abruzzo |
| 14 | Molise |
| 15 | Campania |
| 16 | Puglia |
| 17 | Basilicata |
| 18 | Calabria |
| 19 | Sicilia |
| 20 | Sardegna |