...
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:
Code Block | ||
---|---|---|
| ||
{ "get_reservations": { "bookings": [ { "lodging_id": "12341001", "booking_id": "1234121984", "status": "confirmed", "country": "Spain", "channel": "Airbnb", "channel_booking_id": "", "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" }] } } |
...