Now the getProperties functionality delivers a response containing filters, which will allow to develop a more efficient filtering system for property listing results.
Portal API (v2) is a Mapaprop service that allows you to develop portals with SERVERLESS technologies, directly obtaining results to serve them in your Webapp.
The enhancement simplifies code development for filters, as everything is now integrated into the response.
For more details about Portal API v2 you can take a look at this documentation https://pucaralabs.notion.site/Portal-API-dd728b288a6340859136f65f64e615a2
{
"took": 11,
"total": 197,
"filters": {
"bedrooms": "1",
"size": "20",
"tempOccupancy": "2",
"dateTo": "28-02-2019",
"from": "1",
"state": {
"zone0Id": 1,
"description": "Buenos Aires",
"zone1Id": 2
},
"dateFrom": "20-02-2019",
"type": {
"name": "Departamento",
"id": "1"
},
"operation": {
"name": "Alquiler Temporario",
"id": "3"
},
"buildingStatus": "6"
},
"properties": [....]
}
This is the documentation of the change https://pucaralabs.notion.site/GET-api-action-portal-v2-properties-country-8d35e33cf4d24ff5968928dbd2a87f51