/
GET Calendar

GET Calendar

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:

  • “people”: the number of people for that rate. If the property has only standard rate, it will
    show the maximum capacity.

  • “nights”: the number of nights for that rate. If the property doesn’t have different prices
    per number of nights, it will always show 1.

  • "rates": [] if you see empty rates, it’s because the property manager hasn’t put prices
    for these dates yet.

 

{ "pricing_get_calendar_response": { "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": [] }] } }

 

Related pages