The booking detail operation is used to retrieve booking status and booking information (same as in booking confirmation response).
This request is usefull in order to check the booking status of an specific booking or if any content/remarks change has been made since the booking confirmation.
The request can be performed in two different ways:
GET https://api.test.hotelbeds.com/activity-api/3.0/bookings/{{language}}/{{HB_booking_reference}}
-See the request parameters by HB reference:
NODE/ATTRIBUTE |
TYPE |
MANDATORY |
DESCRIPTION |
LANGUAGE |
String |
Y |
Language code in which the response will be provided. |
BOOKING_REFERENCE |
String |
Y |
Booking reference provided after the confirmation. |
GET https://api.test.hotelbeds.com/activity-api/3.0/bookings/{{language}}/{{customer_reference}}/{{holder_name}}/{{holder_surname}/{{start_date}}/{{end_date}}/
-See the request parameters by customer reference :
NODE/ATTRIBUTE |
TYPE |
MANDATORY |
DESCRIPTION |
LANGUAGE |
String |
Y |
Language code in which the response will be provided. |
CUSTOMER_REFERENCE |
String |
Y |
Customer reference provided in the confirmation request |
HOLDER_NAME |
String |
Y |
Holder name provided in the confirmation request |
HOLDER_SURNAME |
String |
Y |
Holder surname provided in the confirmation request |
START_DATE |
String |
Y |
Starting date provided in the confirmation request |
END_DATE |
String |
Y |
End date provided in the confirmation request |