4.1. RAIL PRICING REQUEST
The Rail Price message is used to request rail itinerary pricing information for a specified origin/destination pair and specified train number and service class.
OTA_RailPriceRQ*:
*mandatory
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
|
| For more information see Common Data Description section in Glossary. | 0..1 | |
|
| 0..1 | ||
RailItinerary |
|
| A rail itinerary to be priced. |
|
RailItinerary/OriginDestinationInformation |
|
| For more information see Rail Schedule Search Request section. | 0..1 |
|
| For more information see Common Data Description section in Glossary. | 1..1 |
OTA_RailPriceRQ/RailItinerary/OriginDestinationInformation:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
TrainSegment* |
|
| Contains information about the train. | 1..1 |
TrainSegment/TrainIdentification* |
|
| Contains detailed information about train. | 1..1 |
TrainSegment/TrainIdentification/TrainNumber* |
| string (1-8) | Contains the unique number that identifies the train. The train number should be taken from Rail Availability Search Response. | 1..1 |
TrainSegment/SeatCarInfo* |
|
| Contains information about seats service class. | 1..1 |
TrainSegment/SeatCarInfo/Car |
|
| 0..99 | |
| Type* | string | indicates supplier seats service class. Type value should be taken from Rail Availability Search Response. | 1..1 |
DepartureDateTime |
| Date (YYYY-MM-DD) | Contains the departure date. В гайде написано мандатори | 0..1 |
| TimeFrom | time (hh:mm:ss) | The departure time from. | 0..1 |
| TimeTo | time (hh:mm:ss) | The departure time to. Note: It is required to specify both TimeFrom and TimeTo attributes in case use any of them. | 0..1 |
ArrivalDateTime |
| Date (YYYY-MM-DD) | Contains the arrival departure date. | 0..1 |
| TimeFrom | time (hh:mm:ss) | The departure time from. | 0..1 |
| TimeTo | time (hh:mm:ss) | The departure time to. Note: It is required to specify both TimeFrom and TimeTo attributes in case use any of them. | 0..1 |
OriginLocation |
|
| Identifies start point of journey. | 0..1 |
| string | For more information see Common Data Description section in Glossary. |
| |
| string |
| ||
|
|
| ||
|
|
| ||
DestinationLocation |
|
| Identifies end point of journey. | 0..1 |
| string | For more information see Common Data Description section in Glossary. |
| |
| string |
| ||
|
|
| ||
|
|
|