6.6. RAIL RESERVATION CONFIRMATION RESPONSE
Yana Brilevskaya
Analytics
Reservation Confirmation Response returns information about the booking that has been made, it's status, and reservation IDs.
OTA_RailBookRS*:
*mandatory
Element | Attribute | Type | Description | Min…Max occurs |
---|
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
|
| For more information see Common Data Description section in Glossary. | 0..1 | |
| TransactionStatusCode | string (“Initiate”) | Indicates type of request. Must always be “Initiate” for that step. | 0..1 |
| TransactionIdentifier | integer | Contains unique transaction identifier. | 0..1 |
Success |
|
| For more information see Common Data Description section in Glossary. |
|
Warnings |
|
|
| |
Errors |
|
|
| |
RailReservations |
|
| Contains information about rail offers. | 0..1 |
| ResStatus |
| Indicates the status of the whole reservation. | 0..1 |
|
| For more information see Reservation Initiate Response section. | 1..1 |
<?xml version="1.0" encoding="UTF-8"?>
<OTA_RailBookRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="12345" TransactionIdentifier="12" TransactionStatusCode="Book" Version="2.0">
<Success/>
<RailReservations>
<RailReservation ResStatus="Reserved">
<RailItinerary>
<OriginDestinationInformation>
<TrainSegment ArrivalDateTime="2014-12-12T09:00:00" DepartureDateTime="2014-12-12T00:56:00" JourneyDistance="650" JourneyDuration="PT8H4M0.000S">
<DepartureStation>
<Details CodeContext="ufs" LocationCode="2000000" LocationName="МОСКВА" LocationType="station" TicketPrinterInd="true"/>
</DepartureStation>
<ArrivalStation>
<Details CodeContext="ufs" LocationCode="2004000" LocationName="САНКТ-ПЕТЕРБУРГ" LocationType="station"/>
</ArrivalStation>
<CarCompany CompanyRPH="1">
<MarketingCompany CompanyShortName="TVERSK"/>
<OperatingCompany CompanyShortName="РЖД/ОКТ"/>
</CarCompany>
<TrainInfo>
<Train TrainTypeCode="СК">
<TrainNumber>020У</TrainNumber>
<TrainName>Megapolis</TrainName>
</Train>
</TrainInfo>
<VendorMessages>
<VendorMessage InfoType="2">
<SubSection>
<Paragraph>
<Text>ВРЕМЯ ОТПР И ПРИБ МОСКОВСКОЕ</Text>
</Paragraph>
</SubSection>
</VendorMessage>
<VendorMessage InfoType="5">
<SubSection>
<Paragraph>
<Text>Пункт выдачи заказа: В кассах ОАО "РЖД", ОАО "ФПК", на транзакционных терминалах ТТС и ТТР</Text>
</Paragraph>
</SubSection>
</VendorMessage>
</VendorMessages>
<Remarks>
<Remark Code="МЖ" Language="ru">
<Text>С правом выбора мужского, женского или смешанного купе.</Text>
</Remark>
<Remark Code="И" Language="ru">
<Text>Есть места для пассажиров с ограниченными физическими возможностями.</Text>
</Remark>
</Remarks>
<ClassCode Code="2Э" CodeContext="ufs" DirectionContext="Local"/>
<Assignment PassengerID="1">
<AccommodationDetail>
<Seat Number="001">
<Position Value="Lower"/>
</Seat>
<Compartment GenderType="Male"/>
<Car CarCompanyRPH="1" Number="03" Type="Купе"/>
</AccommodationDetail>
</Assignment>
<Assignment PassengerID="2">
<AccommodationDetail>
<Seat Number="002">
<Position Value="Upper"/>
</Seat>
<Compartment GenderType="Male"/>
<Car CarCompanyRPH="1" Number="03" Type="Купе"/>
</AccommodationDetail>
</Assignment>
<AncillaryServices>
<AncillaryService Code="PAP" CodeContext="ufs" Description="пресса"/>
<AncillaryService Code="COND" CodeContext="ufs" Description="кондиционер"/>
<AncillaryService Code="BED" CodeContext="ufs" Description="постельное белье"/>
<AncillaryService Code="SAN" CodeContext="ufs" Description="сан.гигиен.набор"/>
<AncillaryService Code="WIFI" CodeContext="ufs" Description="WIFI"/>
</AncillaryServices>
</TrainSegment>
</OriginDestinationInformation>
</RailItinerary>
<PriceInfo>
<TotalFare Amount="5941.20" CurrencyCode="RUB"/>
<BaseFare Amount="5035.76" CurrencyCode="RUB"/>
<PTC_FareBreakdowns>
<PTC_FareBreakdown>
<TravelerRefNumber PassengerID="1"/>
<PassengerFare>
<BaseFare Amount="2517.88" CurrencyCode="RUB">
<Description>ПОЛНЫЙ</Description>
</BaseFare>
<Fees>
<Fee Amount="452.72" CurrencyCode="RUB" FeeCode="VAT"/>
</Fees>
<TotalFare Amount="2970.60" CurrencyCode="RUB"/>
</PassengerFare>
</PTC_FareBreakdown>
<PTC_FareBreakdown>
<TravelerRefNumber PassengerID="2"/>
<PassengerFare>
<BaseFare Amount="2517.88" CurrencyCode="RUB">
<Description>ПОЛНЫЙ</Description>
</BaseFare>
<Fees>
<Fee Amount="452.72" CurrencyCode="RUB" FeeCode="VAT"/>
</Fees>
<TotalFare Amount="2970.60" CurrencyCode="RUB"/>
</PassengerFare>
</PTC_FareBreakdown>
</PTC_FareBreakdowns>
</PriceInfo>
<PassengerInfo>
<PassengerDetail AgeQualifyingCode="ADT" BirthDate="1985-07-15" BirthPlace="Москва" Gender="Male">
<Identification>
<NamePrefix>Mr</NamePrefix>
<GivenName>Ivan</GivenName>
<MiddleName>Ivanovich</MiddleName>
<Surname>Ivanov</Surname>
<Document DocHolderNationality="RUS" DocID="550000000" DocType="ЗП" DocTypeContext="ufs"/>
</Identification>
<ProfileRef>
<UniqueID ID="1" Type="1"/>
</ProfileRef>
<Telephone PhoneNumber="12312321123"/>
<Email>ivanov@testemail.com</Email>
<Address>
<AddressLine>ул.Скрыганова 3-45</AddressLine>
<CityName>Москва</CityName>
<PostalCode>321465</PostalCode>
<CountryName Code="RU"/>
</Address>
</PassengerDetail>
<PassengerDetail AgeQualifyingCode="ADT" BirthDate="1986-08-25" BirthPlace="Москва" Gender="Male">
<Identification>
<NamePrefix>Mr</NamePrefix>
<GivenName>Oleg</GivenName>
<MiddleName>Ivanovich</MiddleName>
<Surname>Ivanov</Surname>
<Document DocHolderNationality="RUS" DocID="540000000" DocType="ЗП" DocTypeContext="ufs"/>
</Identification>
<ProfileRef>
<UniqueID ID="2" Type="1"/>
</ProfileRef>
<Telephone PhoneNumber="12312321123"/>
<Email>o.ivanov@testemail.com</Email>
<Address>
<AddressLine>ул.Скрыганова 3-45</AddressLine>
<CityName>Москва</CityName>
<PostalCode>321465</PostalCode>
<CountryName Code="RU"/>
</Address>
</PassengerDetail>
</PassengerInfo>
<PaymentRules>
<PaymentRule DateTime="2014-12-02T12:40:54" RuleType="5"/>
</PaymentRules>
<RailReservationIDs>
<RailReservationID ResID_Source="agent" ResID_Value="1234"/>
<RailReservationID ResID_Source="client" ResID_Value="1234"/>
<RailReservationID ResID_Source="supplier" ResID_Value="71123397"/>
</RailReservationIDs>
</RailReservation>
</RailReservations>
</OTA_RailBookRS>