What is it?
This method is used to return 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 /v2/rail/orders
method.
How it works
- Specify two search criteria in the request - one for an outbound trip and the second of an inbound trip.
Note: This is similar to the
POST /v2/rail/offers/journeys
method, except you will provide outbound and inbound criteria, instead of a single criteria. - The response returns only outbound offers presented in the same way as the
POST /v2/rail/offers/journeys
method.
Caution: Consuming this API and its content requires special permission. Before requesting access, 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, 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. |
Amtrak | 2V | Yes | Access to this inventory will only be granted upon Amtrak's approval. Any new POS will be vetted and certified by Amtrak. |
How to use
Method
POST /v2/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.