5.2. RAIL ROUTE RESPONSE
The Rail Route Response message return information about the train route for the specific train which passes through a specific station on a specific date.
OTA_RailRouteRS*:
*mandatory
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
|
| For more information see Common Data Description section in Glossary. |
| |
|
|
| ||
|
|
| ||
OriginDestinationInformation |
|
| Contains information about train route for specific train which passes through a specific station on a specific date. | 0..1 |
OriginLocation |
|
| Contains information about available for passenger departure stations with the same name. | 0..99 |
| string | For more information see Common Data Description section in Glossary. | 0..1 | |
| string | 0..1 | ||
|
| 1..1 | ||
|
| 1..1 | ||
DestinationLocation |
|
| Contains information about available for passenger arrival stations with the same name. Attributes are the same as in OriginLocation element above. | 0..99 |
|
| Contains information about the train rout. | 1..1 |
OTA_RailRouteRS/OriginDestinationInformation/TrainSegment*:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
TrainIdentification |
|
| Contains detailed information about the train. | 0..1 |
| TrainTypeCode | string | Contains supplier type of the train. | 0..1 |
TrainIdentification/TrainNumber |
| string (1-8) | Contains the unique number that identifies the train. | 0..1 |
TrainIdentification/TrainName |
| string | Contains train name. | 0..1 |
TrainIdentification/TrainBrand |
| string | Contains train brand. | 0..1 |
StationDetails |
|
| Contains information about route station. | 0..99 |
| string | For more information see Common Data Description section in Glossary.
| 0..1 | |
| string | 0..1 | ||
| string (“city”, “station”) | 1..1 | ||
| string | 1..1 | ||
StationDetails/DepartureDateTime |
| datetime | The departure from station date and time. | 0..1 |
StationDetails/ArrivalDateTime |
| datetime | The arrival to station date and time. | 0..1 |
StationDetails/WaitingDuration |
| duration | Train waiting time. | 0..1 |
StationDetails/Distance |
| string(1-16) | The distance to current station from train start point in km. | 0..1 |
StationDetails/Description |
| string | Station description. | 0..1 |