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. Constants |
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 {access_token}
Response
A JSON object with the operations in that country's catalog, keyed by their code.
| Object | Field | Type | Required | Description |
|---|---|---|---|---|
| Response | operations | Object | yes | A code → name map. The key is a string |
It returns the catalog of the country, not what a given agency has published. The same list in
Express API has a different shape
—an array of {id, description}— and a different scope: there they are the operations that
client uses. They are not interchangeable.
{
"operations": {
"1": "Venta",
"2": "Alquiler",
"3": "Alquiler Temporario",
"4": "Permuta",
"5": "Traspaso",
"6": "Compartir",
"7": "Remate"
}
}