/
2.1. RAIL SCHEDULE SEARCH REQUEST

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

Element

Attribute

Type

Description

Min…Max occurs

 

PrimaryLangID

 

For more information see Common Data Description section in Glossary.

0..1

 

RequestedCurrency

 

0..1

 

ScheduleRatesOnly

boolean

 

0..1

RailScheduleQuery*

 

 

Criteria for a rail schedule query.

1..1

RailScheduleQuery/OriginDestinationInformation*

 

 

Information on the locations between which availability are to be checked.

1..1

OTA_RailScheduleRQ/RailScheduleQuery/OriginDestinationInformation*:

Element

Attribute

Type

Description

Min…Max occurs

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

 

LocationCode

string

For more information see Common Data Description section in Glossary.

 

 

LocationName

string

 

 

LocationType*

 

 

 

CodeContext*

 

 

DestinationLocation

 

 

Identifies end point of journey.

0..1

 

LocationCode

string

For more information see Common Data Description section in Glossary.

 

 

LocationName

string

 

 

LocationType*

 

 

 

CodeContext*

 

 

<ota:OTA_RailScheduleRQ EchoToken="12345" Version="2.0" PrimaryLangID="en" xmlns:ota="http://www.opentravel.org/OTA/2003/05"> <ota:POS> <ota:Source> <ota:RequestorID ID="cla" MessagePassword="pwa" Type="22"/> <ota:BookingChannel Type="7" PriceDomain="1"/> </ota:Source> </ota:POS> <ota:RailScheduleQuery> <ota:OriginDestinationInformation> <ota:DepartureDateTime TimeFrom="15:00:00" TimeTo="17:00:00">2014-11-01</ota:DepartureDateTime> <ota:OriginLocation LocationName="Москва" LocationType="city" CodeContext="teletrain" /> <ota:DestinationLocation LocationName="Минск" LocationType="city" CodeContext="teletrain" /> </ota:OriginDestinationInformation> </ota:RailScheduleQuery> </ota:OTA_RailScheduleRQ>

 

Related content

2.2. RAIL SCHEDULE SEARCH RESPONSE
2.2. RAIL SCHEDULE SEARCH RESPONSE
More like this
2. RAIL SCHEDULE SEARCH
2. RAIL SCHEDULE SEARCH
More like this
3.2. RAIL AVAILABILITY SEARCH RESPONSE
3.2. RAIL AVAILABILITY SEARCH RESPONSE
More like this
6.1. RAIL RESERVATION INITIATE REQUEST
6.1. RAIL RESERVATION INITIATE REQUEST
More like this
3.1. FLIGHT SCHEDULE SEARCH REQUEST
3.1. FLIGHT SCHEDULE SEARCH REQUEST
More like this
3.2. FLIGHT SCHEDULE SEARCH RESPONSE
3.2. FLIGHT SCHEDULE SEARCH RESPONSE
More like this