/
GET Reservations

GET Reservations

Get the list of reservations for a specific property for future dates.

Endpoint: https://ws.icnea.net/services_get_reservations.aspx?api_key=a1b2c3d4e5&lodging_id=12341234

Parameter

Type

Description

Parameter

Type

Description

api_key

string

API_key for your company, provided by Icnea.

lodging_id

integer

Property ID that you can read in services_get_properties

 

The response will be a JSON with the list of reservations:

{ "services_get_reservations_response": { "reservations": [ { "lodging_id": 12341001, "booking_id": "1234123456", "booking_date": "2022-08-05", "booking_cancellation_date": "", "booking_status": "confirmed", "check_in_date": "2022-09-01", "check_out_date": "2022-09-11", "check_in_time": "16:00", "check_out_time": "09:00", "channel": "", "channel_booking_id": "", "number_of_adults": "2", "number_of_children": "0", "number_of_infants": "0", "currency": "EUR", "app_url": "", "guest_name": "Arya", "guest_email": "arya@icnea.com", "guest_phone": "0034123456789", "guest_language": "ca" }, { "lodging_id": 12341002, "booking_id": "1234123457", "booking_date": "2022-08-05", "booking_cancellation_date": "2022-08-06", "booking_status": "cancelled", "check_in_date": "2022-09-01", "check_out_date": "2022-09-11", "check_in_time": "16:00", "check_out_time": "09:00", "channel": "Booking.com", "channel_booking_id": "28493048493", "number_of_adults": "3", "number_of_children": "1", "number_of_infants": "0", "currency": "EUR", "app_url": "", "guest_name": "Sansa", "guest_email": "sansa@icnea.com", "guest_phone": "", "guest_language": "it" } ] } }

Parameter

Type

Description

Parameter

Type

Description

lodging_id

integer

Unique ID of the property. 5-digits (in testing accounts) or 8-digits (in real accounts) number.

booking_id

integer

10-digits number

booking_date

date

yyyy-MM-dd

booking_cancellation_date

date

yyyy-MM-dd

booking_status

string

confirmed / cancelled

check_in_date

date

yyyy-MM-dd

check_out_date

date

yyyy-MM-dd

check_in_time

string

HH:mm (local time)

check_out_time

string

HH:mm (local time)

channel

string

 

channel_booking_id

string

 

number_of_adults

string

 

number_of_children

string

 

number_of_infants

string

 

currency

string

3-char format: EUR, USD, …

app_url

string

URL of the guest app for this reservation.

guest_name

string

 

guest_email

string

 

guest_phone

string

 

guest_language

string

2-digits ISO: en, es, it…

 

Related content

GET Cleanings
More like this
Basic example
Basic example
Read with this
GET Reservations
GET Reservations
More like this
GET Reservation
More like this
GET Icals
More like this
GET Calendar
More like this