Flight API · Search & pricing
FlightCheckSearch
This function is used to fetch the latest LCC results in relation to a previous FlightStartSearch. It should call with a suitable delay between each of 3 seconds delay in a global interval of 60 seconds until all suppliers “complete” status is set to True. Please note that responses may contain cached data that will be updated at a later stage.
Request
<FlightCheckSearchRQ>
<Credentials>
<Login>?</Login>
<Password>?</Password>
</Credentials>
<User>?</User>
<Curr>?</Curr>
<Ilng>?</Ilng>
<Content>?</Content>
<CarrierCode>?</CarrierCode>
<FlightOptions>
<Passenger>
<Adult>?</Adult>
<Child>?</Child>
<Infant>?</Infant>
</Passenger>
<FlightType>?</FlightType>
<DepartureDate>?</DepartureDate>
<ReturnDate>?</ReturnDate>
</FlightOptions>
</FlightCheckSearchRQ>| Root | Sub root | Tag | Description | Values & Format |
|---|---|---|---|---|
| Credentials | Mandatory | |||
| Login | Mandatory | |||
| Password | Mandatory | |||
| User | Mandatory | |||
| Curr | Optional | 3 alphanumeric character | ||
| Ilng | Mandatory | Numeric value | Default value 2 (English) | |
| Content | Optional | LCC : low cost flights, Train: low cost trains Empty means lcc | ||
| CarrierCode | Carrier code to used to get lcc flights | |||
| FlightOptions | Passenger | Mandatory | This parameter is designed to specify the number of seats required for the travelling passengers of flights | Maximum 9 passengers |
| Passenger:Adult | Mandatory | Numeric value | At least one adult must be specified | |
| Passenger:Child | Mandatory | Numeric value | It can be 0 or plus | |
| Passenger:Infant | Mandatory | Numeric value | It can be 0 or plus | |
| FlightType | Optional | The User has the ability to request Non-Stop or Direct flights; or also a combination of these categories | N: Direct (No-Stop) D: Direct (with technical stopover) X: Direct (No-Stop) & Direct (with technical stopover) | |
| DepartureDate | Mandatory | The earliest date that a recommended flight may "depart from" | dd/MM/yyyy | |
| ReturnDate | Optional | The latest date that a recommended flight may "return from" | dd/MM/yyyy |
<FlightCheckSearchRS>
<CarrierCode>?</CarrierCode>
<Complete>?</Complete>
<Suppliers>
<Supplier complete="?">?</Supplier>
</Suppliers>
<Flights>
<Flight>
<Content>?</Content>
<CarrierCode>?</CarrierCode>
<Currency>?</Currency>
<Amount>?</Amount>
<Duration>?</Duration>
<Stops>?</Stops>
<Itineraries>
<Itinerary>
<Ref>1</Ref>
<CarrierCode>?</CarrierCode>
<Duration>?</Duration>
<Stops>?</Stops>
<Segments>
<Segment>
<FlightId>?</FlightId>
<Operator>?</Operator>
<Depart>?</Depart>
<DepartDate>?</DepartDate>
<DepartTime>?</DepartTime>
<Arrive>?</Arrive>
<ArriveDate>?</ArriveDate>
<ArriveTime>?</ArriveTime>
<Duration>?</Duration>
</Segment>
</Segments>
</Itinerary>
</Itineraries>
</Flight>
</Flights>
</FlightCheckSearchRS>| Root | Sub root | Tag | Description |
|---|---|---|---|
| CarrierCode | Optional | Carrier code used to get lcc flights | |
| Complete | Attribute to indicate if all suppliers return result (positive/negative) or not (true, false) | ||
| Suppliers | Supplier | Optional | Supplier which can assume lcc flights |
| complete | Optional | Attribute to indicate if result(positive/negative) is returned or not for a specific supplier (true, false) | |
| Flights:Flight | |||
| Content | Mandatory | Type of flight : always lcc | |
| CarrierCode | Mandatory | Carrier code to be used to get flight details | |
| Currency | Mandatory | Currency’s code used to calculate Flight Amount 3 alphanumeric character | |
| Amount | Mandatory | Amount of flight | |
| Duration | Mandatory | Duration of flight | |
| Stops | Mandatory | Total stop of flight | |
| Itineraries: Itinerary | Mandatory | Response for each requested itinerary | |
| Ref | Mandatory | Rank of itinerary for the flight | |
| CarrierCode | Mandatory | Carrier code to be used to get itinerary details | |
| Duration | Optional | Duration of itinerary : 99h99m | |
| Stops | Mandatory | Total stops for the itinerary | |
| Segments: Segment | Mandatory | Each itinerary can be composed by one or more segment | |
| FlightId | Mandatory | Number of flight for the segment | |
| Operator | Mandatory | Used operator for the segment | |
| Depart | Mandatory | Departure location for the segment | |
| DepartDate | Optional | Depart date for the segment : dd/MM/yyyy | |
| DepartTime | Optional | Depart time for the segment : HH:MM | |
| Arrive | Mandatory | Arrive location for the segment | |
| ArriveDate | Optional | Arrival date for the segment : dd/MM/yyyy | |
| ArriveTime | Optional | Arrival time for the segment : dd/MM/yyyy | |
| Duration | Optional | Duration for the segment | |
| Class | Optional | Type of class of specific segment |
Example
Request
<FlightCheckSearchRQ>
<Credentials>
<Login>Cu2gOrbzhN0=</Login>
<Password>mtPXhFzrzuM=</Password>
</Credentials>
<User>707</User>
<Curr>MAD</Curr>
<Ilng>1</Ilng>
<Curr>lcc</Curr>
<CarrierCode>V14EVYBWRB1EY35S</CarrierCode>
<FlightOptions>
<Passenger>
<Adult>1</Adult>
<Child>0</Child>
<Infant>0</Infant>
</Passenger>
<DepartureDate>01/10/2012</DepartureDate>
</FlightOptions>
</FlightCheckSearchRQ>Response
<FlightCheckSearchRS>
<CarrierCode>V14EVYBWRB1EY35S</CarrierCode>
<Complete>true</Complete>
<Suppliers>
<Supplier complete="true">Air Mediterranee</Supplier>
<Supplier complete="true">transavia</Supplier>
</Suppliers>
<Flights>
<Flight>
<Content>lcc</Content>
<CarrierCode>V14EVYBWRB1EY35S</CarrierCode>
<Currency>MAD</Currency>
<Amount>1347</Amount>
<Duration>02h30m</Duration>
<Stops>0</Stops>
<Itineraries>
<Itinerary>
<Ref>1</Ref>
<CarrierCode>W7OVV4JSZHGTGEQK</CarrierCode>
<Duration>02h30m</Duration>
<Stops>0</Stops>
<Segments>
<Segment>
<FlightId>TO3222</FlightId>
<Operator>Transavia France</Operator>
<Depart>ORY</Depart>
<DepartDate>01/10/2012</DepartDate>
<DepartTime>06:00</DepartTime>
<Arrive>TUN</Arrive>
<ArriveDate>01/10/2012</ArriveDate>
<ArriveTime>07:30</ArriveTime>
<Duration>02h30m</Duration>
</Segment>
</Segments>
</Itinerary>
</Itineraries>
</Flight>
<Flight>
<Content>lcc</Content>
<CarrierCode>V14EVYBWRB1EY35S</CarrierCode>
<Currency>MAD</Currency>
<Amount>1191</Amount>
<Duration>02h30m</Duration>
<Stops>0</Stops>
<Itineraries>
<Itinerary>
<Ref>1</Ref>
<CarrierCode>H8XD5ZTUKDEBZFHD</CarrierCode>
<Duration>02h30m</Duration>
<Stops>0</Stops>
<Segments>
<Segment>
<FlightId>TO3212</FlightId>
<Operator>Transavia France</Operator>
<Depart>ORY</Depart>
<DepartDate>01/10/2012</DepartDate>
<DepartTime>06:20</DepartTime>
<Arrive>MIR</Arrive>
<ArriveDate>01/10/2012</ArriveDate>
<ArriveTime>07:50</ArriveTime>
<Duration>02h30m</Duration>
</Segment>
</Segments>
</Itinerary>
</Itineraries>
</Flight>
</Flights>
</FlightCheckSearchRS>