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 booking can not be cancelledcanceled.

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

For more information see Common Data Description section in Glossary.

UniqueID*

For more information see Cancellation Initiate Request section.

1...*

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

Expand
titleCancellation Initiate Response Sample XML
Code Block
languagexml
<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>

...