PRODUCTION

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

Resource information
AuthenticationRequired
HTTP MethodGET
ResponseJSON
Version1

Resource URL

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

Sample code

GET /api/action/express-v1/types HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer ya29.1.AADtN_UxybTdjLw9jX6lg_branSjjsldiwjtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw

Response

A JSON document with the list of types available for the published properties of the customer. Also read Constants

ObjectFieldTypeRequiredDescription
ResponsetypesArray of TypeyesThe list of Type objects
typesdescriptionstringyesThe description of property type for customer Country
idintyesThe Id of property type

Sample response

{
    "types": [
        {
            "description": "Departamento",
            "id": 1
        },
        {
            "description": "Casa",
            "id": 2
        },
        {
            "description": "Campo",
            "id": 5
        },
        {
            "description": "PH",
            "id": 10
        },
        {
            "description": "Galpón",
            "id": 8
        },
        {
            "description": "Terreno",
            "id": 4
        },
        {
            "description": "Triplex",
            "id": 18
        },
        {
            "description": "Duplex",
            "id": 11
        },
        {
            "description": "Complejo Turístico",
            "id": 17
        },
        {
            "description": "Casa",
            "id": 68
        },
        {
            "description": "Loft",
            "id": 20
        }
    ]
}