This service will return the list of zones where the customer has properties
Resource information | |
---|---|
Authentication | Required |
HTTP Method | GET |
Response | JSON |
Version | 1 |
<https://mapaprop.app/api/action/express-v1/zones>
GET /api/action/express-v1/zones HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer ya29.1.AADtN_UxybTdjLw9jX6lg_branSjjsldiwjtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw
A JSON document with the list of zones in a hierarchy where the customer has properties.
Object | Field | Type | Required | Description |
---|---|---|---|---|
Response | states | Array of State | yes | The list of State objects |
State | description | string | yes | The description of the state |
id | int | yes | The ID of the state | |
counties | Array of County | no | The list of County objects (this is the second geographical division of the region. might not be an actual county) | |
County | description | string | yes | The description of the county |
id | int | yes | The ID of the county | |
cities | Array of City | no | The list of City objects | |
City | description | string | yes | The description of the city |
id | int | yes | The ID of the city |
{
"states": [
{
"description": "Capital Federal",
"id": 1,
"counties": [
{
"description": "Belgrano R",
"id": 14
},
{
"description": "Las Cañitas",
"id": 15
},
{
"description": "Microcentro",
"id": 24
},
{
"description": "Monserrat",
"id": 25
},
{
"description": "Puerto Madero",
"id": 26
},
{
"description": "Retiro",
"id": 27
},
{
"description": "San Nicolás",
"id": 28
},
{
"description": "Colegiales",
"id": 32
},
{
"description": "Congreso",
"id": 33
},
{
"description": "Nuñez",
"id": 43
},
{
"description": "Palermo",
"id": 46
},
{
"description": "Palermo Chico",
"id": 48
},
{
"description": "Palermo Hollywood",
"id": 49
},
{
"description": "Palermo Soho",
"id": 50
},
{
"description": "San Cristobal",
"id": 58
},
{
"description": "San Telmo",
"id": 59
},
{
"description": "Villa Crespo",
"id": 62
},
{
"description": "Almagro",
"id": 90
},
{
"description": "Balvanera",
"id": 91
},
{
"description": "Belgrano",
"id": 93
},
{
"description": "Constitución",
"id": 99
},
{
"description": "Recoleta",
"id": 116
},
{
"description": "Barrio Norte",
"id": 654
}
]
},
{
"description": "Córdoba",
"id": 6,
"counties": [
{
"cities": [
{
"description": "Colonia Tirolesa",
"id": 255
}
],
"description": "Colón",
"id": 273
}
]
},
{
"description": "Formosa",
"id": 9,
"counties": [
{
"cities": [
{
"description": "Herradura",
"id": 2896
}
],
"description": "Laishi",
"id": 496
}
]
},
{
"description": "La Rioja",
"id": 12,
"counties": [
{
"cities": [
{
"description": "Colonia Malligasta",
"id": 4011
}
],
"description": "Chilecito",
"id": 561
}
]
}
]
}