PROD

This service will return the operation types available for the properties published of the website

Resource information
AuthenticationRequired (API Token, Bearer)
Scopeexpress-base
HTTP MethodGET
ResponseJSON
Version1

Resource URL

https://mapaprop.app/api/action/express-v1/operations

Sample code

GET /api/action/express-v1/operations HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer {access_token}

Response

A JSON document with the list of operations in use across the customer published properties. Also read Constants

ObjectFieldTypeRequiredDescription
ResponseoperationsArray of OperationyesThe list of Operation objects
OperationdescriptionstringyesThe operation description, in the language of the customer's country
idintyesThe operation ID. Constants

Sample response

{
    "operations": [
        {
            "description": "Venta",
            "id": 1
        },
        {
            "description": "Alquiler Temporario",
            "id": 3
        },
        {
            "description": "Permuta",
            "id": 4
        },
        {
            "description": "Alquiler",
            "id": 2
        },
        {
            "description": "Remate",
            "id": 7
        },
        {
            "description": "Compartir",
            "id": 6
        }
    ]
}

It returns the operations this customer has in use, not the full country catalog. The same list in Portal API has a different shape —a code → name map— and a different scope: there it is the country catalog. They are not interchangeable.