Skip to main content

Encode Decode Rail Station

1.22.0
Rail
Inventory
SOAP API
Travel Agency

Not Signed In.

Looks like you may not have access to all of the resources and documentation for this page.
Please log-in or contact your support desk team if you believe you should have access.

Deprecated API

Warning! Sabre Rail SOAP APIs will be decommissioned soon. New REST APIs documentation is available here.

The Encode Decode Rail Station (RailLocationRQ) service can be used to encode or decode stations.

Target Audience
Travel Agency
API Version
1.22.0
Authentication
Session Token
Service Action Code
RailLocationRQ

Encoding is an operation to retrieve station code based on station name. Decode is an operation to retrieve station name based on station code. Fully or partially matching options can be returned. If no station exists within the provided location, other stations located nearby can be provided. Upon success, a list of stations is returned.

For more details please refer to Resources.

NOTE: Consuming this webservice 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
<ns8:RailLocationRQ xmlns:ns8="http://webservices.sabre.com/sabreXML/RCP/rl" xmlns:ns10="http://webservices.sabre.com/sabreXML/RCP/common" xmlns:ns11="http://webservices.sabre.com/sabreXML/RCP/rsm" xmlns:ns12="http://webservices.sabre.com/sabreXML/RCP/rd" xmlns:ns13="http://webservices.sabre.com/sabreXML/RCP/rrep" xmlns:ns14="http://webservices.sabre.com/sabreXML/RCP/ris" xmlns:ns15="http://webservices.sabre.com/sabreXML/RCP/rpnrs" xmlns:ns16="http://webservices.sabre.com/sabreXML/RCP/rrc" xmlns:ns17="http://webservices.sabre.com/sabreXML/RCP/rrs" xmlns:ns18="http://webservices.sabre.com/sabreXML/RCP/rrr" xmlns:ns19="http://webservices.sabre.com/sabreXML/RCP/rmas" xmlns:ns2="http://schemas.xmlsoap.org/ws/2002/12/secext" 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:ns4="http://www.w3.org/2000/09/xmldsig#" xmlns:ns5="http://www.ebxml.org/namespaces/messageHeader" xmlns:ns6="http://www.w3.org/1999/xlink" xmlns:ns7="urn:schemas-sabre-com:soap-header-debug" xmlns:ns9="http://webservices.sabre.com/sabreXML/RCP/ota" MarketingCarrier="2C" PrimaryLangID="en" Version="1.22.0">
    <ns8:LocationCriteria>
        <ns8:Locations>
            <ns8:Location CodeContext="2C" LocationCode="FRCHV"/>
        </ns8:Locations>
    </ns8:LocationCriteria>
</ns8:RailLocationRQ>
Sample Response
<rl:RailLocationRS xmlns:rl="http://webservices.sabre.com/sabreXML/RCP/rl" xmlns:ns11="http://webservices.sabre.com/sabreXML/RCP/rsm" xmlns:ns12="http://webservices.sabre.com/sabreXML/RCP/rd" xmlns:ns13="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: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="88db9a52-a2e3-4bd4-bbb5-6d1ea3aa295d" LocationCodeContext="2C" MarketingCarrier="2C" TransactionIdentifier="V0_B_1_000169" Version="1.22.0">
    <rl:Success/>
    <rl:LocationResponse>
        <rl:Stations>
            <rl:Station>
                <rl:Details CodeContext="2C" LocationCode="FRCHV">PARIS LA CHAPELLE</rl:Details>
                <rl:Address>
                    <rota:PostalCode>75</rota:PostalCode>
                    <rota:CountryName>FR</rota:CountryName>
                </rl:Address>
            </rl:Station>
        </rl:Stations>
    </rl:LocationResponse>
</rl:RailLocationRS>