4.2. RAIL PRICING RESPONSE
The Rail Pricing Response message returns rail itinerary pricing information for a specified origin/destination pair and specified train number and service class.
OTA_RailPriceRS*:
*mandatory
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
|
| For more information see Common Data Description section in Glossary. |
| |
|
|
| ||
|
|
| ||
RailItinerary |
|
| Contains itinerary with pricing information. | 0..1 |
|
| Contains journey information from one specific origin to one specific destination, including pricing details. | 1..9 | |
|
| For more information see Common Data Description section in Glossary. |
|
OTA_RailPriceRS/RailItinerary/OriginDestinationInformation*:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
|
| For more information see Rail Schedule Search Response section. | 0..1 | |
|
| 0..1 | ||
AllowedDocumentTypes/AllowedDocumentType* |
|
| Document type for reservation. | 1..99 |
| Code | string (1-16) | Code of the document type. | 0..1 |
| CodeContext | string (1-32) | Specifies the context of the Code. | 0..1 |
| PrefNameLanguage | string | Specifies preferred language of FIO on reservation. | 0..1 |
| AllowedNameLanguages | string | Specifies allowed languages of FIO on reservation. | 0..1 |
| NeedMiddleName | boolean | Indicates if Middle Name is required to set on reservation. | 0..1 |
AllowedDocumentTypes /AllowedDocumentType/Description |
|
| A short description of the document type. | 0..1 |
| string (2-8) | For more information see Common Data Description section in Glossary. | 0..1 | |
|
| Contains information about the train. | 0..1 |
OTA_RailPriceRS/RailItinerary/OriginDestinationInformation/TrainSegment:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
| DepartureDateTime* | DateTime (YYYY-MM-DDThh:mm:ss) | The departure date and time. | 1..1 |
| ArrivalDateTime* | DateTime (YYYY-MM-DDThh:mm:ss) | The arrival date and time. | 1..1 |
| JourneyDuration | Duration (PTnHnMnS) | Time duration of the journey from departure location to destination location. | 0..1 |
| JourneyDistance | string (1-16) | The distance in 'km' from departure location to destination location. | 0..1 |
DepartureStation |
|
| Specifies the departure point of the passenger. | 0..1 |
DepartureStation/Details |
|
| Specifies the departure station details. |
|
| TicketPrinterInd | boolean | Indicates if it is possible to print ticket on this station. | 0..1 |
| LocationCode | string | Contains code of location. | 0..1 |
| LocationName | string | Contains name of location. | 0..1 |
|
| For more information see Common Data Description section in Glossary. |
| |
|
|
| ||
ArrivalStation |
|
| Specifies the arrival point of the passenger. Elements and attributes are the same as in DepartureStation element above. | 0..1 |
CarCompany |
|
| Contains pair of marketing and operating car company. | 0..99 |
| CompanyRPH* | integer | Specifies reference to pair of marketing and operating car company. | 1..1 |
CarCompany/MarketingCompany |
|
| Specifies marketing company. | 0..1 |
| Code | string (1-32) | Contains company code. | 0..1 |
| CompanyShortName | string (1-32) | Contains company name. | 0..1 |
| PreferLevel | string (“Required”, ”NoPreference” - default) | Indicates if this service can be removed from booking. Possible values: “Required” (service can't be removed) or “NoPreference”. | 0..1 |
CarCompany/OperatingCompany |
|
| Specifies operating company. Attributes are the same as in CarCompany/MarketingCompany element above. | 0..1 |
ElRegPossible |
|
| Indicates if electronic registration is possible in the train. | 0..1 |
| Value* | boolean | 1..1 | |
TrainIdentification |
|
| Contains detailed information about the train. |
|
| TrainTypeCode | string | Contains supplier type of the train. | 0..1 |
TrainIdentification/TrainNumber |
| string (1-8) | Unique number that identifies the train. | 0..1 |
TrainIdentification/TrainName |
| string | Name of the train. | 0..1 |
TrainIdentification/TrainBrand |
| string | Brand name of the train. | 0..1 |
|
| Contains pricing details calculated for the origin/destination and service class. | 0..99 | |
|
| For more information see Rail Schedule Search Response section. | 0..99 | |
|
| For more information see Common Data Description section in Glossary. |
|
OTA_RailPriceRS/RailItinerary/OriginDestinationInformation/TrainSegment/PriceDetail:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
| BookingCode* | string | Contains specific unique identifier generated by GP Travel HUB for further referencing to this offer. | 1..1 |
| AvailabilityStatus* | string(“AvailableForSale”, “OnRequest”, “NoAvailability”) | Offer availability, whether it is immediately available (AvailableForSale) or on request (OnRequest). For rail offers it is always AvailableForSale. | 1..1 |
| CarCompanyRPH | integer | Reference to pair of marketing and operating car company. | 0..1 |
| DynamicPricing | boolean | Indicates that the price can increase in the case of the high demand for a specific date. | 0..1 |
| SeatsQuantity | integer | Specifies quantity of places mandatory to buy for this fare. | 0..1 |
PriceRule* |
|
| The rail price including accommodation adjustments, fare adjustments, service charges. | 1..9 |
| PaxGroupCode | string (“ADT”, “CHD”, “INF”) | Contains pax group code. | 0..1 |
| Type | string (“PerPassenger”, “PerOrder”) | Possible values: “PerPassenger” - indicates that price value for one passenger, “PerOrder” - indicates that price value for some service order (VIP offers etc.). | 0..1 |
| CurrencyCode* |
| For more information see Common Data Description section in Glossary. | 1..1 |
| Amount* |
| 1..1 | |
| MaxAmount |
| 0..1 | |
|
| Contains details about the rail price, including basic fare, adjustments, discounts, ancillary charges, terms and conditions, fees and taxes. | 0..1 | |
TotalFare* |
|
| Contains total amount of service charges. | 1..1 |
| CurrencyCode* |
| For more information see Common Data Description section in Glossary. | 1..1 |
| Amount* |
| 1..1 | |
| MaxAmount |
| 0..1 | |
SeatCarInfo |
|
| Contains information about seats of the particular class in a particular car. | 0..1 |
|
| Contains information about particular car. | 0..99 | |
Description |
| string | Contains textual service description. | 0..1 |
ClassCode |
|
| Contains information about service class. | 0..99 |
| DirectionContext | string (“Local”, “International”) | Specifies direction context |
|
| Code | string | Specifies the class code. | 0..1 |
| CodeContext | string (1-32) | Specifies the context of the class code. | 0..1 |
ClassCode/Description |
| string | Contains textual description of service calss. | 0..1 |
AncillaryService |
|
| Contains information about ancillary service included. | 0..9 |
| Description | string | Contains textual description of ancillary service. | 0..1 |
| PreferLevel | string (“Required”, “NoPreference” - default) | Indicates if this service can be removed from booking. Required means that service can't be removed. | 0..1 |
| Code | string | Contains code of ancillary service. | 0..1 |
| CodeContext | string (1-32) | Specifies the context of ancillary service code. | 0..1 |
PassengerTariffs |
|
|
| 0..1 |
PassengerTariffs/PassengerTariff |
|
|
| 0..99 |
| Code* | string |
| 1..1 |
| CodeContext* | string |
| 1..1 |
| Name | string |
| 0..1 |
| MinAge | integer |
| 0..1 |
| MaxAge | integer |
| 0..1 |
|
| For more information see Common Data Description section in Glossary. | 0..1 | |
LoyaltyPref |
| string (1-64) | Identifies the preferred loyalty program(s). | 0.. |
| Code | string (1-16) | Contains code of loyalty program. | 0..1 |
DiscountApplied |
|
| Indicates that discount applied to price. | 0..1 |
| Value | boolean | Indicates that discount applied to price. | 0..1 |
OTA_RailPriceRS/RailItinerary/OriginDestinationInformation/TrainSegment/PriceDetail/PriceRule/PriceBreakDown:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
AccommodationAdjustment |
|
| Contains accommodation adjustments. | 0..1 |
| CurrencyCode* |
| For more information see Common Data Description section in Glossary. | 1..1 |
| Amount* |
| 1..1 | |
| MaxAmount |
| 0..1 | |
FareQualifierAdjustment |
|
| Contains fare adjustments. | 0..1 |
| includeAccommodationAdjustment | boolean | Indicates if this amount include accommodation adjustment value. | 0..1 |
|
| For more information see Common Data Description section in Glossary. | 1..1 | |
|
| 1..1 | ||
|
| 0..1 | ||
AncillaryCharge |
|
| Contains total amount of service charges. | 0..1 |
| includeAccommodationAdjustment | boolean | Indicates if this amount include accommodation adjustment value. | 0..1 |
|
| For more information see Common Data Description section in Glossary. | 1..1 | |
|
| 1..1 | ||
|
| 0..1 | ||
Tax |
|
| Contains tax amount. | 0..1 |
|
| For more information see Common Data Description section in Glossary. | 1..1 | |
|
| 1..1 | ||
|
| 0..1 |
OTA_RailPriceRS/RailItinerary/OriginDestinationInformation/TrainSegment/PriceDetail/SeatCarInfo:
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
| Number | integer | Indicates number of particular car. | 0..1 |
| Type* | string | Indicates type of particular car. | 1..1 |
| MultiTrainInd | boolean | Indicates if current car can be in different trains during journey. | 0..1 |
| TwoStoreyInd | boolean | Indicates if current car has two storey. | 0..1 |
| DepartureDateTime | Date or DateTime | Contains the departure date and time of car (case of car in different trains during journey). | 0..1 |
| ArrivalDateTime | Date or DateTime | Contains the arrival date and time of car (case of car in different trains during journey) | 0..1 |
| JourneyDuration | duration | Contains the journey duration of car (case of car in different trains during journey). | 0..1 |
| JourneyDistance | string (1-16) | Contains the journey distance of car (case of car in different trains during journey). | 0..1 |
Seat |
|
| Contains information about seat. | 0..10 |
| SeatType | string(“Upper”, “Middle”, “Lower”, “UpperLateral”, “LowerLateral”, “Undefined”) | Contains information about a seat type. | 0..1 |
| Count | integer | Contains count of seats of a particular type. | 0..1 |
SeatNumbers |
| string | Contains numbers of available seats separated by comma. | 0..1 |
ElRegPossible |
|
| Indicates if electronic registration is possible in current car. | 0..1 |
| Value* | boolean | 1..1 | |
Schema |
|
| Contains information about car schema. | 0..1 |
| GroupCode | string | Supplier direction group (can be useful for determining of correct car schemas). | 0..1 |
| Code | string | Specifies the schema code. | 0..1 |
| CodeContext | string (1-32) | Specifies the context of schema code. | 0..1 |