BETA

Returns the operations (sale, rent, short-term rental, etc.) actually used in the customer's listings. customerId is resolved from the access token.

Resource information
AuthenticationRequired (API Token, Bearer)
HTTP MethodGET
ResponseJSON
Version1
Cache1 day

Resource URL

https://mapaprop.app/api/action/mapaprop-chat-ai-v1/operations

Parameters

This endpoint does not receive parameters.

Sample code

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

Response

ObjectFieldTypeRequiredDescription
ResponseoperationsArray of OperationyesThe list of operations used by the customer
OperationidintyesOperation ID. Constants
descriptionstringyesTranslated description of the operation

Sample response

{
    "operations": [
        { "id": 1, "description": "Venta" },
        { "id": 2, "description": "Alquiler" },
        { "id": 3, "description": "Alquiler Temporario" }
    ]
}