Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Get the availability of a property.

Endpoint: https://ws.icnea.net/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.

{
  "get_calendar": {
    "lodging_id": "12341001",
    "currency": "EUR",
    "dates": [
    {
      "date": "2020-10-01",
      "status": "booked",
      "rates": [
      {
        "people": "2",
        "nights": "1",
        "price": "110.00",
        "minimum": "3"
      }, {
        "people": "3",
        "nights": "1",
        "price": "125.00",
        "minimum": "3"
      }, {
        "people": "4",
        "nights": "1",
        "price": "135.00",
        "minimum": "3"
      }]
    }, {
      "date": "2020-10-02",
      "status": "booked",
      "rates": [
      {
        "people": "2",
        "nights": "1",
        "price": "110.00",
        "minimum": "3"
      }, {
        "people": "3",
        "nights": "1",
        "price": "125.00",
        "minimum": "3"
      }, {
        "people": "4",
        "nights": "1",
        "price": "135.00",
        "minimum": "3"
      }]
    }, {
      "date": "2021-10-01",
      "status": "unbooked",
      "rates": []
    }]
  }
}

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.