How can we help?
Follow
Flight Search & Fare Info (Flight Details)

Before you proceed with Hotel Booking process you need to produce a Login request as explained in the Login section, and receive a session ID.

For location codes we are using simple IATA codes.

This function submits a query to all active suppliers, based on different parameters and search criteria (Destination City, Currency, Country of Residency, Dates, number of nights, number of rooms, number of guests per room etc). Response contains list of unique flight routes from different suppliers. 

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

FlightSearchRequest Fields:

Field Name Explanation
<ClientIP> Not required in search request.
<DesiredResultCurrency> Currency ISO.
<Residency> Lead pax residency,ISO CountryCode.
<DaysAfter>

numbers of days to search after the chosen date, for flexibility dates. This value is sent to suppliers who support that functionality.

<DaysBefore> numbers of days to search before the chosen date, for flexibility dates. This value is sent to suppliers who support that functionality.
<DirectFlights> true, false.
<FlightClass> Preferred flight class to request: Economy, Business, First, PremiumFirst, PremiumEconomy. The response might include other classes if the supplier returned them.
<FlightConnectionType> Is a number of stopovers between each pair of Origin and Destination points.
Values: OneConn, TwoConn, NonStop, Direct.
<FlightRoute> Represent the whole flight route.
<FlightLegRequest> FlightLeg is a part of a trip between Origin and its Destination point.
<DepartDateTime> For example: 2014-11-20.
<DestinationCode> IATA codes, for example: MAD.
<DestinationNearbyCities> Search for destination nearby airports. Values: true, false.
<DestinationType> You can search for flight from/to specific Airport or any Airport in a specific City. Values: Airport, City.
<OriginCode> IATA codes, for example: BCN.
<OriginNearbyCities> Search for origin nearby airports. Values: true, false.
<PassengerType> Adult, Child, Infant, Senior, Student, Military.
<OriginType> You can search for flight from/to specific Airport or any Airport in a specific City. Values: Airport, City.
</FlightLegRequest>  
</FlightRoute>  
<Passengers>  
<RequestPersonType>  
<Count> Int number of passengers of the specified Passenger Type.
<PassengerType> Adult, Child, Infant, Youth, Senior, Student, Military.
</RequestPersonType>  
</Passengers>  
<RefundableOnly>true

"true" - returns only refundable results.

"false" - returns all results.

</RefundableOnly>

Closer for RefundableOnly.

<SpecificCarriers> Optional. Search by specific carrier.
<a:string>IB</a:string> String specified carries. For example:Iberia = "IB".
</SpecificCarriers>  
</FlightSearchRequest>  
RequestType "Search".
SessionID Session to use on the rest of the booking flow.
TypeOfService "Flights".

Response fields:

Field Name Explanation
FlightLegSegment A part of a trip between two landing points
Faretype

Private - Private airfares were introduced as a way for airlines to sell excess inventory at a special price, available only with dedicated contracts.

Public - Public airfares are available through the airline directly and are also sold through any travel agency—both traditional and online.

FareInfoRequest (Flight Details):

Field Name Explanation
RouteId RouteId retrieved on search response, which more information is required on.
RequestType GetAdditionalDetails
SessionID SessionID retrieved on search response, which will be used for the rest of the booking flow.
TypeOfService Flights

 

This function retrieves chosen flights details, fare rules relevant to the flights and cancellation policy terms.

POST http://services.travolutionary.com/BookingServices/DynamicDataService.svc HTTP/1.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/IDynamicDataService/ServiceRequest"
Host: services.travolutionary.com
Content-Length: 595
Expect: 100-continue
Accept-Encoding: gzip, deflate
Connection: Keep-Alive

Please note:

If a price returned in the fare info response is different from the price returned in the search response, then the latest will be the booking price. The new booking price will also return in the booking response. 

Please download attached examples.

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

Comments

Powered by Zendesk