Schema OTA_CancelRQ.xsd


schema location:  http://xmlprosdk.wspan.com/msgdoc/wsdl/OTA_CancelRQ.xsd
attribute form default: 
element form default:  qualified
targetNamespace:  http://www.opentravel.org/OTA/2003/05
 
Elements  Complex types  Simple types  Attr. groups 
OTA_CancelRQ  POS_Type  OTA_CodeType  ID_Group 
TPA_Extensions  SourceType  StringLength1to32  OTA_PayloadStdAttributes 
TPA_Extensions_Type  StringLength1to64  UniqueID_Group 
UniqueID_Type  TransactionActionType 


element OTA_CancelRQ
diagram
namespace http://www.opentravel.org/OTA/2003/05
properties
content complex
children POS UniqueID Segment TPA_Extensions
attributes
Name  Type  Use  Default  Fixed  Annotation
Version  xs:decimalrequired      
documentation
For all OTA versioned messages, the version of the message is indicated by a decimal value.
CancelType  TransactionActionTyperequired      
TravelSector  OTA_CodeTypeoptional      
documentation
The travel segment type to be cancelled. Refer to OTA Codelist Travel Sector (TVS). Valid Values: 1=Air, 2=Car, 3=Hotel. To cancel all segments of a specific Travel Sector send OTA_CancelRQ\@TravelSector = n (where n = a valid value) without sending OTA_CancelRQ\Segment
annotation
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.
source <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">
       
<xs:annotation>
         
<xs:documentation xml:lang="en">Point of sale object. </xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="UniqueID" type="UniqueID_Type" 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). To cancel the complete PNR send OTA_CancelRQ\UniqueID\Type (PNR RLOC) only. All segments in PNR will be cancelled.</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. To cancel specific segment(s) send OTA_CancelRQ\Segment without sending OTA_CancelRQ\@TravelSector</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 ref="TPA_Extensions" minOccurs="0"/>
   
</xs:sequence>
   
<xs:attributeGroup ref="OTA_PayloadStdAttributes"/>
   
<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). Valid Values: 1=Air, 2=Car, 3=Hotel. To cancel all segments of a specific Travel Sector send OTA_CancelRQ\@TravelSector = n (where n = a valid value) without sending OTA_CancelRQ\Segment</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

element OTA_CancelRQ/POS
diagram
namespace http://www.opentravel.org/OTA/2003/05
type POS_Type
properties
isRef 0
content complex
children Source
annotation
documentation
Point of sale object.
source <xs:element name="POS" type="POS_Type">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Point of sale object. </xs:documentation>
 
</xs:annotation>
</xs:element>

element OTA_CancelRQ/UniqueID
diagram
namespace http://www.opentravel.org/OTA/2003/05
type UniqueID_Type
properties
isRef 0
minOcc 1
maxOcc 5
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
Type  OTA_CodeTyperequired      
documentation
A reference to the type of object defined by the UniqueID element. Refer to OTA Code List Unique ID Type (UIT). Valid Value: 14=Reservation
ID  StringLength1to32required      
documentation
A unique identifying value assigned by the creating system.  The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.
annotation
documentation
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). To cancel the complete PNR send OTA_CancelRQ\UniqueID\Type (PNR RLOC) only. All segments in PNR will be cancelled.
source <xs:element name="UniqueID" type="UniqueID_Type" 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). To cancel the complete PNR send OTA_CancelRQ\UniqueID\Type (PNR RLOC) only. All segments in PNR will be cancelled.</xs:documentation>
 
</xs:annotation>
</xs:element>

element OTA_CancelRQ/Segment
diagram
namespace http://www.opentravel.org/OTA/2003/05
properties
isRef 0
minOcc 0
maxOcc 99
content complex
attributes
Name  Type  Use  Default  Fixed  Annotation
ItinSegNbr  xs:nonNegativeIntegeroptional      
documentation
Number identifying the segment item to be cancelled.
FirstItinSegNbr  xs:nonNegativeIntegeroptional      
documentation
The beginning number in a range that identifies the first segment  item to be cancelled.
LastItinSegNbr  xs:nonNegativeIntegeroptional      
documentation
The last number in a range that identifies the last segment  item to be cancelled.
annotation
documentation
Used to specify segments to be cancelled. To cancel specific segment(s) send OTA_CancelRQ\Segment without sending OTA_CancelRQ\@TravelSector
source <xs:element name="Segment" minOccurs="0" maxOccurs="99">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used to specify segments to be cancelled. To cancel specific segment(s) send OTA_CancelRQ\Segment without sending OTA_CancelRQ\@TravelSector</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>

