Изменения

Перейти к навигации Перейти к поиску

Выгрузка заказов

1 байт добавлено, 20:50, 5 июня 2014
Выгрузка заказа для компонента «ЖД»
=== Выгрузка заказа для компонента «ЖД» ===
Для компонента '''«ЖД»''' доступна выгрузка заказов в формате Nemo.
 
<div class="toccolours mw-collapsible mw-collapsed" style="width:1000px">
 
==== Формат Nemo ====
<div class="mw-collapsible-content">
<syntaxhighlight lang="xml" line enclose="div" style="font-size:9pt;background: #F9F9F9; border: 1px dashed #2F6FAB; padding: 10px 5px; margin: 10px 0;">
<?xml version="1.0" encoding="UTF-8"?>
<PNR>
<Common>
<id>123456</id>
<Type>TRAINS</Type>
<Service>UFS</Service>
<Locator>64345987</Locator>
<BeginDateTime>2014.04.26-00:15</BeginDateTime>
<EndDateTime>2014.04.26-13:33</EndDateTime>
<TotalPrice>
<Amount>57505.8</Amount>
<CurrencyCode>RUB</CurrencyCode>
</TotalPrice>
<UserId>123</UserId>
<EEUserId />
<UserLogin>mikhalevtur</UserLogin>
<GroupId>122</GroupId>
<UserStatus>Менеджер</UserStatus>
<DateCreate>2014.04.24-15:03</DateCreate>
</Common>
<Payment>
<Status>booked</Status>
<PenaltyDate />
<Timelimit>2014-04-24 15:18:01</Timelimit>
<Charge>
<Amount>52278</Amount>
<CurrencyCode>RUB</CurrencyCode>
</Charge>
<Book>
<Amount>5227.8</Amount>
<CurrencyCode>RUB</CurrencyCode>
</Book>
<Penalty>
<Amount>0</Amount>
<CurrencyCode>RUB</CurrencyCode>
</Penalty>
<Total>
<Amount>57505.8</Amount>
<CurrencyCode>RUB</CurrencyCode>
</Total>
<PaidValue>
<Amount>0</Amount>
<CurrencyCode>RUB</CurrencyCode>
</PaidValue>
</Payment>
<Client>
<LastName>Сидоров</LastName>
<Name>Владимир</Name>
<MiddleName>Константинович</MiddleName>
<Number>1806326598</Number>
<Birth>1987-05-20</Birth>
<Email>mail@host.com</Email>
<Phone>+79871234567</Phone>
</Client>
<Passengers>
<Passenger>
<name>Владимир</name>
<middlename>Константинович</middlename>
<phone>
<country />
<city />
<number>+79271031610</number>
<expansion />
</phone>
<email>mlsdsar@gmail.com</email>
<nationality>RU</nationality>
<passenger_type>ADT</passenger_type>
<lastname>Сидоров</lastname>
<doc_type>C</doc_type>
<passport_number>1806326598</passport_number>
<passenger_id>1</passenger_id>
<gender>M</gender>
<date_of_birth>20.04.1984</date_of_birth>
<TotalPrice>28752.9</TotalPrice>
<FarePrice>2613.9</FarePrice>
<Charge>26139</Charge>
<TicketNumber />
<SeatNumber>033</SeatNumber>
<HasSeat>true</HasSeat>
</Passenger>
<Passenger>
<nationality>RU</nationality>
<middlename>Константинович</middlename>
<passenger_type>ADT</passenger_type>
<lastname>Сидоров</lastname>
<name>Иван</name>
<doc_type>C</doc_type>
<passport_number>1806326554</passport_number>
<passenger_id>2</passenger_id>
<gender>M</gender>
<date_of_birth>05.04.1984</date_of_birth>
<TotalPrice>28752.9</TotalPrice>
<FarePrice>2613.9</FarePrice>
<Charge>26139</Charge>
<TicketNumber />
<SeatNumber>034</SeatNumber>
<HasSeat>true</HasSeat>
</Passenger>
</Passengers>
<Info>
<trainNumber>098ХА</trainNumber>
<trainName />
<departureStation>МОСКВА КАЗ</departureStation>
<arrivalStation>КАЗАНЬ ПАС</arrivalStation>
<trainCategory>1</trainCategory>
<beginStation>Москва</beginStation>
<endStation>Казань</endStation>
<startDate>2014.04.26-00:15</startDate>
<endDate>2014.04.26-13:33</endDate>
<timeInRoad>47880</timeInRoad>
<carNumber>8</carNumber>
<carType>4</carType>
<choosenSeats>
<type>
<lower>1</lower>
</type>
<type>
<upper>1</upper>
</type>
<type>
<lower_side>0</lower_side>
</type>
<type>
<upper_side>0</upper_side>
</type>
<type>
<undefined>0</undefined>
</type>
</choosenSeats>
<choosenRange>
<start>0</start>
<end>0</end>
</choosenRange>
<serviceClass>В стоимость входит - постельное белье. Наличие установки кондиционирования воздуха не гарантировано.</serviceClass>
</Info>
</PNR>
</syntaxhighlight>
==== Элемент PNR ====
|}
<div class="toccolours mw-collapsible mw-collapsed" style="width:1000px">
 
