Definition Type: ComplexType
Name: AirItineraryType
Containing Schema: OTA_AirCommonTypes.xsd
Abstract
Documentation:
Specifies the origin and destination of the traveler. Attributes: DirectionInd - A directional indicator that identifies a type of air booking, either one-way, round-trip, or open-jaw with the enumeration of (OneWay | RT | OpenJaw) respectively. ActionCode - Indicates the status of the booking, such as OK or Wait-List. NumberInParty - Indicates the traveler count.
Collapse XSD Schema Diagram:
Drilldown into OriginDestinationOptions in schema ota_aircommontypes_xsd1 Drilldown into DirectionInd in schema ota_aircommontypes_xsdXSD Diagram of AirItineraryType in schema ota_aircommontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:complexType name="AirItineraryType">
    <xs:annotation>
        <xs:documentation xml:lang="en">Specifies the origin and destination of the traveler.
			Attributes:
			DirectionInd - A directional indicator that identifies a type of air booking, either one-way, round-trip, or open-jaw with the enumeration of (OneWay | RT | OpenJaw) respectively.
			ActionCode - Indicates the status of the booking, such as OK or Wait-List.
			NumberInParty - Indicates the traveler count.
			 </xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:element name="OriginDestinationOptions">
            <xs:annotation>
                <xs:documentation xml:lang="en">A collection of  OriginDestinationOption</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:sequence>
                    <xs:element name="OriginDestinationOption" maxOccurs="99">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">A container for OriginDestinationOptionType.</xs:documentation>
                        </xs:annotation>
                        <xs:complexType>
                            <xs:complexContent>
                                <xs:extension base="OriginDestinationOptionType">
                                    <xs:attribute name="RefNumber" type="Numeric1to99" use="optional">
                                        <xs:annotation>
                                            <xs:documentation xml:lang="en">When a PricedItinerary element contains multiple solutions and a single price, this attribute identifies the OriginDestinationPair from the request. </xs:documentation>
                                        </xs:annotation>
                                    </xs:attribute>
                                </xs:extension>
                            </xs:complexContent>
                        </xs:complexType>
                    </xs:element>
                </xs:sequence>
            </xs:complexType>
        </xs:element>
    </xs:sequence>
    <xs:attribute name="DirectionInd" type="AirTripType" use="optional">
        <xs:annotation>
            <xs:documentation xml:lang="en"> Identifies whether travel is: one way, return trip, circle trip, open jaw, other.</xs:documentation>
        </xs:annotation>
    </xs:attribute>
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
OriginDestinationOptions OriginDestinationOptions (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
DirectionInd DirectionInd Optional