element TPA_Extensions
diagram
namespace http://www.opentravel.org/OTA/2003/05
type TPA_Extensions_Type
properties
content complex
used by
element OTA_CancelRQ
attributes
Name  Type  Use  Default  Fixed  Annotation
ChangeTicketing  xs:booleanoptional      
ReceivedFrom  StringLength1to32optional      
source <xs:element name="TPA_Extensions" type="TPA_Extensions_Type"/>

complexType POS_Type
diagram
namespace http://www.opentravel.org/OTA/2003/05
children Source
used by
element OTA_CancelRQ/POS
annotation
documentation
Point of Sale (POS) is the details identifying the party or connection channel making the request.
source <xs:complexType name="POS_Type">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Point of Sale (POS) is the details identifying the party or connection channel making the request.</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="Source" type="SourceType" maxOccurs="5">
     
<xs:annotation>
       
<xs:documentation xml:lang="en">This holds details regarding the requestor. It may be repeated to also accommodate the delivery systems.</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element POS_Type/Source
diagram
namespace http://www.opentravel.org/OTA/2003/05
type SourceType
properties
isRef 0
minOcc 1
maxOcc 5
content complex
annotation
documentation
This holds details regarding the requestor. It may be repeated to also accommodate the delivery systems.
source <xs:element name="Source" type="SourceType" maxOccurs="5">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">This holds details regarding the requestor. It may be repeated to also accommodate the delivery systems.</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType SourceType
diagram
namespace http://www.opentravel.org/OTA/2003/05
used by
element POS_Type/Source
annotation
documentation
Provides information on the source of a request.
source <xs:complexType name="SourceType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Provides information on the source of a request.</xs:documentation>
 
</xs:annotation>
</xs:complexType>

complexType TPA_Extensions_Type
diagram
namespace http://www.opentravel.org/OTA/2003/05
used by
element TPA_Extensions
attributes
Name  Type  Use  Default  Fixed  Annotation
ChangeTicketing  xs:booleanoptional      
ReceivedFrom  StringLength1to32optional      
annotation
documentation
Allows extensions
to be added to the OTA specification per trading partner agreement.
source <xs:complexType name="TPA_Extensions_Type">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Allows extensions
to be added to the OTA specification per trading partner agreement.
</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="ChangeTicketing" type="xs:boolean" use="optional"/>
 
<xs:attribute name="ReceivedFrom" type="StringLength1to32" use="optional"/>
</xs:complexType>

complexType UniqueID_Type
diagram
namespace http://www.opentravel.org/OTA/2003/05
used by
element OTA_CancelRQ/UniqueID
attributes
Name  Type  Use  Default  Fixed  Annotation
Type  OTA_CodeTyperequired      
documentation
A reference to the type of object defined by the UniqueID element. Refer to OTA Code List Unique ID Type (UIT). Valid Value: 14=Reservation
ID  StringLength1to32required      
documentation
A unique identifying value assigned by the creating system.  The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.
annotation
documentation
An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote).
source <xs:complexType name="UniqueID_Type">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">An identifier used to uniquely reference an object in a system (e.g. an airline reservation reference, customer profile reference, booking confirmation number, or a reference to a previous availability quote). </xs:documentation>
 
</xs:annotation>
 
<xs:attributeGroup ref="UniqueID_Group"/>
</xs:complexType>

simpleType OTA_CodeType
namespace http://www.opentravel.org/OTA/2003/05
type restriction of xs:string
used by
attributes OTA_CancelRQ/@TravelSector UniqueID_Group/@Type
facets
pattern [0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1}
annotation
documentation
Used for codes in the OTA code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X.
source <xs:simpleType name="OTA_CodeType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for codes in the OTA code tables. Possible values of this pattern are 1, 101, 101.EQP, or 101.EQP.X.</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:pattern value="[0-9A-Z]{1,3}(\.[A-Z]{3}(\.X){0,1}){0,1}"/>
 
</xs:restriction>
</xs:simpleType>

