PRODUCTION

List the operations by country

Resource information
AuthenticationRequired
HTTP MethodGET
ResponseJSON
Version1

Resource URL

https://mapaprop.app/api/action/portal-v2/settings/operations/{country}

Parameters

KeyTypeRequiredDescription
countrystringyesThe 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 ya29.1.AADtN_UxybTdjLw9jX6lg_SXIgc3wTtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw

Response

A simple number with the total properties in our system in JSON.

ObjectFieldTypeRequiredDescription
ResponsetypesObjectyesAn object with the list of operations by code

Sample code

{
    "operations": {
        "1": "Venta",
        "2": "Alquiler",
        "3": "Alquiler Temporario",
        "4": "Permuta",
        "6": "Compartir"
    }
}