Skip to main content

Cancel Rail Segment

1.18.0
Rail
Reservation
SOAP API

The Cancel Rail Segment API (RailCancelRQ) is used to perform a booking cancellation.

Target Audience
Travel Agency
Current Version
1.18.0
Authentication
Session Token
Service Action Code
RailCancelRQ

The request passes the Vendor PNR Locator, and then the logic cancels the related Vendor reservation. The Cancel API does not require the PNR to be loaded into the current session and has the ability to load the requested PNR into the session by itself.

If the cancellation is completed successfully, an answer with a success node is returned, otherwise, an error is returned.

Note: Consuming this API and its content requires special permission. Before requesting access please make sure you have all the necessary agreements in place with the rail vendor(s) you would like to sell using Sabre Webservices. For more information on accessing Sabre Rail content and rail supplier contacts please visit the respective product page on Agency eServices.

Sample Request
<ns10:RailCancelRQ xmlns:ns10="http://webservices.sabre.com/sabreXML/RCP/rc" xmlns:ns11="http://webservices.sabre.com/sabreXML/RCP/rd" xmlns:ns12="http://webservices.sabre.com/sabreXML/RCP/rrep" xmlns:ns13="http://webservices.sabre.com/sabreXML/RCP/ris" xmlns:ns14="http://webservices.sabre.com/sabreXML/RCP/rpnrs" xmlns:ns15="http://webservices.sabre.com/sabreXML/RCP/rrc" xmlns:ns16="http://webservices.sabre.com/sabreXML/RCP/rrs" xmlns:ns17="http://webservices.sabre.com/sabreXML/RCP/rrr" xmlns:ns18="http://webservices.sabre.com/sabreXML/RCP/rmas" xmlns:ns19="http://webservices.sabre.com/sabreXML/RCP/rl" xmlns:ns2="http://www.ebxml.org/namespaces/messageHeader" xmlns:ns20="http://webservices.sabre.com/sabreXML/RCP/rs" xmlns:ns21="http://webservices.sabre.com/sabreXML/RCP/rmb" xmlns:ns22="http://webservices.sabre.com/sabreXML/RCP/rmt" xmlns:ns3="http://www.w3.org/1999/xlink" xmlns:ns4="http://www.w3.org/2000/09/xmldsig#" xmlns:ns5="http://schemas.xmlsoap.org/ws/2002/12/secext" xmlns:ns7="urn:schemas-sabre-com:soap-header-debug" xmlns:ns8="http://webservices.sabre.com/sabreXML/RCP/ota" xmlns:ns9="http://webservices.sabre.com/sabreXML/RCP/common" MarketingCarrier="2C" PrimaryLangID="en-us" TimeStamp="2001-12-17T09:30:47.0Z" Version="1.18.0">
	<ns10:PNRLocator CodeContext="2C">RCOTIM</ns10:PNRLocator>
</ns10:RailCancelRQ>
Sample Response
<rc:RailCancelRS xmlns:rc="http://webservices.sabre.com/sabreXML/RCP/rc" xmlns:ns11="http://webservices.sabre.com/sabreXML/RCP/rd" xmlns:ns12="http://webservices.sabre.com/sabreXML/RCP/rrep" xmlns:ns16="http://webservices.sabre.com/sabreXML/RCP/rrs" xmlns:rcmn="http://webservices.sabre.com/sabreXML/RCP/common" xmlns:ris="http://webservices.sabre.com/sabreXML/RCP/ris" xmlns:rl="http://webservices.sabre.com/sabreXML/RCP/rl" xmlns:rmas="http://webservices.sabre.com/sabreXML/RCP/rmas" xmlns:rmb="http://webservices.sabre.com/sabreXML/RCP/rmb" xmlns:rmt="http://webservices.sabre.com/sabreXML/RCP/rmt" xmlns:rota="http://webservices.sabre.com/sabreXML/RCP/ota" xmlns:rpnrs="http://webservices.sabre.com/sabreXML/RCP/rpnrs" xmlns:rrc="http://webservices.sabre.com/sabreXML/RCP/rrc" xmlns:rrr="http://webservices.sabre.com/sabreXML/RCP/rrr" xmlns:rs="http://webservices.sabre.com/sabreXML/RCP/rs" CorrelationID="aa5d8900-c32e-4c8d-a4bc-5cd765f2ef44" LocationCodeContext="2C" MarketingCarrier="2C" TransactionIdentifier="V0_I1_000076" Version="1.18.0">
	<rc:Success/>
</rc:RailCancelRS>