What is it?
This method returns a ticket in PDF format for a given ticket ID.
Why use it?
Use this method to access issued tickets/travel documents.
Access to tickets and travel documents is not directly provided during the payment process. The form of travel documents depends on the delivery mode assigned to the ticket.
How it works
- Send a request to the Rail vendor system with
orderId
andticketId
to retrieve the travel document in PDF format. - The response returns the PDF file.
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 |
---|---|---|---|---|
TRAINLINE | 3Y | No | “On account” only. Direct settlement with agency. No individual or corporate credit cards. |
How to use
Method
GET /v2/rail/orders/{marketingCarrierCode}/{orderId}/travelDocuments/{ticketId}
Request
Provide marketingCarrierCode
, orderId
and ticketId
in the URL.
Response
Returns the PDF ticket for a given 'rocketTicketKey'.