==== Формат Nemo ====
<div class="mw-collapsible-content">
<syntaxhighlight lang="xml" line enclose="div" style="font-size:9pt;background: #F9F9F9; border: 1px dashed #2F6FAB; padding: 10px 5px; margin: 10px 0;">
<?xml version="1.0" encoding="UTF-8"?>
<PNR>
<Common>
<id>123456</id>
<Type>TRAINS</Type>
<Service>UFS</Service>
<Locator>64345987</Locator>
<BeginDateTime>2014.04.26-00:15</BeginDateTime>
<EndDateTime>2014.04.26-13:33</EndDateTime>
<TotalPrice>
<Amount>57505.8</Amount>
<CurrencyCode>RUB</CurrencyCode>
</TotalPrice>
<UserId>123</UserId>
<EEUserId />
<UserLogin>mikhalevtur</UserLogin>
<GroupId>122</GroupId>
<UserStatus>Менеджер</UserStatus>
<DateCreate>2014.04.24-15:03</DateCreate>
</Common>
<Payment>
<Status>booked</Status>
<PenaltyDate />
<Timelimit>2014-04-24 15:18:01</Timelimit>
<Charge>
<Amount>52278</Amount>
<CurrencyCode>RUB</CurrencyCode>
</Charge>
<Book>
<Amount>5227.8</Amount>
<CurrencyCode>RUB</CurrencyCode>
</Book>
<Penalty>
<Amount>0</Amount>
<CurrencyCode>RUB</CurrencyCode>
</Penalty>
<Total>
<Amount>57505.8</Amount>
<CurrencyCode>RUB</CurrencyCode>
</Total>
<PaidValue>
<Amount>0</Amount>
<CurrencyCode>RUB</CurrencyCode>
</PaidValue>
</Payment>
<Client>
<LastName>Сидоров</LastName>
<Name>Владимир</Name>
<MiddleName>Константинович</MiddleName>
<Number>1806326598</Number>
<Birth>1987-05-20</Birth>
<Email>mail@host.com</Email>
<Phone>+79871234567</Phone>
</Client>
<Passengers>
<Passenger>
<name>Владимир</name>
<middlename>Константинович</middlename>
<phone>
<country />
<city />
<number>+79271031610</number>
<expansion />
</phone>
<email>mlsdsar@gmail.com</email>
<nationality>RU</nationality>
<passenger_type>ADT</passenger_type>
<lastname>Сидоров</lastname>
<doc_type>C</doc_type>
<passport_number>1806326598</passport_number>
<passenger_id>1</passenger_id>
<gender>M</gender>
<date_of_birth>20.04.1984</date_of_birth>
<TotalPrice>28752.9</TotalPrice>
<FarePrice>2613.9</FarePrice>
<Charge>26139</Charge>
<TicketNumber />
<SeatNumber>033</SeatNumber>
<HasSeat>true</HasSeat>
</Passenger>
<Passenger>
<nationality>RU</nationality>
<middlename>Константинович</middlename>
<passenger_type>ADT</passenger_type>
<lastname>Сидоров</lastname>
<name>Иван</name>
<doc_type>C</doc_type>
<passport_number>1806326554</passport_number>
<passenger_id>2</passenger_id>
<gender>M</gender>
<date_of_birth>05.04.1984</date_of_birth>
<TotalPrice>28752.9</TotalPrice>
<FarePrice>2613.9</FarePrice>
<Charge>26139</Charge>
<TicketNumber />
<SeatNumber>034</SeatNumber>
<HasSeat>true</HasSeat>
</Passenger>
</Passengers>
<Info>
<trainNumber>098ХА</trainNumber>
<trainName />
<departureStation>МОСКВА КАЗ</departureStation>
<arrivalStation>КАЗАНЬ ПАС</arrivalStation>
<trainCategory>1</trainCategory>
<beginStation>Москва</beginStation>
<endStation>Казань</endStation>
<startDate>2014.04.26-00:15</startDate>
<endDate>2014.04.26-13:33</endDate>
<timeInRoad>47880</timeInRoad>
<carNumber>8</carNumber>
<carType>4</carType>
<choosenSeats>
<type>
<lower>1</lower>
</type>
<type>
<upper>1</upper>
</type>
<type>
<lower_side>0</lower_side>
</type>
<type>
<upper_side>0</upper_side>
</type>
<type>
<undefined>0</undefined>
</type>
</choosenSeats>
<choosenRange>
<start>0</start>
<end>0</end>
</choosenRange>
<serviceClass>В стоимость входит - постельное белье. Наличие установки кондиционирования воздуха не гарантировано.</serviceClass>
</Info>
</PNR>
</syntaxhighlight>
</div>
</div>
2804
правки

Навигация

'