object An optional section with travel related data.
object The section with airline ticket data.
agency_code
string IATA agency code, for example, 03.
agency_name
string Name of the agency that sold the ticket, for example, Coral travel.
ticket_number
string 14-digit ticket number. Should contain 3-digit ticketing code, 4-digit form number, 6-digit serial number, and check digit, for example, 390 5241 025377 1.
booking_number
string For example, DKZVUA.
restricted_ticked_indicator
string If the ticket can be returned, the field value is 0, otherwise it is 1
array An optional array of travel legs. Every leg consists of:
airline_code
string 2-letter IATA code, for example, B2.
stop_over_code
string IATA stopover code. If a traveler stays in the originating city more than 24h, then set the field value to O or leave it empty. If the originating airport is a transit airport, then set the field value to X.
flight_number
string For example, A3 971.
departure_date_time
string For example, 2014-05-26T05:15:00.
arrival_date_time
string For example, 2014-05-26T07:30:00.
originating_country
string For example, RU.
originating_city
string For example, Moscow.
originating_airport_code
string 3-letter IATA code, for example, DME.
destination_country
string For example, Greece.
destination_city
string For example, Athens.
destination_airport_code
string 3-letter IATA code, for example, ATH.
coupon
string Coupon number if it was applied.
class
string Class flight, 1-letter IATA code. For example, C.
array List of passengers where every list item consists of:
first_name
string First name of the passenger, for example, KONSTANTIN.
last_name
string Last name of the passenger, for example, IVANOV.