/
GET Reservation
GET Reservation
Get the information of a specific reservation.
Endpoint: https://ws.icnea.net/pricing_get_reservation.aspx?usr=a1b2c3d4e5&id=12341001&booking_id=1234100092
Parameter | Type/format | Required? | Description |
---|---|---|---|
usr | string | mandatory | API_key for your company, provided by Icnea |
id | integer | mandatory | lodging_id |
booking_id | integer | mandatory | booking_id |
You will get a response with this information:
{
"pricing_get_reservation_response": {
"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",
"number_of_adults": "2",
"number_of_children": "0",
"number_of_infants": "0",
"amount": "300.00",
"booking_fee": "0",
"cleaning_fee": "0",
"checkin_fee": "0",
"shortstay_fee": "0",
"tourist_tax": "0",
"creditcard_fee": "0",
"earlybooking_discount": "0",
"longstay_discount": "0",
"lastminute_discount": "0",
"stardard_discount": "0",
"promotional_discount": "0",
"channel_commission": "0",
"extra_amounts": "0",
"rate_name": "",
"currency": "EUR",
"dates": [
{
"date": "",
"import": ""
}, {
"date": "",
"ipmort": ""
}
]
}
}