XML Samples: Rail
Both the request and response XML are included in the text file link.
Request | Description | Sample |
---|---|---|
Search |
Return schedules and/or fares for a specific journey plan. The default search is 'fastest journey' for 'all classes'. |
|
Book |
Return a Universal Record (UR) with the rail reservation (PNR). |
|
Exchange quote |
Rail bookings cannot be canceled because they are ticketed immediately after booking. Therefore, rail bookings must be refunded or exchanged. The response contains information about the rail booking and exchange. |
|
Refund quote |
Request a refund quote. The response includes the refund amount and any cancellation fees that may apply. |
|
Refund |
After a refund quote, send a refund request to process the refund. |