Бронирование мест в поезде.
dd.mm.yyyy
. <BookTrain>
<Request>
<RequestBody>
<CarNum>12</CarNum>
<CatID>0</CatID>
<!--Optional:-->
<ERegister>true</ERegister>
<!--Optional:-->
<SeatsPref>
<!--Optional:-->
<!--<Bedclothes>?</Bedclothes>-->
<!--Optional:-->
<!--<FullCoupe>?</FullCoupe>-->
<!--Optional:-->
<!--<GenderPref>?</GenderPref>-->
<!--Optional:-->
<!--<LocPref>?</LocPref>-->
<!--Optional:-->
<!--<LowerCount>?</LowerCount>-->
<!--Optional:-->
<!--<NoSide>?</NoSide>-->
<!--Optional:-->
<Range>
<From>1</From>
<To>50</To>
</Range>
<!--Optional:-->
<!--<StoreyNumber>?</StoreyNumber>-->
<!--Optional:-->
<!--<UpperCount>?</UpperCount>-->
</SeatsPref>
<TrainID>258073</TrainID>
<!--Optional:-->
<BlankPrefferredType>html</BlankPrefferredType>
<Passengers>
<!--Zero or more repetitions:-->
<BookRQPerson>
<!--Optional:-->
<DateOfBirth>24.09.1995</DateOfBirth>
<!--Optional:-->
<!--<PlaceOfBirth>?</PlaceOfBirth>-->
<!--Optional:-->
<Nationality>RUS</Nationality>
<!--Optional:-->
<Gender>M</Gender>
<FirstName>Пупкин</FirstName>
<!--Optional:-->
<MiddleName>Акакиевич</MiddleName>
<LastName>Василий</LastName>
<!--Optional:-->
<!--<Phone>?</Phone>-->
<!--Optional:-->
<!--<Email>?</Email>-->
<Document>
<DocType>Passport</DocType>
<DocNum>1234567890</DocNum>
<!--Optional:-->
<!--<CountryCode>?</CountryCode>-->
<!--Optional:-->
<!--<DocElapsedTime>?</DocElapsedTime>-->
</Document>
<!--Optional:-->
<!--<TariffCode>?</TariffCode>-->
<!--Optional:-->
<!--<ReturnTrainTariffCode>?</ReturnTrainTariffCode>-->
<Type>adult</Type>
<!--Optional:-->
<!--<NeedServices></NeedServices>-->
<!--Optional:-->
<!--<RzhdBBonusCard>?</RzhdBBonusCard>-->
<!--Optional:-->
<!--<RzhdBDiscountCard>?</RzhdBDiscountCard>-->
<!--Optional:-->
<!--<DiscountCard>?</DiscountCard>-->
<!--Optional:-->
<!--<ReturnTrainNeedServices>?</ReturnTrainNeedServices>-->
<!--Optional:-->
<!--<ReturnTrainRzhdBBonusCard>?</ReturnTrainRzhdBBonusCard>-->
<!--Optional:-->
<!--<ReturnTrainRzhdBDiscountCard>?</ReturnTrainRzhdBDiscountCard>-->
<!--Optional:-->
<!--<SpecialDocuments>-->
<!--Zero or more repetitions:-->
<!--<DocumentInformation>-->
<!--<DocType>?</DocType>-->
<!--<DocNum>?</DocNum>-->
<!--Optional:-->
<!--<CountryCode>?</CountryCode>-->
<!--Optional:-->
<!--<DocElapsedTime>?</DocElapsedTime>-->
<!--</DocumentInformation>
<!--</SpecialDocuments>-->
</BookRQPerson>
</Passengers>
<ReturnTrain>
<CarNum>12</CarNum>
<CatID>0</CatID>
<!--Optional:-->
<ERegister>true</ERegister>
<!--Optional:-->
<SeatsPref>
<!--Optional:-->
<!--<Bedclothes>?</Bedclothes>-->
<!--Optional:-->
<!--<FullCoupe>?</FullCoupe>-->
<!--Optional:-->
<!--<GenderPref>?</GenderPref>-->
<!--Optional:-->
<!--<LocPref>?</LocPref>-->
<!--Optional:-->
<!--<LowerCount>?</LowerCount>-->
<!--Optional:-->
<!--<NoSide>?</NoSide>-->
<Range>
<From>1</From>
<To>50</To>
</Range>
<!--Optional:-->
<!--<StoreyNumber>?</StoreyNumber>-->
<!--Optional:-->
<!--<UpperCount>?</UpperCount>-->
</SeatsPref>
<TrainID>258073</TrainID>
</ReturnTrain>
</RequestBody>
</Request>
</BookTrain>
<BookTrainResponse>
<BookTrainResult>
<RequestID>12822</RequestID>
<ResponseBody>
<Balance>
<a:Amount>30000</a:Amount>
<a:Currency>RUB</a:Currency>
</Balance>
<BlankPreferredType>html</BlankPreferredType>
<BookCode nil="true"/>
<BookID>18561</BookID>
<Date>2014-07-11 12:00:39</Date>
<Passengers>
<BookedPerson>
<Gender>N</Gender>
<FirstName>Пупкин</FirstName>
<MiddleName>Акакиевич</MiddleName>
<LastName>Василий</LastName>
<SupplierID>116271510</SupplierID>
<Document nil="true"/>
<Type>adult</Type>
<Price>
<Amount>463.76</Amount>
<Currency>UAH</Currency>
<NDS>76.38</NDS>
</Price>
<Tickets>
<Ticket>
<BlankID>000B38C1-02C8FDD0-0001</BlankID>
<IsERegistered>true</IsERegistered>
<IsPrinted>false</IsPrinted>
<IsReturn>false</IsReturn>
<Price>
<Amount>463.76</Amount>
<Currency>UAH</Currency>
<NDS>76.38</NDS>
</Price>
<Service>
<Amount>105.7</Amount>
<Currency>UAH</Currency>
<NDS>28.5</NDS>
</Service>
<RefundPrice>
<Amount>1134.8</Amount>
<Currency>RUB</Currency>
<a:NDS>0</a:NDS>
<RefundPrice>
<a:RefundSum>
<Amount>1134.8</Amount>
<Currency>RUB</Currency>
</a:RefundSum>
<RefundService/>
<RefundPenalty>
<Amount>55</Amount>
<Currency>KZT</Currency>
<NDS>0</NDS>
</RefundPenalty>
<RefundCode>1282210341201407111100360</RefundCode>
<SeatNum>009</SeatNum>
<Services/>
<Status>book</Status>
<TariffType>full</TariffType>
<TicketNumber nil="true"/>
<TransportDocs nil="true"/>
</Ticket>
</Tickets>
</BookedPerson>
</Passengers>
<Price>
<Amount>463.76</Amount>
<Currency>UAH</Currency>
<NDS>76.38</NDS>
</Price>
<RefundCode nil="true"/>
<ReturnTrain nil="true"/>
<Status>book</Status>
<Timelimit nil="true"/>
<Train>
<ArrStation>2200001</ArrStation>
<ArrExtStation>2200006</ArrExtStation>
<BeginDate>2014-07-20 19:27:00</BeginDate>
<Categories>
<TCategory>
<Bedclothes>false</Bedclothes>
<Carrier nil="true"/>
<Cars>
<Car>
<IsCarERegister>false</IsCarERegister>
<Number>12</Number>
<SeatCount nil="true"/>
<Services/>
<TwoStorey>false</TwoStorey>
</Car>
</Cars>
<Category>LUX</Category>
<Description nil="true"/>
<Discount>0</Discount>
<GDSCode>Д</GDSCode>
<GenderSeats>false</GenderSeats>
<GenderType nil="true"/>
<ID nil="true"/>
<MaxPrice nil="true"/>
<PlacesCountInPrice>1</PlacesCountInPrice>
<Price nil="true"/>
<RoadType nil="true"/>
<SeatsNum nil="true"/>
<TimelimitToConfirm>30</TimelimitToConfirm>
<TrainLogicNumber nil="true"/>
</TCategory>
</Categories>
<Category>
<TrainCat>COMMON</TrainCat>
<TrainCat>FAST</TrainCat>
</Category>
<DepStation>2210800</DepStation>
<DepExtStation>2210805</DepExtStation>
<Direction nil="true"/>
<EndDate>2014-07-21 05:58:00</EndDate>
<ID>258073</ID>
<IsERegister>false</IsERegister>
<Name nil="true"/>
<Number>072П</Number>
<PrintPoints nil="true"/>
<RequisitesId>0</RequisitesId>
<SupplierAgencyID>TEST_ID</SupplierAgencyID>
<TrainEndPointName>КИЕВ-ПАССАЖИРСКИЙ</TrainEndPointName>
<TrainStartPointName>ЗАПОРОЖЬЕ 1</TrainStartPointName>
<TripTime>010:31</TripTime>
<WebService>UIT</WebService>
</Train>
<WasSuccessTicketing>false</WasSuccessTicketing>
</ResponseBody>
</BookTrainResult>
</BookTrainResponse>