Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

OTA_CancelRS*:

*mandatory

Element

Attribute

Type

Description

Min…Max occurs

Status*

string ("On Hold", "Unsuccessful")

Transaction status generated by GP HUB. In Cancellation Initiate response. Can have the 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. That status means that the booking can not be cancelled (at least at the time).

1...1

TransactionIdentifier*

string

Unique transaction ID generated by GP HUB. This attribute must be further passed on Step 2 to identify the cancellation request.

1...1

Success

For more information see Common Data Description section in Glossary.

0...1

Warnings/Warning

0...*

UniqueID*

 

 

For more information see Cancellation Initiate Request section.

1...*

CancelInfoRS/CancelRules

Represents cancellation information.

0...1

CancelInfoRS/CancelRules/CancelRule*

Describes cancellation fee.

1...*

Amount*

For more information see Common Data Description section in Glossary.

1...1

CurrencyCode*

1...1

Comment/Text

string

Description of the penalty.

0...1

Expand
titleExcursion Cancellation Initiate Response Sample XML
Code Block
<OTA_CancelRS Status="On Hold" EchoToken="EchoToken" TransactionIdentifier="187003" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
   <Success/>
   <UniqueID ID_Context="agent" Type="101" ID="hjo8dfg"/>
   <UniqueID ID_Context="client" Type="101" ID="34rf4g3frre45"/>
   <CancelInfoRS>
      <CancelRules>
         <CancelRule Amount="0.00" CurrencyCode="EUR"/>
      </CancelRules>
   </CancelInfoRS>
</OTA_CancelRS>