Encode Decode Rail Station

 

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

API Information

Target Audience
Sabre Travel Network
Current Version
1.18.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

<ns10:RailLocationRQ xmlns:ns10="http://webservices.sabre.com/sabreXML/RCP/rl" 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/rc" 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.ebxml.org/namespaces/messageHeader" xmlns:ns5="http://www.w3.org/1999/xlink" xmlns:ns6="http://www.w3.org/2000/09/xmldsig#" 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" LocationCodeContext="2V" MarketingCarrier="2V" PrimaryLangID="en-us" Version="1.18.0">
    <ns10:LocationCriteria>
        <ns10:MultiLanguage>true</ns10:MultiLanguage>
        <ns10:Locations>
            <ns10:Location CodeContext="2V">Fort Worth</ns10:Location>
        </ns10:Locations>
    </ns10:LocationCriteria>
</ns10:RailLocationRQ>

Sample Response

<rl:RailLocationRS xmlns:rl="http://webservices.sabre.com/sabreXML/RCP/rl" 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:rc="http://webservices.sabre.com/sabreXML/RCP/rc" 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" MarketingCarrier="2V" TransactionIdentifier="V0_I1_000192" Version="1.18.0">
    <rl:Success/>
    <rl:LocationResponse>
        <rl:Stations>
            <rl:Station>
                <rl:Details LocationCode="FTW">Fort Worth</rl:Details>
                <rl:Address Remark="Intermodal Transportation Center">
                    <rota:StateProv StateCode="TX" />
                </rl:Address>
            </rl:Station>
        </rl:Stations>
    </rl:LocationResponse>
</rl:RailLocationRS>

If you are a Sabre customer currently using Sabre APIs in production, access  Resources

Docs Navigation