2.1. RAIL SCHEDULE SEARCH REQUEST
The Rail Schedule Search requests a train schedule for stations on a specific date.
OTA_RailScheduleRQ*:
*mandatory
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
|
| For more information see Common Data Description section in Glossary. | 0..1 | |
|
| 0..1 | ||
| ScheduleRatesOnly | boolean |
| 0..1 |
RailScheduleQuery* |
|
| Criteria for a rail schedule query. | 1..1 |
|
| Information on the locations between which availability are to be checked. | 1..1 |
OTA_RailScheduleRQ/RailScheduleQuery/OriginDestinationInformation*:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
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 |
| ||
|
|
| ||
|
|
|