Skip Navigation

Content Services for Rail - Read Rail Card Data

Rail
Profiles
REST API
Travel Agency
Try Now

What is it?

This method is used to return rail card data, including card owner information, for a given rail card number. The response can be reused during the Content Services for Rail prebook process.

Why use it?

Use this method to access rail card details and rail card owner information. You can also use this method to fill traveler form fields in the booking process automatically by providing only the traveler's rail card number.

How it works

Send a request to the Rail vendor system with the following search criteria:

  • Code of the marketing carrier whose card will be searched ({marketingCarrierCode} in URL)
  • Rail card number

The response returns the basic rail card data for the requested RailCardNumber and contains:

  • Rail card number
  • Rail card code
  • Validity start date
  • Validity end date
  • Rail card owner details, such as:
    • Last name
    • First name
    • Title
    • Date of birth
    • Contact information

Card owner details can be used to create an order with the method below: POST /v2/rail/orders/{marketingCarrier} 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

Search for rail card data for the vendor’s RailCardNumber:

GET https://railurl/railCards/{marketingCarrierCode}/{railCardNumber}?dateOfBirth={dateOfBirth}

Request

Provide the following information in the request:

  • Marketing Carrrier Code - code of the marketing carrier whose cards will be searched ({marketingCarrierCode} in URL).
  • Rail card number
  • Rail card owner's date of birth

Response

Returns rail card details assigned to the RailCardNumber.