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 5 Next »

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=a1b2c3d4e5&id=12341001

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:

{
  "get_reservations": {
    "bookings": [
    {
      "lodging_id": "12341001",
      "booking_id": "1234121984",
      "status": "confirmed",
      "country": "Spain",
      "channel": "Airbnb",
      "channel_booking_id": "HMXE34234",
      "booking_date": "2017-05-23",
      "cancel_date": "",
      "arrival_date": "2017-10-05",
      "departure_date": "2017-10-08",
      "amount": "394.85",
      "currency": "EUR"
    },{
      "lodging_id": "12341001",
      "booking_id": "1234121984",
      "status": "cancelled",
      "country": "Spain",
      "channel": "Airbnb",
      "channel_booking_id": "",
      "booking_date": "2017-05-23",
      "cancel_date": "2017-10-01",
      "arrival_date": "2017-10-05",
      "departure_date": "2017-10-08",
      "amount": "394.85",
      "currency": "EUR"
    }]
  }
}

  • 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.