Skip to content

Taxonomies Location Province

Retrieves the province name by point, by regional ID or provincial ID

Example Request

curl -X GET --location 'https://sandbox-comparables.realitycs.it/taxonomies/location/province?regionID=1' \
--header 'Authorization: Bearer <token>'

Response

{
    "items": [
        {
            "provinceID": 1,
            "province": "Torino",
            "region": "Piemonte"
        },
        {
            "provinceID": 2,
            "province": "Vercelli",
            "region": "Piemonte"
        },
        {
            "provinceID": 3,
            "province": "Novara",
            "region": "Piemonte"
        },
        {
            "provinceID": 4,
            "province": "Cuneo",
            "region": "Piemonte"
        },
        {
            ...
        }
    ],
    "_metadata": {
        "total_count": 6,
        "query": {
            "regionID": 1
        }
    }
}

Request args

(At least one of the following args is mandatory in the input)

arg type
longitude float
latitude float
regionID int
provinceID int