Get the availability of a property.
Endpoint: https://ws.icnea.net/pricing_get_calendar.aspx?usr=a1b2c3d4e5&id=12341001
You will get the dates coming 1 year and past 1 year from the date of the call.
The ‘status’ can be ‘booked’ or ‘unbooked’.
For the rates:
...
Code Block | ||
---|---|---|
| ||
{ "get_calendar": { "lodging_id": "12341001", "currency": "EUR", "dates": [ { "date": "2020-10-01", "units": "", "status": "booked", "available": "", "booking_id", "", "rates": [ { "rate": "", "people": "2", "nights": "1", "price": "110.00", "minimum": "3" }, { "rate": "", "people": "3", "nights": "1", "price": "125.00", "minimum": "3" }, { "rate": "", "people": "4", "nights": "1", "price": "135.00", "minimum": "3" }] }, { "date": "2020-10-02", "status": "booked", "available": "", "booking_id", "", "rates": [ { "rate": "", "people": "2", "nights": "1", "price": "110.00", "minimum": "3" }, { "rate": "", "people": "3", "nights": "1", "price": "125.00", "minimum": "3" }, { "rate": "", "people": "4", "nights": "1", "price": "135.00", "minimum": "3" }] }, { "date": "2021-10-01", "status": "unbooked", "available": "", "booking_id", "", "rates": [] }] } } |