Definition Type: Element
Name: OTA_CancelRQ
Namespace: http://www.opentravel.org/OTA/2003/05
Containing Schema: OTA_CancelRQ.xsd
Abstract
Documentation:
A generic message, available as an action on several OTA services which requests a server to cancel the booking identified by the UniqueID element.
Collapse XSD Schema Diagram:
Drilldown into TPA_Extensions in schema ota_commontypes_xsd1 Drilldown into Reasons in schema ota_cancelrq_xsd Drilldown into CancellationOverrides in schema ota_cancelrq_xsd Drilldown into Segment in schema ota_cancelrq_xsd Drilldown into Verification in schema ota_cancelrq_xsd Drilldown into UniqueID in schema ota_cancelrq_xsd Drilldown into POS in schema ota_cancelrq_xsd Drilldown into TravelSector in schema ota_cancelrq_xsd Drilldown into CancelType in schema ota_cancelrq_xsd Drilldown into ReqRespVersion in schema ota_commontypes_xsd1 Drilldown into ReqRespVersion in schema ota_commontypes_xsd1 Drilldown into RetransmissionIndicator in schema ota_commontypes_xsd1 Drilldown into AltLangID in schema ota_commontypes_xsd1 Drilldown into AltLangID_Group in schema ota_commontypes_xsd1 Drilldown into PrimaryLangID in schema ota_commontypes_xsd1 Drilldown into PrimaryLangID_Group in schema ota_commontypes_xsd1 Drilldown into TransactionStatusCode in schema ota_commontypes_xsd1 Drilldown into SequenceNmbr in schema ota_commontypes_xsd1 Drilldown into TransactionIdentifier in schema ota_commontypes_xsd1 Drilldown into Version in schema ota_commontypes_xsd1 Drilldown into Target in schema ota_commontypes_xsd1 Drilldown into TimeStamp in schema ota_commontypes_xsd1 Drilldown into EchoToken in schema ota_commontypes_xsd1 Drilldown into OTA_PayloadStdAttributes in schema ota_commontypes_xsd1XSD Diagram of OTA_CancelRQ in schema ota_cancelrq_xsd (Open Travel (OTA))
Collapse XSD Schema Code:
<xs:element name="OTA_CancelRQ">
    <xs:annotation>
        <xs:documentation xml:lang="en">
A generic message, available as an action on several OTA services which
requests a server to cancel the booking identified by the UniqueID element.	</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element name="POS" type="POS_Type" minOccurs="0" />
            <xs:element name="UniqueID" maxOccurs="5">
                <xs:annotation>
                    <xs:documentation xml:lang="en">This allows a user to send more than one UniqueID where there is more than one UniqueID associated to a single reservation (e.g. confirmation number and PNR record locator).</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:complexContent>
                        <xs:extension base="UniqueID_Type">
                            <xs:attribute name="Reason" type="StringLength1to64" use="optional">
                                <xs:annotation>
                                    <xs:documentation xml:lang="en">The reason for the cancellation.</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                        </xs:extension>
                    </xs:complexContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="Verification" type="VerificationType" minOccurs="0" maxOccurs="5">
                <xs:annotation>
                    <xs:documentation xml:lang="en">This is to be used for verification that the record being canceled is the specific record requested. This is optional and is intended to provide a more secure mechanism to ensure the correct record is being canceled. </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="Segment" minOccurs="0" maxOccurs="99">
                <xs:annotation>
                    <xs:documentation xml:lang="en">Used to specify segments to be cancelled.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:attribute name="ItinSegNbr" type="xs:nonNegativeInteger" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">Number identifying the segment item to be cancelled.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="FirstItinSegNbr" type="xs:nonNegativeInteger" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">The beginning number in a range that identifies the first segment  item to be cancelled.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                    <xs:attribute name="LastItinSegNbr" type="xs:nonNegativeInteger" use="optional">
                        <xs:annotation>
                            <xs:documentation xml:lang="en">The last number in a range that identifies the last segment  item to be cancelled.</xs:documentation>
                        </xs:annotation>
                    </xs:attribute>
                </xs:complexType>
            </xs:element>
            <xs:element name="CancellationOverrides" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="en">A collection of cancellation rule overrides.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="CancellationOverride" type="CancelRuleType" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Used to override a cancellation rule.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element name="Reasons" minOccurs="0">
                <xs:annotation>
                    <xs:documentation xml:lang="en">A collection of reasons for this cancellation.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="Reason" type="FreeTextType" maxOccurs="99">
                            <xs:annotation>
                                <xs:documentation xml:lang="en">Cancellation reason.</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                    </xs:sequence>
                </xs:complexType>
            </xs:element>
            <xs:element ref="TPA_Extensions" minOccurs="0" />
        </xs:sequence>
        <xs:attributeGroup ref="OTA_PayloadStdAttributes" />
        <xs:attributeGroup ref="ReqRespVersion" />
        <xs:attribute name="CancelType" type="TransactionActionType" use="required" />
        <xs:attribute name="TravelSector" type="OTA_CodeType" use="optional">
            <xs:annotation>
                <xs:documentation xml:lang="en">The travel segment type to be cancelled. Refer to OTA Codelist Travel Sector (TVS).</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
POS nsA:POS 0 (1)
UniqueID nsA:UniqueID (1) 5
Verification nsA:Verification 0 5
Segment nsA:Segment 0 99
CancellationOverrides nsA:CancellationOverrides 0 (1)
Reasons nsA:Reasons 0 (1)
TPA_Extensions TPA_Extensions 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
EchoToken EchoToken Optional
TimeStamp TimeStamp Optional
Target Target Production Optional
Version Version Required
TransactionIdentifier TransactionIdentifier Optional
SequenceNmbr SequenceNmbr Optional
TransactionStatusCode TransactionStatusCode Optional
PrimaryLangID PrimaryLangID Optional
AltLangID AltLangID Optional
RetransmissionIndicator RetransmissionIndicator Optional
ReqRespVersion ReqRespVersion Optional
CancelType nsA:CancelType Required
TravelSector nsA:TravelSector Optional