Skip to main content

Cancel Rail Segment


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

Target Audience
Travel Agency
Current Version
Session Token
Service Action Code

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="" xmlns:ns11="" xmlns:ns12="" xmlns:ns13="" xmlns:ns14="" xmlns:ns15="" xmlns:ns16="" xmlns:ns17="" xmlns:ns18="" xmlns:ns19="" xmlns:ns2="" xmlns:ns20="" xmlns:ns21="" xmlns:ns22="" xmlns:ns3="" xmlns:ns4="" xmlns:ns5="" xmlns:ns7="urn:schemas-sabre-com:soap-header-debug" xmlns:ns8="" xmlns:ns9="" MarketingCarrier="2C" PrimaryLangID="en-us" TimeStamp="2001-12-17T09:30:47.0Z" Version="1.18.0">
	<ns10:PNRLocator CodeContext="2C">RCOTIM</ns10:PNRLocator>
Sample Response
<rc:RailCancelRS xmlns:rc="" xmlns:ns11="" xmlns:ns12="" xmlns:ns16="" xmlns:rcmn="" xmlns:ris="" xmlns:rl="" xmlns:rmas="" xmlns:rmb="" xmlns:rmt="" xmlns:rota="" xmlns:rpnrs="" xmlns:rrc="" xmlns:rrr="" xmlns:rs="" CorrelationID="aa5d8900-c32e-4c8d-a4bc-5cd765f2ef44" LocationCodeContext="2C" MarketingCarrier="2C" TransactionIdentifier="V0_I1_000076" Version="1.18.0">