Manage Ticketed Rail Reservation

 

The RailManageAfterSalesRQ service is used to carry out after sales operation on a PNR that has been completely or partially issued.

API Information

Target Audience
Sabre Travel Network
Current Version
1.15.0
Authentication
Session Token
Service Action Code
RailManageAfterSalesRQ

It is used to carry out the following operations:

  • Refund items (e.g. refund all or some of the passengers of a PNR; refund all or some of the segments of a PNR, for all or some of the passengers)
  • Exchange all or some of the segments of a PNR
  • Change fares
  • Complete or partial return to availability

Upon success, the output shows the PNR content (PNR reference, passengers, segments etc.) as well as the after sales process status.

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

<ns3:RailManageAfterSalesRQ xmlns="http://webservices.sabre.com/sabreXML/RCP/common" xmlns:ns10="http://webservices.sabre.com/sabreXML/RCP/rrc" xmlns:ns11="http://webservices.sabre.com/sabreXML/RCP/rrs" xmlns:ns12="http://webservices.sabre.com/sabreXML/RCP/rrr" xmlns:ns13="http://webservices.sabre.com/sabreXML/RCP/rl" xmlns:ns14="http://webservices.sabre.com/sabreXML/RCP/rs" xmlns:ns15="http://webservices.sabre.com/sabreXML/RCP/rmb" xmlns:ns16="http://webservices.sabre.com/sabreXML/RCP/rmt" xmlns:ns2="http://webservices.sabre.com/sabreXML/RCP/ota" xmlns:ns3="http://webservices.sabre.com/sabreXML/RCP/rmas" xmlns:ns4="http://webservices.sabre.com/sabreXML/RCP/otara" xmlns:ns5="http://webservices.sabre.com/sabreXML/RCP/rd" xmlns:ns6="http://webservices.sabre.com/sabreXML/RCP/rrep" xmlns:ns7="http://webservices.sabre.com/sabreXML/RCP/rc" xmlns:ns8="http://webservices.sabre.com/sabreXML/RCP/ris" xmlns:ns9="http://webservices.sabre.com/sabreXML/RCP/rpnrs" CorrelationID="1.0.22-fc86a4a0-288c-4d68-ae45-153cb237" MarketingCarrier="2V" PrimaryLangID="en" TimeStamp="2016-12-09T10:26:02" Version="1.15.0">
  <ns3:OperationType>Exchange</ns3:OperationType>
  <ns3:RequestTypes>
    <ns3:RequestType>Confirm</ns3:RequestType>
  </ns3:RequestTypes>
  <ns3:AfterSalesDetails>
    <BookingRef ID="2E5235"/>
    <Itineraries>
      <Itinerary>
        <OriginAndDestinations>
          <OriginAndDestination ID="1">
            <Origin LocationCode="WAS"/>
            <Destination LocationCode="BOS"/>
            <Segments>
              <Segment ArrivalDateTime="2016-12-30T15:15:00" DepartureDateTime="2016-12-30T07:25:00" ID="1" TrainNumber="172">
                <Origin LocationCode="WAS">Washington</Origin>
                <Destination LocationCode="BOS">Boston (South Station)</Destination>
              </Segment>
            </Segments>
          </OriginAndDestination>
          <OriginAndDestination ID="2">
            <Origin LocationCode="BOS"/>
            <Destination LocationCode="WAS"/>
            <Segments>
              <Segment ArrivalDateTime="2017-01-11T13:53:00" DepartureDateTime="2017-01-11T07:15:00" ID="2" TrainNumber="2155">
                <Origin LocationCode="BOS">Boston (South Station)</Origin>
                <Destination LocationCode="WAS">Washington</Destination>
              </Segment>
            </Segments>
          </OriginAndDestination>
        </OriginAndDestinations>
      </Itinerary>
    </Itineraries>
    <FareGroups>
      <FareGroup>
        <Fares>
          <Fare>
            <SegmentRefs>
              <SegmentRef ID="1"/>
            </SegmentRefs>
            <PassengerTypes>
              <PassengerType Code="F" Quantity="1"/>
            </PassengerTypes>
            <ClassCode Code="YA" Quantity="1"/>
          </Fare>
        </Fares>
      </FareGroup>
      <FareGroup>
        <Fares>
          <Fare>
            <SegmentRefs>
              <SegmentRef ID="2"/>
            </SegmentRefs>
            <PassengerTypes>
              <PassengerType Code="F" Quantity="1"/>
            </PassengerTypes>
            <ClassCode Code="K" Quantity="1"/>
          </Fare>
        </Fares>
      </FareGroup>
    </FareGroups>
    <Payment PaymentType="CreditCard">
      <CreditCardInfo CardCode="AX" CardNumber="XXXXXXXXXXX0009" CardType="1" ExpireDate="1217" SeriesCode="">
        <ns2:CardHolderName>JOHN SMITH</ns2:CardHolderName>
        <ns2:Address>
          <ns2:AddressLine>STREET 30</ns2:AddressLine>
          <ns2:CityName>NEW YORK CITY</ns2:CityName>
          <ns2:PostalCode>30012</ns2:PostalCode>
          <ns2:StateProv StateCode="DE">Delaware</ns2:StateProv>
          <ns2:CountryName Code="US"/>
        </ns2:Address>
      </CreditCardInfo>
    </Payment>
    <ns3:PaymentsBalance>
      <PaymentBalance>
        <Charges>
          <TotalCharge Amount="174.00" CurrencyCode="USD"/>
          <Charge Amount="-309.00" CanceledItemsAmount="309.00" CurrencyCode="USD"/>
          <Charge Amount="483.00" CurrencyCode="USD" NewItemsAmount="483.00"/>
        </Charges>
      </PaymentBalance>
    </ns3:PaymentsBalance>
    <ns3:CancelInfo>
      <CancelCost>
        <Surcharge IsEligible="false" Type="AllToeVoucher"/>
      </CancelCost>
    </ns3:CancelInfo>
  </ns3:AfterSalesDetails>
