tripLegs
A grouping of four separate trip segments. Each leg contains detailed itinerary information.
-
F - first class
-
J - business class
-
W - premium economy class
-
Y - economy class
-
false - not allowed
-
true - allowed
-
F - first class
-
J - business class
-
W - premium economy class
-
Y - economy class
-
false - not allowed
-
true - allowed
-
F - first class
-
J - business class
-
W - premium economy class
-
Y - economy class
-
false - not allowed
-
true - allowed
-
F - first class
-
J - business class
-
W - premium economy class
-
Y - economy class
-
false - not allowed
-
true - allowed
leg1
object
Contains detailed itinerary information for one of the trip legs
flight
object
Operating Carrier Code and the Number of the airline flight to be taken on Leg of the trip (excluding the carrier code).
Possible values: >= 2 characters
and <= 2 characters
Operating Carrier Code; the standard abbreviation code indicating name of the operating carrier like United Airlines, Jet Blue, etc.
Possible values: non-empty
and <= 5 characters
Number of the airline flight to be taken on Leg of the trip excluding the carrier code.
Possible values: non-empty
and <= 1 characters
, [F
, J
, W
, Y
]
Indicates service class (first class, business class, etc.). Example values (not limited to):
Indicates whether a stopover is allowed on this ticket. Valid values are:
Possible values: >= 3 characters
and <= 3 characters
Destination Airport Code (IATA Airport Code).
Possible values: non-empty
and <= 6 characters
Contains a Fare Basis Code for Leg that carriers assign to a particular ticket type, such as business class or discounted/nonrefundable.
Date of passenger’s departure for this leg. Date format = YYYY-MM-DD, ISO 8601 expected. For example, 2014-01-26
leg2
object
Contains detailed itinerary information for one of the trip legs
flight
object
Operating Carrier Code and the Number of the airline flight to be taken on Leg of the trip (excluding the carrier code).
Possible values: >= 2 characters
and <= 2 characters
Operating Carrier Code; the standard abbreviation code indicating name of the operating carrier like United Airlines, Jet Blue, etc.
Possible values: non-empty
and <= 5 characters
Number of the airline flight to be taken on Leg of the trip excluding the carrier code.
Possible values: non-empty
and <= 1 characters
, [F
, J
, W
, Y
]
Indicates service class (first class, business class, etc.). Example values (not limited to):
Indicates whether a stopover is allowed on this ticket. Valid values are:
Possible values: >= 3 characters
and <= 3 characters
Destination Airport Code (IATA Airport Code).
Possible values: non-empty
and <= 6 characters
Contains a Fare Basis Code for Leg that carriers assign to a particular ticket type, such as business class or discounted/nonrefundable.
Date of passenger’s departure for this leg. Date format = YYYY-MM-DD, ISO 8601 expected. For example, 2014-01-26
leg3
object
Contains detailed itinerary information for one of the trip legs
flight
object
Operating Carrier Code and the Number of the airline flight to be taken on Leg of the trip (excluding the carrier code).
Possible values: >= 2 characters
and <= 2 characters
Operating Carrier Code; the standard abbreviation code indicating name of the operating carrier like United Airlines, Jet Blue, etc.
Possible values: non-empty
and <= 5 characters
Number of the airline flight to be taken on Leg of the trip excluding the carrier code.
Possible values: non-empty
and <= 1 characters
, [F
, J
, W
, Y
]
Indicates service class (first class, business class, etc.). Example values (not limited to):
Indicates whether a stopover is allowed on this ticket. Valid values are:
Possible values: >= 3 characters
and <= 3 characters
Destination Airport Code (IATA Airport Code).
Possible values: non-empty
and <= 6 characters
Contains a Fare Basis Code for Leg that carriers assign to a particular ticket type, such as business class or discounted/nonrefundable.
Date of passenger’s departure for this leg. Date format = YYYY-MM-DD, ISO 8601 expected. For example, 2014-01-26
leg4
object
Contains detailed itinerary information for one of the trip legs
flight
object
Operating Carrier Code and the Number of the airline flight to be taken on Leg of the trip (excluding the carrier code).
Possible values: >= 2 characters
and <= 2 characters
Operating Carrier Code; the standard abbreviation code indicating name of the operating carrier like United Airlines, Jet Blue, etc.
Possible values: non-empty
and <= 5 characters
Number of the airline flight to be taken on Leg of the trip excluding the carrier code.
Possible values: non-empty
and <= 1 characters
, [F
, J
, W
, Y
]
Indicates service class (first class, business class, etc.). Example values (not limited to):
Indicates whether a stopover is allowed on this ticket. Valid values are:
Possible values: >= 3 characters
and <= 3 characters
Destination Airport Code (IATA Airport Code).
Possible values: non-empty
and <= 6 characters
Contains a Fare Basis Code for Leg that carriers assign to a particular ticket type, such as business class or discounted/nonrefundable.
Date of passenger’s departure for this leg. Date format = YYYY-MM-DD, ISO 8601 expected. For example, 2014-01-26