Get Timetable

This method retrieves schedule info. It lists all flights in requested route and operation days in a week.

Input & Output

Input

Name

Description

Type

Required

scheduleType

W for weekly schedule, M for monthly, D for daily

String (W, M, D)

Yes

tripType

O for one way, R for round trip

String (O, R)

Yes

returnDate

Return Date

String YYYY-MM-DD

Optional

OTA_AirScheduleRQ

Name

Description

Type

Required

AirlineCode

2-letter airline code

String (i.e. "TK", "AJ")

No

OTA_AirScheduleRQ.OriginDestinationInformation.DepartureDateTime

Name

Description

Type

Required

Date

Departure day and month

String YYYY-MM-DD

Yes

WindowAfter

How many days should be return after departure date. (If it is P3D, 3 days of schedule will be returned briefly. If it is P0D, only that day in departureDateTime will be returned with all flights.)

String (P0D, P3D)

Yes

WindowBefore

How many days should be return before departure date. (If it is P3D, 3 days of schedule before DepartureDateTime will be returned briefly. If it is P0D, only that day in departureDateTime will be returned with all flights.

String (P0D, P3D)

Yes

OTA_AirScheduleRQ.OriginDestinationInformation.OriginLocation

Name

Description

Type

Required

LocationCode

IATA portcode

String (IST, LHR)

Yes

MultiAirportCityInd

If that city has more than one airport, this should be set as true to get flights departing from all airports in that city.

Boolean

Yes

OTA_AirScheduleRQ.OriginDestinationInformation.DestinationLocation

Name

Description

Type

Required

LocationCode

IATA portcode

String (IST, LHR)

Yes

MultiAirportCityInd

If that city has more than one airport, this should be set as true to get flights departing from all airports in that city.

RPH

"RPH":"0_1" -> first digit (0) shows number of flight option listed. Second digit (1) shows number of connected flight of a flight option. “0_1” means first flight in the list has only one flight (no connected flight)

String

extendedOTAAirScheduleRS.OTA_AirScheduleRS.OriginDestinationOptions

Name

Description

Type

DestinationCode

Requested destination port code

String

OriginCode

Requested origin port code

String

..OriginDestinationOptions.OriginDestinationOption.FlightSegment

Name

Description

Type

ScheduleValidStartDate

It shows valid start date in a week of that schedule

String

ScheduleValidEndDate

It shows valid end date in a week of that schedule

String

StopQuantity

Count of stopover points

String

RPH

First digit shows count of flights, second one shows connected flight count. (i.e. 0_2: 0 for first flight; 2 for connected flights)