ALPHA

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

Resource information
Authentication Required
HTTP Method GET
Response JSON
Version 1

Resource URL

<https://www.mapapropapp.com/api/action/express-v1/types>

Sample code

GET /api/action/express-v1/types HTTP/1.1
Host: www.mapapropapp.com
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

Object Field Type Required Description
Response types Array of Type yes The list of Type objects
types description string yes The description of property type for customer Country
id int yes The 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
        }
    ]
}