</ns3:RailManageAfterSalesRQ>

Sample Response

<rmas:RailManageAfterSalesRS xmlns:ns12="http://webservices.sabre.com/sabreXML/RCP/rd" xmlns:ns13="http://webservices.sabre.com/sabreXML/RCP/rrep" xmlns:ns17="http://webservices.sabre.com/sabreXML/RCP/rrs" xmlns:otara="http://webservices.sabre.com/sabreXML/RCP/otara" 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: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="1.0.22-fc86a4a0-288c-4d68-ae45-153cb237" MarketingCarrier="2V" TransactionIdentifier="V0_I1_015152" Version="1.15.0">
  <rmas:Success/>
  <rmas:RailReservation>
    <rcmn:BookingRef ID="2E5235" Type="14"/>
    <rcmn:Itineraries>
      <rcmn:Itinerary>
        <rcmn:OriginAndDestinations>
          <rcmn:OriginAndDestination ID="1">
            <rcmn:Origin LocationCode="WAS">Washington</rcmn:Origin>
            <rcmn:Destination LocationCode="BOS">Boston (South Station)</rcmn:Destination>
            <rcmn:Details>
              <rcmn:Detail Code="true" Type="Modifiable"/>
            </rcmn:Details>
            <rcmn:Segments>
              <rcmn:Segment ArrivalDateTime="2016-12-30T15:15:00" DepartureDateTime="2016-12-30T07:25:00" ID="1" IsOpen="false" TrainName="NORTHEAST REGIONAL" TrainNumber="172">
                <rcmn:Origin LocationCode="WAS">Washington</rcmn:Origin>
                <rcmn:Destination LocationCode="BOS">Boston (South Station)</rcmn:Destination>
                <rcmn:CarrierCompany CompanyShortName="None"/>
                <rcmn:Details>
                  <rcmn:Detail Code="AOF1" Type="FarePlan"/>
                </rcmn:Details>
              </rcmn:Segment>
            </rcmn:Segments>
          </rcmn:OriginAndDestination>
          <rcmn:OriginAndDestination ID="2">
            <rcmn:Origin LocationCode="BOS">Boston (South Station)</rcmn:Origin>
            <rcmn:Destination LocationCode="WAS">Washington</rcmn:Destination>
            <rcmn:Details>
              <rcmn:Detail Code="true" Type="Modifiable"/>
            </rcmn:Details>
            <rcmn:Segments>
              <rcmn:Segment ArrivalDateTime="2017-01-11T13:53:00" DepartureDateTime="2017-01-11T07:15:00" ID="2" IsOpen="false" TrainName="ACELA EXPRESS" TrainNumber="2155">
                <rcmn:Origin LocationCode="BOS">Boston (South Station)</rcmn:Origin>
                <rcmn:Destination LocationCode="WAS">Washington</rcmn:Destination>
                <rcmn:CarrierCompany CompanyShortName="None"/>
                <rcmn:Details>
                  <rcmn:Detail Code="KOB2" Type="FarePlan"/>
                </rcmn:Details>
              </rcmn:Segment>
            </rcmn:Segments>
          </rcmn:OriginAndDestination>
        </rcmn:OriginAndDestinations>
      </rcmn:Itinerary>
    </rcmn:Itineraries>
    <rcmn:FareGroups>
      <rcmn:FareGroup>
        <rcmn:Fares>
          <rcmn:Fare Name="Reserved Coach Class Seat">
            <rcmn:SegmentRefs>
              <rcmn:SegmentRef ID="1"/>
            </rcmn:SegmentRefs>
            <rcmn:PassengerTypes>
              <rcmn:PassengerType Code="F" Quantity="1"/>
            </rcmn:PassengerTypes>
            <rcmn:ClassCode Code="YA" Quantity="1"/>
          </rcmn:Fare>
        </rcmn:Fares>
        <rcmn:Price Amount="175.00" CurrencyCode="USD"/>
        <rcmn:JourneyRefs>
          <rcmn:JourneyRef ID="1"/>
        </rcmn:JourneyRefs>
      </rcmn:FareGroup>
      <rcmn:FareGroup>
        <rcmn:Fares>
          <rcmn:Fare Name="Business Class Seat">
            <rcmn:SegmentRefs>
              <rcmn:SegmentRef ID="2"/>
            </rcmn:SegmentRefs>
            <rcmn:PassengerTypes>
              <rcmn:PassengerType Code="F" Quantity="1"/>
            </rcmn:PassengerTypes>
            <rcmn:ClassCode Code="K" Quantity="1"/>
          </rcmn:Fare>
        </rcmn:Fares>
        <rcmn:Price Amount="308.00" CurrencyCode="USD"/>
        <rcmn:JourneyRefs>
          <rcmn:JourneyRef ID="2"/>
        </rcmn:JourneyRefs>
      </rcmn:FareGroup>
    </rcmn:FareGroups>
    <rcmn:Tickets>
      <rcmn:Ticket EffectiveDate="2016-12-30" ExpireDate="2017-12-08" TicketDocumentNbr="XXXXXXXXX3182">
        <rcmn:SegmentRefs>
          <rcmn:SegmentRef ID="1"/>
        </rcmn:SegmentRefs>
        <rcmn:Price Amount="175.00" CurrencyCode="USD" TaxInclusive="true"/>
        <rcmn:Payments>
          <rcmn:Payment PaymentType="CreditCard"/>
        </rcmn:Payments>
      </rcmn:Ticket>
      <rcmn:Ticket EffectiveDate="2017-01-11" ExpireDate="2017-12-08" TicketDocumentNbr="XXXXXXXXX3190">
        <rcmn:SegmentRefs>
          <rcmn:SegmentRef ID="2"/>
        </rcmn:SegmentRefs>
        <rcmn:Price Amount="308.00" CurrencyCode="USD" TaxInclusive="true"/>
        <rcmn:Payments>
          <rcmn:Payment PaymentType="CreditCard"/>
        </rcmn:Payments>
      </rcmn:Ticket>
    </rcmn:Tickets>
    <rcmn:CancelInfo>
      <rcmn:CancelCost>
        <rcmn:Surcharge IsEligible="true" Type="AllToeVoucher"/>
      </rcmn:CancelCost>
    </rcmn:CancelInfo>
  </rmas:RailReservation>
  <rmas:PaymentsBalance>
    <rcmn:PaymentBalance>
      <rcmn:Charges>
        <rcmn:TotalCharge Amount="174.00" CurrencyCode="USD"/>
        <rcmn:Charge Amount="-309.00" CanceledItemsAmount="309.00" CurrencyCode="USD"/>
        <rcmn:Charge Amount="483.00" CurrencyCode="USD" NewItemsAmount="483.00"/>
      </rcmn:Charges>
    </rcmn:PaymentBalance>
  </rmas:PaymentsBalance>
</rmas:RailManageAfterSalesRS>

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

Docs Navigation