Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 5 Next »

Cancellation Initiate Response returned after Cancellation Initiate Request, and contains information about cancellation penalties (in case of cancel initiate went successfully) or notify that booking can not be canceled.

OTA_CancelRS*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

TransactionIdentifier*

string

Unique transaction ID generated by GP Travel HUB. This attribute must be further passed on Cancellation Ignore or Cancellation Confirmation stages.

1...1

Status*

string ("On Hold", "Unsuccessful")

Transaction status generated by GP Travel HUB. In Cancel Initiate response here can be following values:

"On Hold" - means that the cancellation request was successfully passed to supplier, and supplier has no reason to prohibit the cancellation.

"Unsuccessful" - means that the cancellation request was passed to supplier, but supplier can not satisfy it for some internal reason. The booking can not be cancelled (at least at the time).

1...1

Success

For more information see Common Data Description section in Glossary.

Warnings/Warning

UniqueID*

For more information see Cancellation Initiate Request section.

CancelInfoRS/ CancelRules/ CancelRule

Describes cancellation fee.

0...*

Amount*

decimal

A fee size.

1...1

CurrencyCode*

For more information see Common Data Description section in Glossary.

1...1

Comment

Contains text description about the penalties.

0...1

Name

string

Name of the penalty

0...1

Language

For more information see Common Data Description section in Glossary.

0...1

Comment/Text

string

Description of the penalty,

0...*

 Cancellation Initiate Response Sample XML
<OTA_CancelRS Status="On Hold" Version="2" TransactionIdentifier="12232" EchoToken="tok1">
   <Success/>
   <UniqueID ID="264888" ID_Context="client" Type="10"/>
   <CancelInfoRS>
      <CancelRules>
         <CancelRule Amount="0.00" CurrencyCode="EUR"/>
      </CancelRules>
   </CancelInfoRS>
</OTA_CancelRS>
 Cancellation Initiate Response without cancellation fee Sample XML
<OTA_CancelRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="et1" Status="On Hold" TransactionIdentifier="0" Version="2.0">
    <Success/>
    <UniqueID ID="6h4fu1obh2dip5q" ID_Context="client" Type="10"/>
    <UniqueID ID="00018311" ID_Context="agent" Type="10"/>
    <UniqueID ID="6FKO4Y" ID_Context="supplier" Type="10"/>
    <Comment>
        <Text>CANCEL 48 HOURS PRIOR TO ARRIVAL DATE. </Text>
    </Comment>
</OTA_CancelRS>
 Multibooking Cancellation Initiate Request Sample XML
<OTA_CancelRS EchoToken="et1" Status="On Hold" TransactionIdentifier="0" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
   <Success/>
   <UniqueID ID="6h4fu1obh2dip5q" ID_Context="basket" Type="10"/>
   <UniqueID ID="00018311" ID_Context="agent" Type="10"/>
   <UniqueID ID="6FKO4Y" ID_Context="supplier" Type="10"/>
   <Comment>
      <Text>CANCEL 48 HOURS PRIOR TO ARRIVAL DATE.</Text>
   </Comment>
</OTA_CancelRS>
  • No labels