/
3.1. FLIGHT SCHEDULE SEARCH REQUEST

3.1. FLIGHT SCHEDULE SEARCH REQUEST

Flight Schedule Search Request is used to search flight schedules for a city or airport pairs (also allowed city-airport and airport-city search). The request also can be narrowed to request schedules for a specific airline or specific flight.

OTA_AirScheduleRQ*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

 

PrimaryLangID

 

For more information see Common Data Description section in Glossary.

1..1

AvailableFlightsOnly

boolean (“false“)

If it is set to "true", it is used to search for available classes. If it is set to "false", it is used to search for all classes.

0..1

TimeTableOnly*

boolean (“false“)

Displays the timetable for a day, that contains both available flights and classes. For the Flight Schedule Search message it must be always “false“.

1..1

OriginDestinationInformation*

 

 

Contains information about requested flight. If you need to book several flights at once (for instance, you need two flights for round trip), then create a specific OriginDestinationInformation element for each flight.

1..6

FlightInfo

 

 

Contains information about specific flight criteria.

0..3

FlightTypePref

 

 

For more information see Common Data Description section in Glossary.

0..1

OTA_AirScheduleRQ/OriginDestinationInformation*:

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

 

RPH*

 

The index number of requested flight. If you need to book several flights at once (for instance, you need two flights for round trip) use unique RPH value for each flight.

1..1

DepartureDateTime*

 

 

For more information see Flight Low Fare Search Request section.

1..1

OriginLocation*

 

 

1..1

DestinationLocation*

 

 

1..1

ConnectionLocations

 

 

0..1

OTA_AirScheduleRQ/FlightInfo:

Element

Attribute

Type

Description

Min…Max occurs

Element

Attribute

Type

Description

Min…Max occurs

FlightNumber

 

integer (0-9999)

Identifies specific flight number.

0..1

Airline*

 

 

Identifies airline for the requested flight.

Element can display maximum 3 airlines. Please check with GP Travel HUB development if you are interested in specific suppliers limits.

1..3

 

Code*

string (2-3)

Identifies a company by the IATA company code.

1..1

BookingClassPref

 

 

It is used to search for the specific Booking class flights.

Note: This functionality supported for limited suppliers. Please check with GP Travel HUB development if you are interested in specific supplier.

0..3

 

ResBookDesigCode*

string

Defines the particular Reservation Booking Designator (RBD) code.

The combinations of search are the following:

  • If the particular airline is defined in separate FlightInfo, and the BookingClassPref is defined in separate FlightInfo as well, it's expected to get all the results from all airlines with BookingClass Z, but among them at least one selected airline should appear (see example in Use Cases section).

  • If either Airline or BookingClassPref are defined in one and the same element, that means that least one specified airline should appear in origDestOption and only this airline should be only with BookingClass Z, another airlines can have all Booking Classes (see example in Use Cases section).

1..1

 

<OTA_AirScheduleRQ PrimaryLangID="en" EchoToken="12345" Version="2" AvailableFlightsOnly="false" TimeTableOnly="false" xmlns="http://www.opentravel.org/OTA/2003/05"> <POS> <Source> <RequestorID ID="client" MessagePassword="pwd" Type="22"/> <BookingChannel Type="7" PriceDomain="1"/> </Source> </POS> <OriginDestinationInformation RPH="1"> <DepartureDateTime>2020-04-25T12:00:00</DepartureDateTime> <OriginLocation LocationCode="DME" CodeContext="IATA.supplierCode" LocationType="airport"/> <DestinationLocation LocationCode="MUC" CodeContext="IATA.supplierCode"/> </OriginDestinationInformation> <OriginDestinationInformation RPH="2"> <DepartureDateTime>2020-04-27T12:00:00</DepartureDateTime> <OriginLocation LocationCode="MUC" CodeContext="IATA.supplierCode"/> <DestinationLocation LocationCode="TXL" CodeContext="IATA.supplierCode" LocationType="airport"/> </OriginDestinationInformation> <FlightInfo> <Airline Code="LH"/> </FlightInfo> <FlightTypePref FlightType="Direct"/> </OTA_AirScheduleRQ>

Related content

3.2. FLIGHT SCHEDULE SEARCH RESPONSE
3.2. FLIGHT SCHEDULE SEARCH RESPONSE
More like this
4.1. FLIGHT TIME TABLE SEARCH REQUEST
4.1. FLIGHT TIME TABLE SEARCH REQUEST
More like this
3. FLIGHT SCHEDULE SEARCH
3. FLIGHT SCHEDULE SEARCH
More like this
2.2. FLIGHT LOW FARE SEARCH RESPONSE
2.2. FLIGHT LOW FARE SEARCH RESPONSE
More like this
2.1. FLIGHT LOW FARE SEARCH REQUEST
2.1. FLIGHT LOW FARE SEARCH REQUEST
More like this