PRODUCTION
List the operations by country
Resource information |
|
Authentication |
Required |
HTTP Method |
GET |
Response |
JSON |
Version |
1 |
Resource URL
<https://mapaprop.app/api/action/portal-v2/settings/operations/{country}>
Parameters
Key |
Type |
Required |
Description |
country |
string |
yes |
The ISO code for the country. ‣ |
Sample code
GET /api/action/portal-v2/settings/operations/AR 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 operations by code |
Sample code
{
"operations": {
"1": "Venta",
"2": "Alquiler",
"3": "Alquiler Temporario",
"4": "Permuta",
"6": "Compartir"
}
}