simpleType StringLength1to32
namespace http://www.opentravel.org/OTA/2003/05
type restriction of xs:string
used by
attributes ID_Group/@ID TPA_Extensions_Type/@ReceivedFrom
facets
minLength 1
maxLength 32
annotation
documentation
Used for Character Strings, length 1 to 32
source <xs:simpleType name="StringLength1to32">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for Character Strings, length 1 to 32</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:minLength value="1"/>
   
<xs:maxLength value="32"/>
 
</xs:restriction>
</xs:simpleType>

simpleType StringLength1to64
namespace http://www.opentravel.org/OTA/2003/05
type restriction of xs:string
facets
minLength 1
maxLength 64
annotation
documentation
Used for Character Strings, length 1 to 64
source <xs:simpleType name="StringLength1to64">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used for Character Strings, length 1 to 64</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:minLength value="1"/>
   
<xs:maxLength value="64"/>
 
</xs:restriction>
</xs:simpleType>

simpleType TransactionActionType
namespace http://www.opentravel.org/OTA/2003/05
type restriction of xs:string
used by
attribute OTA_CancelRQ/@CancelType
facets
enumeration Book
enumeration Quote
enumeration Hold
enumeration Initiate
enumeration Ignore
enumeration Modify
enumeration Commit
enumeration Cancel
annotation
documentation
To specify the type of action requested when more than one function could be handled by the message.
source <xs:simpleType name="TransactionActionType">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">To specify the type of action requested when more than one function could be handled by the message.
</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:enumeration value="Book"/>
   
<xs:enumeration value="Quote"/>
   
<xs:enumeration value="Hold"/>
   
<xs:enumeration value="Initiate"/>
   
<xs:enumeration value="Ignore"/>
   
<xs:enumeration value="Modify"/>
   
<xs:enumeration value="Commit"/>
   
<xs:enumeration value="Cancel"/>
 
</xs:restriction>
</xs:simpleType>

attributeGroup ID_Group
namespace http://www.opentravel.org/OTA/2003/05
used by
attributeGroup UniqueID_Group
attributes
Name  Type  Use  Default  Fixed  Annotation
ID  StringLength1to32required      
documentation
A unique identifying value assigned by the creating system.  The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.
annotation
documentation
Used to provide a required unique identifier.
source <xs:attributeGroup name="ID_Group">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Used to provide a required unique identifier.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="ID" type="StringLength1to32" use="required">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">A unique identifying value assigned by the creating system.  The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attributeGroup OTA_PayloadStdAttributes
namespace http://www.opentravel.org/OTA/2003/05
used by
element OTA_CancelRQ
attributes
Name  Type  Use  Default  Fixed  Annotation
Version  xs:decimalrequired      
documentation
For all OTA versioned messages, the version of the message is indicated by a decimal value.
annotation
documentation
The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OTA payloads.
source <xs:attributeGroup name="OTA_PayloadStdAttributes">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">The OTA_PayloadStdAttributes defines the standard attributes that appear on the root element for all OTA payloads.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="Version" type="xs:decimal" use="required">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">For all OTA versioned messages, the version of the message is indicated by a decimal value.</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
</xs:attributeGroup>

attributeGroup UniqueID_Group
namespace http://www.opentravel.org/OTA/2003/05
used by
complexType UniqueID_Type
attributes
Name  Type  Use  Default  Fixed  Annotation
Type  OTA_CodeTyperequired      
documentation
A reference to the type of object defined by the UniqueID element. Refer to OTA Code List Unique ID Type (UIT). Valid Value: 14=Reservation
ID  StringLength1to32required      
documentation
A unique identifying value assigned by the creating system.  The ID attribute may be used to reference a primary-key value within a database or in a particular implementation.
annotation
documentation
Provides unique identification information.
source <xs:attributeGroup name="UniqueID_Group">
 
<xs:annotation>
   
<xs:documentation xml:lang="en">Provides unique identification information.</xs:documentation>
 
</xs:annotation>
 
<xs:attribute name="Type" type="OTA_CodeType" use="required">
   
<xs:annotation>
     
<xs:documentation xml:lang="en">A reference to the type of object defined by the UniqueID element. Refer to OTA Code List Unique ID Type (UIT). Valid Value: 14=Reservation</xs:documentation>
   
</xs:annotation>
 
</xs:attribute>
 
<xs:attributeGroup ref="ID_Group"/>
</xs:attributeGroup>