Skip to main content

Content Services Rail Read

1.0.1
Rail
Reservation
REST API
Try now

What is it?

This method returns order details.

Why use it?

Use this method to review the full details of an order.

How it works?

  1. Send a request to the Rail vendor system to get an order by orderId.\ Note: The request can be sent at any time to get the most current details of the order.
  2. All order details are returned in a structured format, including the following information:\ Note: This information is grouped under one or more order items corresponding to the booked products.
    • Passengers
    • Journeys
    • Price
    • Transport products
    • Seats reservation information
    • Delivery methods
    • on hold status time limits
    • Tickets
    • Payments
    • Vendor reservation references

Depending on the order's status, some elements may be present, while others may not.\ Example:

  • For a canceled order, most of the elements are empty.
  • For an on hold order, the ticket and payment elements are empty.
  • For a confirmed order, all elements would be present, except for an on hold time limit.

How to use?

Method

GET /v1/rail/orders/{marketingCarrierCode}/{orderId}

Request

Provide an orderId and marketing carrier code.

Response

Returns the full order's information.