PRODUCTION
List the types of properties by country
Resource information |
|
Authentication |
Required |
HTTP Method |
GET |
Response |
JSON |
Version |
1 |
Resource URL
<https://mapaprop.app/api/action/portal-v2/settings/types/{country}>
Parameters
Key |
Type |
Required |
Description |
country |
string |
yes |
The ISO code for the country. ‣ |
Sample code
GET /api/action/portal-v2/settings/types/CH HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer ya29.1.AADtN_UxybTdjLw9jX6lg_SXIgc3wTtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw
Response
A simple number with the total properties in our system in JSON.
Object |
Field |
Type |
Required |
Description |
Response |
types |
Object |
yes |
An object with the list of types by code |
Sample code
{
"types": {
"1": "Departamento",
"2": "Casa",
"3": "Quinta",
"4": "Terreno",
"5": "Campo",
"6": "Cochera",
"7": "Oficina",
"8": "Galpón",
"9": "Local Comercial",
"10": "PH",
"11": "Duplex",
"12": "Fondo Comercio",
"13": "Isla",
"14": "Hotel",
"15": "Garage",
"16": "Chacra",
"17": "Complejo Turístico",
"18": "Triplex",
"19": "Edificio",
"20": "Loft",
"21": "Cabaña"
}
}