API DOCUMENTATION
getProperties (pOST)
Returns all the company’s properties information.
Body params:
- active(boolean, optional): Boolean indicating whether to filter properties by their active status. A value of 0 or null returns all properties, while a value of 1 returns only the active properties.
 
Request examples
CURL:
curl --location 'https://movin.cloud/api/real-estate/get-properties' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer SECRETOKEN'
Body example:{
    "active": 1
}
Response Example
{    "data": [
       {,
        "id_property": "MjckNzI4Mw==",
        "name": null,
        "reference": "122716",
        "address": "fdfnhzhfhzfnfh",
        "cadastral_number": "sfhghfhfhf",
        "commercialization_type_info": {
            "id_commercialization_type": 1,
            "commercialization_name": "Venta"
        },
        "registration_date": "2022-02-09",
        "status_info": {
            "id_status": 4,
            "status_name": "Publicado (disponible)"
        },
        "substatus_info": {
            "id_substatus": 10,
            "substatus_name": "Vendido por nuestra Inmobiliaria"
        },
        "captured_by_info": {
            "captured_by": "MjQkMzg4MDM=",
            "captured_by_name": "Daniel",
        "captured_by_surnames": "4DMOVIN"
        },
        "captured_by_2_info": {
            "captured_by_2": "MjQkMzQ5MzY=",
            "captured_by_2_name": "Prensa"
        },
        "property_type_info": {
            "id_property_type": 5,
            "property_type_name": "Parking"
        },
        "property_subtype_info": {
        "id_property_subtype": 34,
            "property_subtype_name": "Parking"
        },
        "owner_info": {
            "id_owner": "MjQkMzYxMTU=",
            "owner_name": "Aitor",
            "owner_surnames": "Perez",
            "owner_phone_number": "345668553"
        },
        "price": "100000.00",
        "sqm_to_publish": "464.00",
        "zip_code": "564565",
        "geo_fullname": "Barcelona, Província de Barcelona, Catalunya, ES",
        "languages": []
    } ...
  ]
}
