Skip to main content

Rail Seatmap

1.22.0
Rail
Seats
SOAP API

The Rail Seatmap API (RailSeatMapRQ) is used to determine if a seat map is available for a specific train and retrieves the seat map.

Target Audience
Travel Agency
Current Version
1.22.0
Authentication
Session Token
Service Action Code
RailSeatMapRQ

For more details please refer to Resources.

Note: Data does not change often, so we suggest to cache the response on the customer's application side and refresh it periodically (i.e. once a day).

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
<?xml version="1.0" encoding="UTF-8"?>
<ns11:RailSeatMapRQ xmlns:ns11="http://webservices.sabre.com/sabreXML/RCP/rsm" xmlns:ns10="http://webservices.sabre.com/sabreXML/RCP/rmt" 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/rl" xmlns:ns21="http://webservices.sabre.com/sabreXML/RCP/rs" xmlns:ns22="http://webservices.sabre.com/sabreXML/RCP/rmb" 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" Channel="WDI_PAO" MarketingCarrier="2C" PrimaryLangID="en" Version="1.22.0">
  <ns11:RequestType>SeatMapAvailability</ns11:RequestType>
  <ns11:SeatMapsCriteria>
    <ns11:SeatMapCriteria>
      <ns11:Segment ArrivalDateTime="2018-09-06T06:16:00" ClassOfService="1" Co2Emission="0.20" DepartureDateTime="2018-09-06T05:36:00" Duration="P0Y0M0DT0H40M0.000S" ID="1" NumberOfTravelers="3" TrainCode="TGA" TrainNumber="8072">
        <ns9:Origin CodeContext="2C" LocationCode="FRRNS">RENNES</ns9:Origin>
        <ns9:Destination CodeContext="2C" LocationCode="FRACR">LAVAL</ns9:Destination>
        <ns9:CarrierCompany Code="SN"/>
        <ns9:RailAmenities>
          <ns9:RailAmenity Code="HAN" Type="OnboardService"/>
          <ns9:RailAmenity Code="BAR" Type="OnboardService"/>
          <ns9:RailAmenity Code="VEP" Type="OnboardService"/>
          <ns9:RailAmenity Code="SDM" Type="OnboardService"/>
        </ns9:RailAmenities>
        <ns9:Details>
          <ns9:Detail Code="true" Type="fullTrainExchangeEnable"/>
          <ns9:Detail Code="RN" Type="bookingType"/>
          <ns9:Detail Code="N" Type="smokingComfort"/>
          <ns9:Detail Code="false" Type="ticketless"/>
          <ns9:Detail Code="IMPOSSIBLE" Type="quotaGroupIndicator"/>
        </ns9:Details>
        <ns9:AvailabilityDetails>
          <ns9:AvailabilityDetail ID="1">
            <ns9:ClassCode Code="B">
              <ns9:Details>
                <ns9:Detail Code="false" Type="almostUnavailable"/>
              </ns9:Details>
            </ns9:ClassCode>
            <ns9:Accommodations>
              <ns9:Accommodation Quantity="108" Type="withOverbooking"/>
              <ns9:Accommodation Quantity="706" Type="withoutOverbooking"/>
              <ns9:Accommodation Code="VEP" Quantity="4" Type="specialPlacement">
                <ns9:Details>
                  <ns9:Detail Code="2" Type="maxCoachNonSmokingAvailability"/>
                  <ns9:Detail Code="0" Type="maxCoachSmokingAvailability"/>
                </ns9:Details>
              </ns9:Accommodation>
              <ns9:Accommodation Code="VLO" Quantity="8" Type="specialPlacement">
                <ns9:Details>
                  <ns9:Detail Code="4" Type="maxCoachNonSmokingAvailability"/>
                  <ns9:Detail Code="0" Type="maxCoachSmokingAvailability"/>
                </ns9:Details>
              </ns9:Accommodation>
            </ns9:Accommodations>
          </ns9:AvailabilityDetail>
          <ns9:AvailabilityDetail ID="2">
            <ns9:ClassCode Code="A">
              <ns9:Details>
                <ns9:Detail Code="false" Type="almostUnavailable"/>
              </ns9:Details>
            </ns9:ClassCode>
            <ns9:Accommodations>
              <ns9:Accommodation Quantity="24" Type="withOverbooking"/>
              <ns9:Accommodation Quantity="197" Type="withoutOverbooking"/>
              <ns9:Accommodation Code="LOI" Quantity="69" Type="specialPlacement">
                <ns9:Details>
                  <ns9:Detail Code="35" Type="maxCoachNonSmokingAvailability"/>
                  <ns9:Detail Code="0" Type="maxCoachSmokingAvailability"/>
                </ns9:Details>
              </ns9:Accommodation>
              <ns9:Accommodation Code="HDC" Quantity="4" Type="specialPlacement">
                <ns9:Details>
                  <ns9:Detail Code="2" Type="maxCoachNonSmokingAvailability"/>
                  <ns9:Detail Code="0" Type="maxCoachSmokingAvailability"/>
                </ns9:Details>
              </ns9:Accommodation>
              <ns9:Accommodation Code=" DG" Quantity="6" Type="specialPlacement">
                <ns9:Details>
                  <ns9:Detail Code="6" Type="maxCoachNonSmokingAvailability"/>
                  <ns9:Detail Code="0" Type="maxCoachSmokingAvailability"/>
                </ns9:Details>
              </ns9:Accommodation>
              <ns9:Accommodation Code="AFF" Quantity="128" Type="specialPlacement">
                <ns9:Details>
                  <ns9:Detail Code="36" Type="maxCoachNonSmokingAvailability"/>
                  <ns9:Detail Code="0" Type="maxCoachSmokingAvailability"/>
                </ns9:Details>
              </ns9:Accommodation>
              <ns9:Accommodation Code="ACX" Quantity="6" Type="specialPlacement">
                <ns9:Details>
                  <ns9:Detail Code="3" Type="maxCoachNonSmokingAvailability"/>
                  <ns9:Detail Code="0" Type="maxCoachSmokingAvailability"/>
                </ns9:Details>
              </ns9:Accommodation>
              <ns9:Accommodation Code="HDX" Quantity="2" Type="specialPlacement">
                <ns9:Details>
                  <ns9:Detail Code="1" Type="maxCoachNonSmokingAvailability"/>
                  <ns9:Detail Code="0" Type="maxCoachSmokingAvailability"/>
                </ns9:Details>
              </ns9:Accommodation>
            </ns9:Accommodations>
          </ns9:AvailabilityDetail>
          <ns9:AvailabilityDetail ID="3">
            <ns9:Accommodations>
              <ns9:Accommodation Code="true" Type="closeToAvailable"/>
              <ns9:Accommodation Code="true" Type="facingForwardAllowed"/>
              <ns9:Accommodation Code="HAN" Type="contingentType"/>
              <ns9:Accommodation Code="FEN" Type="seatPosition"/>
              <ns9:Accommodation Code="COU" Type="seatPosition"/>
              <ns9:Accommodation Code="FIS" Type="seatPosition"/>
              <ns9:Accommodation Code="CLUB2" Type="spaceType">
                <ns9:Details>
                  <ns9:Detail Code="1,2" Type="requiredNumberOfPassengers"/>
                </ns9:Details>
              </ns9:Accommodation>
              <ns9:Accommodation Code="CLUB4" Type="spaceType">
                <ns9:Details>
                  <ns9:Detail Code="2,3,4" Type="requiredNumberOfPassengers"/>
                </ns9:Details>
              </ns9:Accommodation>
              <ns9:Accommodation Code="DUO" Type="spaceType">
                <ns9:Details>
                  <ns9:Detail Code="1,2" Type="requiredNumberOfPassengers"/>
                </ns9:Details>
              </ns9:Accommodation>
              <ns9:Accommodation Code="SOLO" Type="spaceType">
                <ns9:Details>
                  <ns9:Detail Code="1" Type="requiredNumberOfPassengers"/>
                </ns9:Details>
              </ns9:Accommodation>
            </ns9:Accommodations>
          </ns9:AvailabilityDetail>
          <ns9:AvailabilityDetail ID="4">
            <ns9:Accommodations>
              <ns9:Accommodation Code="true" Type="closeToAvailable"/>
              <ns9:Accommodation Code="true" Type="facingForwardAllowed"/>
              <ns9:Accommodation Code="HAN" Type="contingentType"/>
              <ns9:Accommodation Code="FEN" Type="seatPosition"/>
              <ns9:Accommodation Code="COU" Type="seatPosition"/>
              <ns9:Accommodation Code="CARRE_ENFANT" Type="spaceType">
                <ns9:Details>
                  <ns9:Detail Code="2,3,4" Type="requiredNumberOfPassengers"/>
                </ns9:Details>
              </ns9:Accommodation>
              <ns9:Accommodation Code="DUO" Type="spaceType">
                <ns9:Details>
                  <ns9:Detail Code="1,2" Type="requiredNumberOfPassengers"/>
                </ns9:Details>
              </ns9:Accommodation>
              <ns9:Accommodation Code="CARRE_OU_FAM" Type="spaceType">
                <ns9:Details>
                  <ns9:Detail Code="2,3,4" Type="requiredNumberOfPassengers"/>
                </ns9:Details>
              </ns9:Accommodation>
            </ns9:Accommodations>
          </ns9:AvailabilityDetail>
        </ns9:AvailabilityDetails>
      </ns11:Segment>
      <ns11:SeatPreferences>
        <ns11:Details>
          <ns9:Detail Code="LOF" Type="fareSegmentation"/>
        </ns11:Details>
      </ns11:SeatPreferences>
    </ns11:SeatMapCriteria>
  </ns11:SeatMapsCriteria>
