<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>
|