Obtener todas las propiedades

Important

Cuando se listan todas las propiedades se cuentan con unos filtros, ver la sección de Filtros

Para obtener el listado de todas las propiedades en Wasi, cuentas con la URI:

api.wasi.co/v1/property/search

Esto debería retornar un JSON similar a este:

{
    "total":2,
    "0":{
        "id_property":1,
        "id_company":1,
        "id_user":1,
        "for_sale":"true",
        "for_rent":"true",
        "for_transfer":"false",
        "id_property_type":14,
        "id_country":1,
        "country_label":"Colombia",
        "id_region":26,
        "region_label":"Quindio",
        "id_city":63,
        "city_label":"Armenia",
        "id_location":0,
        "location_label":"",
        "id_zone":0,
        "zone_label":"",
        "id_currency":1,
        "iso_currency":"COP",
        "name_currency": "Pesos Colombianos",
        "title":"SV65850-44301",
        "address":"Av/  de la peseta  # 110 - 25",
        "area":"79",
        "id_unit_area":"1",
        "unit_area_label":"M2",
        "built_area":"",
        "id_unit_built_area":"1",
        "unit_built_area_label":"M2",
        "private_area":"",
        "id_unit_private_area":"1",
        "unit_private_area_label":"M2",
        "maintenance_fee":"0",
        "sale_price":"150000000",
        "sale_price_label":"$150.000.000",
        "rent_price":"0",
        "rent_price_label":"$0",
        "bedrooms":"2",
        "bathrooms":"1",
        "garages":"0",
        "floor":"",
        "observations":"Aqui las observaciones del ejemplo 1",
        "video":"https:\/\/vimeo.com\/88462167",
        "id_property_condition":"2",
        "property_condition_label":"Used",
        "id_status_on_page":"3",
        "status_on_page_label":"Outstanding",
        "map":"",
        "latitude":"",
        "longitude":"",
        "building_date":"",
        "network_share":false,
        "visits":79,
        "created_at":"2015-09-07 16:22:45",
        "updated_at":"2016-04-06 14:40:01",
        "reference":"",
        "comment":"",
        "id_rents_type":"4",
        "rents_type_label":"Monthly",
        "zip_code":"",
        "id_availability":"2",
        "availability_label":"Sold",
        "id_publish_on_map":"1",
        "publish_on_map_label":"Do not post",
        "main_image": {
            "id_gallery": "112861",
            "id_image": "4096458",
            "url":"https:\/\/images.wasi.co\/inmuebles\/ejemplo11.jpg",
            "url_big":"https:\/\/images.wasi.co\/inmuebles\/ejemplo12.jpg",
            "description":"",
            "position":"1"
        },
        "galleries":[
            {
                "id":"112861",
                "0":{
                    "id":"4096458",
                    "url":"https:\/\/images.wasi.co\/inmuebles\/ejemplo11.jpg",
                    "url_big":"https:\/\/images.wasi.co\/inmuebles\/ejemplo12.jpg",
                    "description":"",
                    "position":"1"
                },
                "1":{
                    "id":"4096459",
                    "url":"https:\/\/images.wasi.co\/inmuebles\/ejemplo13.jpg",
                    "url_big":"https:\/\/images.wasi.co\/inmuebles\/ejemplo14.jpg",
                    "description":"",
                    "position":"2"
                },"2":{
                    "id":"4096460",
                    "url":"https:\/\/images.wasi.co\/inmuebles\/ejemplo15.jpg",
                    "url_big":"https:\/\/images.wasi.co\/inmuebles\/ejemplo16.jpg",
                    "description":"",
                    "position":"3"
                }
            }
        ],
        "features":{
            "internal":[
                {
                    "id":"84",
                    "nombre":"Armarios empotrados",
                    "name":""
                },
                {
                    "id":"5",
                    "nombre":"Balcón",
                    "name":""
                }
            ],
            "external":[
                {
                    "id":"78",
                    "nombre":"Área social",
                    "name":""
                }
            ]
        },
        "label": "Parque central",
        "owner": "own"
    },
    "1":{
        "id_property":2,
        "id_company":1,
        "id_user":1,
        "for_sale":"true",
        "for_rent":"true",
        "for_transfer":"false",
        "id_property_type":7,
        "id_country":1,
        "country_label":"Colombia",
        "id_region":26,
        "region_label":"Quindio",
        "id_city":129,
        "city_label":"Calarca",
        "id_location":0,
        "location_label":"",
        "id_zone":22170,
        "zone_label":"Vereda",
        "id_currency":1,
        "iso_currency":"COP",
        "name_currency": "Pesos Colombianos",
        "title":"Finca en venta El Paraiso, Vereda Floresta Calarca",
        "address":"Finca el Paraiso, vereda la Floresta. Calarca, Quindio",
        "area":"6400",
        "id_unit_area":"1",
        "unit_area_label":"M2",
        "built_area":"",
        "id_unit_built_area":"1",
        "unit_built_area_label":"M2",
        "maintenance_fee":"0",
        "sale_price":"289000000",
        "sale_price_label":"$289.000.000",
        "rent_price":"0",
        "rent_price_label":"$0",
        "bedrooms":"4",
        "bathrooms":"1",
        "garages":"1",
        "floor":"Rural",
        "furnished":"false",
        "observations":"Aqui las observaciones del ejemplo 2",
        "video":"",
        "id_property_condition":"2",
        "property_condition_label":"Used",
        "id_status_on_page":"3",
        "status_on_page_label":"Outstanding",
        "map":"4.529195895731443,-75.63777923583984",
        "latitude":"4.529195895731443",
        "longitude":"-75.63777923583984",
        "building_date":"",
        "network_share":true,
        "visits":404,
        "created_at":"2015-07-08 07:39:18",
        "updated_at":"2015-08-12 11:25:50",
        "reference":"",
        "comment":"",
        "id_rents_type":"4",
        "rents_type_label":"Monthly",
        "zip_code":"630001",
        "id_availability":"1",
        "availability_label":"Available",
        "id_publish_on_map":"1",
        "publish_on_map_label":"Do not post",
        "main_image": {
            "id_gallery": "105232",
            "id_image": "4052247",
            "url":"https:\/\/images.wasi.co\/inmuebles\/ejemplo21.jpg",
            "url_big":"https:\/\/images.wasi.co\/inmuebles\/ejemplo22.jpg",
            "description":"",
            "position":"1"
        },
        "galleries":[
            {
                "id":"105232",
                "0":{
                    "id":"4052247",
                    "url":"https:\/\/images.wasi.co\/inmuebles\/ejemplo21.jpg",
                    "url_big":"https:\/\/images.wasi.co\/inmuebles\/ejemplo22.jpg",
                    "description":"",
                    "position":"1"
                },
                "1":{
                    "id":"4052248",
                    "url":"https:\/\/images.wasi.co\/inmuebles\/ejemplo23.jpg",
                    "url_big":"https:\/\/images.wasi.co\/inmuebles\/ejemplo24.jpg",
                    "description":"",
                    "position":"2"
                },
                "2":{
                    "id":"4052249",
                    "url":"https:\/\/images.wasi.co\/inmuebles\/ejemplo25.jpg",
                    "url_big":"https:\/\/images.wasi.co\/inmuebles\/ejemplo26.jpg",
                    "description":"",
                    "position":"3"
                }
            }
        ],
        "features":{
            "internal":[
                {
                    "id":"2",
                    "nombre":"Alarma",
                    "name":""
                },
                {
                    "id":"4",
                    "nombre":"Amoblado",
                    "name":""
                }
            ],
            "external":[
                {
                    "id":"53",
                    "nombre":"Árboles frutales",
                    "name":""
                }
            ]
        },
        "label": "",
        "owner": "own"
    },
    "status":"success"
}

El campo owner en el JSON de respuesta indica si la propiedad obtenida es propia (own) o de una empresa aliada (allied).

Note

Si se envía el parametro short con valor true retorna una versión reducida de la propiedad, sin el listado de Galerías y Características. Estos listado se pueden obtener de forma independiente como esta indicado en Galerías de la propiedad, y Características de la propiedad.