</ns11:RailSeatMapRQ>
Sample Response
<?xml version="1.0" encoding="UTF-8"?>
<ns11:RailSeatMapRS 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: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" Channel="WDI_PAO" MarketingCarrier="2C" TransactionIdentifier="V0_B_1_014485" Version="1.22.0">
  <ns11:Success/>
  <ns11:SeatMaps>
    <ns11:SeatMap IsAvailable="true">
      <ns11:Segment ArrivalDateTime="2018-09-06T06:16:00" ClassOfService="1" DepartureDateTime="2018-09-06T05:36:00" ID="1" NumberOfTravelers="3" TrainCode="TGA" TrainNumber="8072">
        <rcmn:Origin CodeContext="2C" LocationCode="FRRNS"/>
        <rcmn:Destination CodeContext="2C" LocationCode="FRACR"/>
        <rcmn:CarrierCompany Code="SN"/>
        <rcmn:Details>
          <rcmn:Detail Code="true" Type="fullTrainExchangeEnable"/>
          <rcmn:Detail Code="RN" Type="bookingType"/>
          <rcmn:Detail Code="N" Type="smokingComfort"/>
          <rcmn:Detail Code="false" Type="ticketless"/>
          <rcmn:Detail Code="IMPOSSIBLE" Type="quotaGroupIndicator"/>
        </rcmn:Details>
      </ns11:Segment>
    </ns11:SeatMap>
  </ns11:SeatMaps>
</ns11:RailSeatMapRS>