How can we help?
Follow
BookHotelAndFlight

Description:

This function is used to book a combination of a hotel & flight as a complete package.

 

Request:

POST http://services.carsolize.com/BookingServices/DynamicPackagingService.svc HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/IDynamicPackagingService/BookHotelAndFlight"
Host: services.carsolize.com
Content-Length: 2037
Expect: 100-continue
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

 

Body:

Field Name Description Type Possible Values Mandatory
<BookHotelAndFlight  The request body BookHotelAndFlightBookRequest   Yes
SessionId Session ID from which the selected package is fetched. String   Yes
AgentRemark General remarks to be entered by the User/Agent for this booking. This information is for internal affiliate usage only and is not sent to suppliers. String   No
AgentRoomsRemarks

Can be used in case the customer has his own remarks to be sent to the supplier.

The 'Key' will be the RoomId, and the 'Value' is the remark string.  

Please notice the following:

Not all suppliers support room remarks requests.

To get the full list of suppliers which support this functionality and for which TV implemented this functionality, please contact our support team at: support@travolutionary.com

Dictionary <String, String>   No
BookingPrice The booking price should be the package price as returned in the SearchHotelAndFlight response. You can also send '0' and the system will treat this value as the 'known' package price. Double 0, PackagePrice, any other value - depends on user/affiliate configuration.  Yes
<Card> Open the Card element in case the booking should be made with CC. PaymentCard ------------------- Depends on user configuration, suppliers type, business decision, etc.
AddressLine The address of the Credit Card holder String   Yes
CID The CID of the Credit Card String   Yes
CVV The CVV of the Credit Card String   Yes
CardNumber The Number of the Credit Card String   Yes
CardType The type of the Credit Card CreditCardType Enum

Unspecified

Visa

MasterCard

AmericanExpress

Diners

Discover

Eurocard

Maestro

JCB

Yes
City The city of the Credit Card holder String   Yes
Country The country of the Credit Card holder String   Yes
Email The email of the Credit Card holder String   Yes
ExpireDate The expiration date of the Credit Card  DateTime   Yes
HolderName The Credit Card holder name. Should be {FirstName}{Space}{MiddleName}{Space}{LastName} String   Yes
Phone The phone number of the Credit Card holder String   Yes
StartDate For Debit Cards only DateTime    
State The state of the Credit Card holder String   Yes
ZipCode The zip code of the Credit Card holder String   Yes
</Card> Closer for the Card node.     Yes
FlightRouteId The Flight Route ID as returned in the SearchHotelAndFlight response which needs to be booked. Guid   Yes
HotelId The Hotel ID as returned in the SearchHotelAndFlight response, which needs to be booked. Int32   Yes
HotelPackageId The Hotel Package ID as returned in the SearchHotelAndFlight response, which needs to be booked. Guid   Yes
InternalAgentRef1 General reference to be entered by the User/Agent for this booking. This information is for internal affiliate/user usage only and is not sent to suppliers. String   No
InternalAgentRef2 Same as InternalAgentRef1 String   No
LeadPaxId

Set the ID of the lead pax. Generated on your side, and will be used for allocating on LeadPaxRoomId.

String   Yes
LeadPaxRoomId The ID of the room in which the lead pax should be accommodated. This value should be taken from the RoomId from the SearchHotelAndFlight response. String   Yes
OrderId Set the OrderId you would like for this order, or do not send any value and the system will auto-assign a value and return it in the response. Int64   No
<Passengers> The Passengers opening node. FlightCustomerInfo [] ------------------- Yes
<FlightCustomerInfo> The FlightCustomerInfo opening node. FlightCustomerInfo ------------------- Yes
<Address> The Address opening node. Address   Yes
AddressLine Full address String   Yes
CityName City name String   Yes
<CountryName> The CountryName opening node. CountryInfo ------------------- ---------------
Code Valid 2 letters CountryCode. String   Yes
Currency Not in use String   No
Language Not in use String   No
Name Country Name String   No
</CountryName> The CountryName closing node.      
PostalCode   String   No
StateProv Use in case the CountryCode is "US" or "CA", or other CountryCode that has a state. String   Yes.
Street Not in use String   No
StreetNmbr Not in use String   No
Type Not in use String   No
</Address> The Address closing node. ------------------------------------- ------------------- ------------
Allocation Specify where this passenger should be allocated. Normally, the first passenger should always be allocated on the LeadPaxRoomId  String   Yes
 <Email> The Email opening node. Email   Yes
EmailType Not in use String   No
Value Email of the customer. String    
</Email> The Email closing node . ------------------------------------- ------------------- ------------
Id Set the ID of the passenger. The first Passenger should get the ID of the LeadPaxId as you specific above. String   Yes
<PersonDetails> The PersonDetails opening node. Person   Yes
Age Use only in case of children. Int32   Yes
BirthDate Not in use. DateTime   No
<Name> The Name opening node. PersonName   Yes
GivenName Customer first name String   Yes
NamePrefix Name prefix String Mr, Ms, Mrs Yes
Surname Customer last name String   Yes
  </Name> The Name closing node. ------------------------------------- ------------------- ------------
Type Specify the passenger Person type. PersonType

Adult

Child

Infant

Youth

Senior

Student

Military

Yes
  </PersonDetails> The PersonDetails closing node. ------------------------------------- ------------------- ---------------
  <Telephone> The Telephone opening node. Phone ------------------- ---------------
CityCode Not in use String    
CountryCode Not in use String    
ExtCode Not in use String    
PhoneKind Not in use String    
PhoneNumber Specify the customer phone number. String    
  </Telephone> The Telephone closing node. ------------------------------------ ------------------- ---------------
FrequentFlyerCarrier Specify the ariline carrier in case the customer has a Frequent Flyer program String 2 Capital Letters Carrier. No
FrequentFlyerNumber Specify the number in case the customer has a Frequent Flyer program String   No
MealPreference Specify the meal preference for this passenger. Enum of MealPreference

Any

Vegetarian

GlutenFree

Kosher

LowCholesterol

LowSalt

LowProtein

NonLactose

Yes
<PassportDetails> The PassportDetails opening node. PassportDetails   Yes
CountryCode Passenger country of origin. String   Yes
ExpirationDate Expiration date of the passport. DateTime   Yes
PassportNumber Passport number String   Yes
 </PassportDetails> The PassportDetails closing node.  ----------------------------------- -------------------  ---------------
SeatPreference Specify the seat preferences for this passenger. Enum of SeatPreferences

Any

Window

Aisle

Yes
</FlightCustomerInfo> The FlightCustomerInfo closing node. ------------------------------------ ------------------- ---------------
</Passengers> The Passengers closing node. ------------------------------------ ------------------- ---------------
Remarks General remarks for the flight to be sent to supplier. Please notice the same remarks as for Hotel above. String   No
<RoomsRemarks> The RoomsRemarks opening node. Same as AgentRemarks, but those are for the customer.    
</RoomsRemarks> The RoomsRemarks closing node. ------------------------------------ ------------------- ---------------
SelectedPaymentMethod Select the payment method for this booking. PaymentMethod

Cash

CreditCardInternal

CreditCardExternal

PayUponArrival

In case of sending Credit Card on the request, No.

Other - Yes

ServiceFee Specify the Service Fee you would like to collect for this booking. Applicable only in specific scenarios. Nullable Double   No
 </BookHotelAndFlight> The BookHotelAndFlight closing node. ------------------------------------- ------------------- ---------------

 

 

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

Comments

Powered by Zendesk