Search by Geo
1 min
Search by Geo
Search availability and rates for one or more properties using latitude and longitude parameters.
Supports multi-room (occupancyq-based) queries and returns results only for properties that pass system validation and configuration limits.
POST
https://wspull.bakuun.com/{version}/mpsoccupancy/{PartnerCode}/XXXXXX
{
"username": "xxxx",
"password": "xxxx",
"partnerId": "xxxx",
"multiSearchByGeo": {
"geoLat": "19.484011",
"geoLong": "99.053970"
},
"checkInDate": "YYYY-MM-DD",
"checkOutDate":"YYYY-MM-DD",
"ratesByOccupancy": {
"occupancies": [
{
"occupancyRefId": 1,
"numberOfAdults": 2,
"numberOfChildren": 21,
"childrenBlocks": [
{
"childBlock": 1,
"numberOfChildren": 5,
"childrenAges": "1"
},
{
"childBlock": 2,
"numberOfChildren": 2,
"childrenAges": "3"
}
]
},
{
"occupancyRefId": 2,
"numberOfAdults": 1,
"numberOfChildren": 0
}
]
}
}