/
7.2. RAIL BOOKING RETRIEVAL RESPONSE
7.2. RAIL BOOKING RETRIEVAL RESPONSE
Yana Brilevskaya
Owned by Yana Brilevskaya
May 20, 2021
2 min read
Analytics
Loading data...
Rail Booking Retrieval Response contains the latest information about the state of the booking. Elements and attributes are the same as described in Reservation Confirmation response, but ResStatus attribute can take different values:
Element | Attribute | Type | Description | Min…Max occurs |
---|
Element | Attribute | Type | Description | Min…Max occurs |
---|---|---|---|---|
OTA_RailBookRS* | ResStatus |
| Contains current status of the reservation. Possible values are: "Reserved" - means that the booking was successfully reserved. "Cancelled" - means that booking is cancelled. | 0..1 |
<?xml version="1.0" encoding="UTF-8"?>
<ota:OTA_RailBookRS Version="2.0" TransactionStatusCode="Quote" EchoToken="12345" xmlns:ota="http://www.opentravel.org/OTA/2003/05" xmlns="http://www.opentravel.org/OTA/2003/05">
<ota:Success/>
<ota:RailReservations>
<ota:RailReservation ElRegDateTimeLimit="2015-02-23T23:43:00+03:00" ResStatus="Reserved" BookingCode="6d05da" xmlns="http://www.opentravel.org/OTA/2003/05">
<RailItinerary>
<OriginDestinationInformation>
<TrainSegment ArrivalDateTime="2015-02-24T09:12:00+03:00" DepartureDateTime="2015-02-24T00:43:00+03:00" JourneyDistance="652" JourneyDuration="PT8H29M0.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="FPK"/>
<OperatingCompany CompanyShortName="РЖД/ОКТ"/>
</CarCompany>
<TrainInfo>
<Train TrainTypeCode="СК ФИРМ">
<TrainNumber>016А</TrainNumber>
<TrainName>Arctica</TrainName>
</Train>
</TrainInfo>
<VendorMessages>
<VendorMessage InfoType="2">
<SubSection>
<Paragraph>
<Text>ВРЕМЯ ОТПР И ПРИБ МОСКОВСКОЕ</Text>
</Paragraph>
</SubSection>
</VendorMessage>
</VendorMessages>
<Remarks>
<Remark Code="У1" Language="ru">
<Text>1 рацион питания.</Text>
</Remark>
</Remarks>
<ClassCode Code="2Т" CodeContext="ufs" DirectionContext="Local"/>
<Assignment PassengerID="1">
<AccommodationDetail>
<Seat Number="001">
<Position Value="Lower"/>
</Seat>
<Compartment GenderType="Mixed"/>
<Car CarCompanyRPH="1" Number="06" Type="Купе"/>
</AccommodationDetail>
</Assignment>
<Assignment PassengerID="2">
<AccommodationDetail>
<Seat Number="002">
<Position Value="Upper"/>
</Seat>
<Compartment GenderType="Mixed"/>
<Car CarCompanyRPH="1" Number="06" Type="Купе"/>
</AccommodationDetail>
</Assignment>
<AncillaryServices>
<AncillaryService Code="EAT" CodeContext="ufs" Description="meal"/>
<AncillaryService Code="PAP" CodeContext="ufs" Description="magazines"/>
<AncillaryService Code="BED" CodeContext="ufs" Description="bedding"/>
<AncillaryService Code="SAN" CodeContext="ufs" Description="hygiene kit"/>
</AncillaryServices>
</TrainSegment>
</OriginDestinationInformation>
</RailItinerary>
<PriceInfo>
<TotalFare Amount="5808.00" CurrencyCode="RUB"/>
<TotalRetailFare Amount="5808.00" CurrencyCode="RUB" isMin="true"/>
<BaseFare Amount="4922.86" CurrencyCode="RUB"/>
<PTC_FareBreakdowns>
<PTC_FareBreakdown>
<TravelerRefNumber PassengerID="1"/>
<PassengerFare>
<BaseFare Amount="2461.43" CurrencyCode="RUB">
<Description>ПОЛНЫЙ</Description>
</BaseFare>
<Fees>
<Fee Amount="442.57" CurrencyCode="RUB" FeeCode="VAT"/>
</Fees>
<TotalFare Amount="2904.00" CurrencyCode="RUB"/>
</PassengerFare>
</PTC_FareBreakdown>
<PTC_FareBreakdown>
<TravelerRefNumber PassengerID="2"/>
<PassengerFare>
<BaseFare Amount="2461.43" CurrencyCode="RUB">
<Description>ПОЛНЫЙ</Description>
</BaseFare>
<Fees>
<Fee Amount="442.57" CurrencyCode="RUB" FeeCode="VAT"/>
</Fees>
<TotalFare Amount="2904.00" CurrencyCode="RUB"/>
</PassengerFare>
</PTC_FareBreakdown>
</PTC_FareBreakdowns>
</PriceInfo>
<Ticketing ElRegistration="true" TicketIssueDate="2015-01-21T14:02:44+03:00" TicketNumber="34566383553081" TicketStatus="Issued" TravelerRefNumber="1"/>
<Ticketing ElRegistration="true" TicketIssueDate="2015-01-21T14:02:44+03:00" TicketNumber="34566383553082" TicketStatus="Issued" TravelerRefNumber="2"/>
<PassengerInfo>
<PassengerDetail AgeQualifyingCode="ADT" BirthDate="1985-07-15" BirthPlace="Москва" Gender="Male">
<Identification>
<NamePrefix>Mr</NamePrefix>
<GivenName>Indiana</GivenName>
<Surname>Jones</Surname>
<Document DocHolderNationality="RUS" DocID="111111111" DocType="ЗП" DocTypeContext="ufs"/>
</Identification>
<ProfileRef>
<UniqueID ID="1" Type="1"/>
</ProfileRef>
<Telephone PhoneNumber="12312321123"/>
<Email>Indiana@testemail.com</Email>
<Address>
<AddressLine>usa</AddressLine>
<CityName>usa</CityName>
<PostalCode>234234234234234</PostalCode>
<CountryName Code="GB"/>
</Address>
</PassengerDetail>
<PassengerDetail AgeQualifyingCode="ADT" BirthDate="1986-08-25" BirthPlace="Москва" Gender="Male">
<Identification>
<NamePrefix>Mr</NamePrefix>
<GivenName>Bedrick</GivenName>
<Surname>Amadeus</Surname>
<Document DocHolderNationality="RUS" DocID="123456789" DocType="ЗП" DocTypeContext="ufs"/>
</Identification>
<ProfileRef>
<UniqueID ID="2" Type="1"/>
</ProfileRef>
</PassengerDetail>
</PassengerInfo>
<VoucherProperties>
<Property Name="orderIdentificator" Value="34566383553081"/>
<Property Name="ticketBlanksURL" Value="https://www.ufs-online.ru/webservices/RZhD/Tickets.asmx/GetTicketBlank?idtrans=72148446&format=1&terminal=KMPGROUPP_TEST"/>
<Property Name="authorizationValue" Value="Basic a21wZ3JvdXBwOmM2OWM2ZDIzNg=="/>
</VoucherProperties>
<ota:RailReservationIDs>
<ota:RailReservationID ResID_Value="23445t6" ResID_Source="client" />
<ota:RailReservationID ResID_Value="757488hhgf00" ResID_Source="agent" />
<ota:RailReservationID ResID_Value="7657684465" ResID_Source="supplier" />
</ota:RailReservationIDs>
</ota:RailReservation>
</ota:RailReservations>
</ota:OTA_RailBookRS>
, multiple selections available,