Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

URL = Get the list of reservations in a property, from one year back to one year after the date.

For example, if today is 19/06/2020, you will get all the reservations from 19/06/2019 to 19/06/2021.

Endpoint: https://ws.icnea.net/get_reservations.aspx?usr=$8$8$8$8$&id=81001
With this one you will get all the reservations in the calendar, from one year back to one year after
the date. Code Block{

Parameter

Type

Description

usr

string

API_key for your company, provided by Icnea

id

integer

lodging_id

You will get a response with this information:

Code Block
languagejson
{
  "get_reservations": {
    "bookings": [
    {
      "lodging_id": "81001",
      "booking_id": "8121984",
      "arrival_date": "2017-10-05",
      "departure_date": "2017-10-08",
      "amount": "394.85",
      "currency": "EUR"
    },{

...

      "lodging_id": "81001",
      "booking_id": "8121984",
      "arrival_date": "2017-10-05",
      "departure_date": "2017-10-08",
      "amount": "394.85",
      "currency": "EUR"
    }]
  }
}