/
10.2. RAIL CANCELLATION INITIATE RESPONSE

10.2. RAIL CANCELLATION INITIATE RESPONSE

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

 

 

 

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

<?xml version="1.0" encoding="UTF-8"?> <ota:OTA_CancelRS EchoToken="12345" Status="On Hold" TransactionIdentifier="123" Version="2" xmlns:ota="http://www.opentravel.org/OTA/2003/05"> <ota:Success/> <ota:UniqueID ID="ol1" ID_Context="client" Type="108"/> <ota:CancelInfoRS> <ota:CancelRules> <ota:CancelRule Amount="0.00" CurrencyCode="RUB"/> </ota:CancelRules> </ota:CancelInfoRS> </ota:OTA_CancelRS>