Skip to main content

Content Services for Rail - Search Round Trip Inbound

1.0.19
Rail
Search
REST API
Travel Agency
Try Now

What is it?

This method returns Rail offers for the inbound portion of a round trip.\ Note: An outbound offer id is required to return appropriate inbound offers.

The round trip shopping process consists of two steps - one for outbound offers, and one for inbound offers.

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

Why use it?

Use this method to get inbound 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. The outbound offerId must be specified in the request.\ 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.
  2. The response returns only inbound 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/inbound?outboundOfferId={outboundOfferId}

Request

In addition to the required outboundOfferId and 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 inbound direction for a round trip.

Response

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