Skip to main content

Content Services for Rail - Search Round Trip Outbound

Rail
Search
REST API
Travel Agency
Try Now

What is it?

This method returns Rail offers for the outbound portion of a round trip.\ Note: The round trip shopping process consists of two steps - one for outbound offers, and one for inbound offers.

Returned outbound offers have the same structure of information found using the POST /v1/rail/offers/journeys method.

The selected outbound offer offerId is used in the second step of the round trip shopping process to obtain an inbound offer.

Why use it?

Use this method to get outbound offers from Rail vendors for a round trip.

This is the second step in the two-step process of requesting round trip offers. These offers are then used to create orders as part of the POST /v1/rail/orders method.

How it works

  1. Specify two search criteria to search by in the request, one for an outbound trip and the second of an inbound trip.\ Note: This is similar to the POST /v1/rail/offers/journeys method, except you'll provide outbound and inbound criteria, instead of a single criteria.
    1. The response returns only outbound offers presented in the same way as the POST /v1/rail/offers/journeys method.

Caution: 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 Content Services for Rail. For more information on accessing Sabre Rail content and rail supplier contacts please visit the respective product page on Sabre Central.

Vendor Code Payment via API Notes
SNCF 2C No “On account” only. Direct settlement with agency. No individual or corporate credit cards.

How to use

Method

POST /v1/rail/offers/journeys/{marketingCarrierCode}/roundTrip/outbound

Request

In addition to the required marketingCarrierCode, provide two search criteria elements containing:

  • From/to station codes
  • Departure/arrival date and time
  • Number of passengers, type, and any linked discounts

This request handles the outbound direction for a round trip.

Response

Returns a list of offers, including the unique offer offerId, and all other details needed to create an order for the outbound portion of a round trip.