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 the car booking 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

Contains comment information.

0...1

Name

string

Name of the comment.

0...1

Language

For more information see Common Data Description section in Glossary.

0...1

Comment/Text

string

Description of the penalty.

0...1

Expand
titleCar Cancellation Response Sample XML
Code Block
languagexml
<OTA_CancelRS EchoToken="EchoToken" Status="On Hold" TransactionIdentifier="110" Version="2.0" xmlns="http://www.opentravel.org/OTA/2003/05">
   <Success/>
   <UniqueID ID="opinjdn354sfda" ID_Context="client" Type="10"/>
   <UniqueID ID="adfbgy2" ID_Context="agent" Type="10"/>
   <UniqueID ID="13589936US3" ID_Context="supplier" Type="10"/>
   <CancelInfoRS>
      <CancelRules>
         <CancelRule Amount="0.00" CurrencyCode="USD"/>
      </CancelRules>
   </CancelInfoRS>
</OTA_CancelRS>

...