/
8.2. RAIL TICKETING RESPONSE
8.2. RAIL TICKETING RESPONSE
Yana Brilevskaya
Owned by Yana Brilevskaya
May 21, 2021
2 min read
Analytics
Loading data...
Rail Ticketing Response contains full rail itinerary and booking details, with additional information about the tickets issued.
OTA_RailDemandTicketRS*:
*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 | |
Success |
|
|
| |
Warnings |
|
|
| |
Errors |
|
|
| |
|
| For more information see Reservation Initiate Response section. Если в ините все-таки нет тикетинга то нужно добавить его в эту таблицу! |
|
<?xml version="1.0" encoding="UTF-8"?>
<OTA_RailDemandTicketRS xmlns="http://www.opentravel.org/OTA/2003/05" EchoToken="12345" Version="2.0">
<Success/>
<RailReservations>
<RailReservation ElRegDateTimeLimit="2015-02-23T23:43:00+03:00" ResStatus="Issued">
<RailItinerary>
<OriginDestinationInformation>
<TrainSegment ArrivalDateTime="2014-12-24T08:53:00+03:00" DepartureDateTime="2014-12-24T00:56:00+03: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="ТВЕРСК"/>
<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>
</VendorMessages>
<Remarks>
<Remark Code="У0" 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"/>
<TotalRetailFare Amount="5991.40" CurrencyCode="RUB" isMin="true"/>
<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>
<Ticketing ElRegistration="true" TicketIssueDate="2014-12-18T11:32:07+03:00" TicketNumber="39897699082251" TicketStatus="Issued" TravelerRefNumber="1"/>
<Ticketing ElRegistration="true" TicketIssueDate="2014-12-18T11:32:07+03:00" TicketNumber="39897699082252" TicketStatus="Issued" TravelerRefNumber="2"/>
<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>
<VoucherProperties>
<Property Name="orderIdentificator" Value="39897699082251"/>
<Property Name="ticketBlanksURL" Value="https://www.ufs-online.ru/webservices/RZhD/Tickets.asmx/GetTicketBlank?idtrans=71354231&format=1&terminal=KMPGROUPP_TEST"/>
<Property Name="authorizationValue" Value="Basic a21wZ3JvdXBwOmM2OWM2ZDIzNg=="/>
</VoucherProperties>
<RailReservationIDs>
<RailReservationID ResID_Source="agent" ResID_Value="1234"/>
<RailReservationID ResID_Source="client" ResID_Value="1234"/>
<RailReservationID ResID_Source="supplier" ResID_Value="71354231"/>
</RailReservationIDs>
</RailReservation>
</RailReservations>
</OTA_RailDemandTicketRS>
, multiple selections available,