How can we help?
Follow
GetPackages

Notes:

1) The usage of the GetPackages feature needs to be enabled in Travolutionary for the affiliate.

 2) The room details as appear in the voucher & confirmations templates and in the back-office, will be replaced with the RoomName that was returned in this API call response and as was saved in our database when the segment was created.

3) In OrderService, GetOrder & GetOrders methods were adjusted to return the RoomName as returned in this API call response and as was saved in our database when the segment was created.

IMPORTANT:

SENDING PARALLEL REQUESTS IN THE SAME SESSION, FOR THE SAME HOTEL ID WILL LEAD TO INSTABILITY/INCONSISTENCY IN THE RESPONSE. YOU MUST WAIT UNTIL A RESPONSE IS RETURNED BEFORE SENDING A NEW REQUEST WITH SAME HOTEL ID.

Please follow the explanations and examples below.

The request must be directed to the following service (unless you are using a dedicated endpoint):

http://services.carsolize.com/BookingServices/dynamicdataservice.svc  

Request (XML)

Method: POST

Host: Your service URL path

Content-Length: 628

Expect: 100-continue

Accept-Encoding: gzip, deflate

SOAPAction: "http://tempuri.org/IDynamicDataService/ServiceRequest"

Content-Type: text/xml; charset=utf-8


Request (JSON)

Method: POST

Host: Your service URL path

Content-Type: application/json; charset=utf-8

Content-Length: 257

Expect: 100-continue

Accept-Encoding: gzip, deflate

 

Request Body

Field Name Field Type Description Mandatory
HotelID Integer The HotelID that was returned in the search response of the specified SessionID (see below) and for which the GetPackages should return a result. Yes
ReturnTaxesAndFees

 Boolean

false - Taxes and fees details will not return in the response.
true - The result will include full taxes and fees breakdown, only if the below two conditions are met:

1. The supplier returned Taxes and Fees information.

2. The implementation of reading this information is part of the supplier integration in the system.

Currently, the following suppliers integrations are implemented to support this functionality:

Amadeus, Bonotel, Booking.com, Expedia, ExpediaSite, GetARoom, GRNConnect, Hotelbeds (V2 - APItude), Priceline, Tourico

 No
TimeoutSeconds

Integer

Specify the maximum wait time for the results to be returned.

No
SessionID String The SessionID as returned in the Search Response and in which the HotelID was returned. Yes
RequestType ServiceRequestType GetPackages Yes
TypeOfService ServiceTypeEnum Hotels Yes

 

 

Response Body

Note:
This part includes only partial elements of the response and only the room elements that changed/added compared to the "old" HotelsSupplierDetails Response.

Field Name

Field Type

Description

RoomsContent

ArrayOfRoomContent

Includes the Room Content: Amenities, Descriptions, Images and a reference point (RoomKey) to be used as a “Room Content Dictionary”.

RoomContent

RoomContent

 

Amenities

ArrayOfstring

List of Room Amenities as retrieved from the source and processed by TV.

Descriptions

ArrayOfstring

List of Room Descriptions as retrieved from the source and processed by TV.

Images

ArrayOfstring

List of Room Images as retrieved from the source and processed by TV.

Note: the images are sorted in a recommended display manner.

RoomKey

String

The room key of the room’s content source. The room’s TargetRoomKey that was retrieved in the Result should be matched to this RoomKey in order to fetch the corresponding Room Content.

 

Please download attached examples.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk