Master-Interlook:HotelService — различия между версиями

Материал из Megatec
Перейти к: навигация, поиск
[досмотренная версия][досмотренная версия]
(SearchBookings (Получение списка забронированных заявок))
(SearchBookings (Получение списка забронированных заявок))
 
(не показано 26 промежуточных версий этого же участника)
Строка 2: Строка 2:
  
 
<table style="background-color:#ffffcc;color:black" border="1" cellpadding="10" cellspacing="0"><tr><td>
 
<table style="background-color:#ffffcc;color:black" border="1" cellpadding="10" cellspacing="0"><tr><td>
Поддерживаемые версии «»:<br>
+
Доступно начиная с релиза 11.20<br>
Начиная с
 
 
</td></tr></table><br>
 
</td></tr></table><br>
  
 
=Введение=
 
=Введение=
Сервис '''InterlookHotelService''' работает с методами REST API. Для вызова методов REST API можно использовать SoapUi.
+
Сервис '''InterlookHotelService''' предназначен для работы с отелями. Работает с методами REST API. Для вызова методов REST API можно использовать SoapUi.
 
[[Файл: mb_030.png|left|Предупреждение]] <BR>
 
[[Файл: mb_030.png|left|Предупреждение]] <BR>
 
Для доступа к сервису у онлайн пользователя должен быть установлен признак '''Hotel/Service''' в настройке '''Person connection''' и в настройках '''Role'''  активирован параметр '''Show hotel reservations by date'''.</br>
 
Для доступа к сервису у онлайн пользователя должен быть установлен признак '''Hotel/Service''' в настройке '''Person connection''' и в настройках '''Role'''  активирован параметр '''Show hotel reservations by date'''.</br>
 
</br>
 
</br>
 
<BR>
 
<BR>
 +
 +
==Подключение к базе данных ПК «Мастер-Interlook»==
 +
В файле <code>web.config</code>, расположенном в папке '''Interlook.HotelServiceService''' пропишите необходимые параметры подключения (<span style="color:red">красным цветом</span> выделены значения, которые необходимо ввести).
 +
Строка подключения к базе данных ПК «Мастер-Interlook»:<br />
 +
<code><add key = "connectionString" value = "Data Source=<span style="color:red">ip-адрес сервера базе данных ПК «Мастер-Interlook»</span>;Initial Catalog=<span style="color:red">название базы данных ПК «Мастер-Interlook»</span>;User ID=<span style="color:red">логин пользователя ПК «Мастер-Interlook»</span>;Password=<span style="color:red">пароль пользователя ПК «Мастер-Interlook»</span>"/></code>
 +
==Настройки в файле WEB.CONFIG==
 +
Настройки задаются в секции <code><appSettings></code> файла <code>web.config</code> основного приложения Interlook.HotelServiceService.
 +
{| border="1" cellpadding="8" style="background-color:#F9F9F9; border:#AAAAAA; border-collapse:collapse"
 +
 +
|- style="background-color:#F2F2F2"
 +
 +
! width="2%" | №
 +
! width="28%" | Описание
 +
! width="35%" | Значение
 +
! width="35%" | Настройка
 +
 +
|- style="vertical-align:text-top"
 +
 +
| 1
 +
| Процедура перезапуска кэша
 +
| '''cachingTime'''
 +
"cachingTime" value="-1" - инициализация кэша максимально производительная: каждый отель загружается в своем потоке (возможны сбои).</br>
 +
"cachingTime" value="-2"/> - весь кэш загружается в 2 потока.
 +
|<syntaxhighlight lang="xml" enclose="div">
 +
<add key="cachingTime" value="-1"/>
 +
</syntaxhighlight>
 +
 +
|- style="vertical-align:text-top"
 +
 +
| 2
 +
| Включение логирования о использовании памяти сервера
 +
| '''LogCacheMemory'''</br>
 +
Настройка служит для включения или отключения логирования в таблицу базы данных о использовании кешем сервиса памяти сервера.</br>
 +
0 - выключена, 1 - включена </br>
 +
|<syntaxhighlight lang="xml" enclose="div">
 +
<add key="LogCacheMemory" value="0"/>
 +
</syntaxhighlight>
 +
 +
|- style="vertical-align:text-top"
 +
 +
|}
 
=Методы HotelService=
 
=Методы HotelService=
  
Строка 103: Строка 143:
 
* '''change''' – возвращает измененные бронирования с изменениями, внесенными в выбранный период
 
* '''change''' – возвращает измененные бронирования с изменениями, внесенными в выбранный период
 
* '''cancel''' – возвращает информацию об отмененных бронированиях за выбранный период
 
* '''cancel''' – возвращает информацию об отмененных бронированиях за выбранный период
 +
* '''inwork''' – возвращает информацию по заявкам взятым отелем в работу. <br />
 +
Заявка получает статус InWork в следующих случаях:<br />
 +
- если через [[Master-Interlook:HotelService#|HotelService]] в методе [[Master-Interlook:HotelService#ManageBooking (Передача изменений по услуге проживания в Interlook)|ManageBooking]] по заявке передан параметр <hotelWorkStatus>true</hotelWorkStatus><br />
 +
- если по заявке распечатано или отправлено какое-либо из уведомлений по кнопке Actions в окне Interlook.<br />
 +
* '''showConfirmed''' - отображает путевки со статусом Confirmed (false или отсутствие настройки означает, что путевки со статусом Confirmed не отображаются)
 
Возвращаемый результат:
 
Возвращаемый результат:
 
** '''BookingInfo''' – массив данных брони
 
** '''BookingInfo''' – массив данных брони
Строка 136: Строка 181:
 
****** '''StatusId''' – ключ статуса по услуге проживания
 
****** '''StatusId''' – ключ статуса по услуге проживания
 
****** '''StatusName''' – имя статуса по услуге проживания
 
****** '''StatusName''' – имя статуса по услуге проживания
***** '''CostOffer''' – наименование Costoffer, по которому рассчитана нетто цена
 
 
***** '''CheckIn''' – дата заезда в отель
 
***** '''CheckIn''' – дата заезда в отель
 
***** '''CheckOut''' – дата выезда из отеля
 
***** '''CheckOut''' – дата выезда из отеля
Строка 152: Строка 196:
 
******* '''CostOfferDuration''' – продолжительность проживания до данному CostOffer
 
******* '''CostOfferDuration''' – продолжительность проживания до данному CostOffer
 
***** '''Penalty''' – информация о штрафах по аннулированной заявке  
 
***** '''Penalty''' – информация о штрафах по аннулированной заявке  
 +
***** '''FlightInfo''' – секция информации об авиаперелете
 +
****** '''Tourist''' – Фамилия и имя туриста
 +
****** '''Charters''' – секция авиаперелета
 +
******* '''CharterInfo''' – секция информации об авиаперелете
 +
******** '''Type''' – тип авиаперелета (Arrival или Departure)
 +
******** '''Date''' – дата заезда/выезда из отеля
 +
******** '''Details''' – наименование авиаперелета (номер рейса - время прилета/вылета)
 
*** '''MessageInfo''' – массив данных сообщений
 
*** '''MessageInfo''' – массив данных сообщений
 
**** '''Id''' – идентификатор сообщения
 
**** '''Id''' – идентификатор сообщения
Строка 169: Строка 220:
 
       <tem:SearchBookings>
 
       <tem:SearchBookings>
 
         <!--Optional:-->
 
         <!--Optional:-->
         <tem:guid>69ad76b6-3551-403d-934e-18d8358a60e2</tem:guid>
+
         <tem:guid>fd57bdcb-35e0-41b1-9743-eba763211e49</tem:guid>
 
         <!--Optional:-->
 
         <!--Optional:-->
 
         <tem:hotelID>
 
         <tem:hotelID>
 
             <!--Zero or more repetitions:-->
 
             <!--Zero or more repetitions:-->
             <tem:int>2942</tem:int>
+
             <tem:int>2930</tem:int>
 
         </tem:hotelID>
 
         </tem:hotelID>
 
         <tem:dateInfo>1</tem:dateInfo>
 
         <tem:dateInfo>1</tem:dateInfo>
         <tem:dateFrom>2021-11-26</tem:dateFrom>
+
         <tem:dateFrom>2022-08-19</tem:dateFrom>
         <tem:dateTo>2021-12-26</tem:dateTo>
+
         <tem:dateTo>2022-08-30</tem:dateTo>
         <tem:checkInFrom>2021-11-24</tem:checkInFrom>
+
         <tem:New>1</tem:New>
         <tem:checkInTo>2021-12-28</tem:checkInTo>
+
         <tem:change>1</tem:change>
         <tem:New>true</tem:New>
+
         <tem:cancel>1</tem:cancel>
         <tem:change>true</tem:change>
+
         <tem:inwork>1</tem:inwork>
        <tem:cancel>true</tem:cancel>
+
    </tem:SearchBookings>
      </tem:SearchBookings>
 
 
   </soapenv:Body>
 
   </soapenv:Body>
 
</soapenv:Envelope>
 
</soapenv:Envelope>
Строка 194: Строка 244:
 
       <SearchBookingsResponse xmlns="http://tempuri.org/">
 
       <SearchBookingsResponse xmlns="http://tempuri.org/">
 
         <SearchBookingsResult>
 
         <SearchBookingsResult>
            <BookingInfo>
+
      <BookingInfo>
               <Booking>MT120304A01</Booking>
+
               <Booking>MT140101AAL</Booking>
               <BookingID>37234</BookingID>
+
               <BookingID>37608</BookingID>
 
               <Action>Changed</Action>
 
               <Action>Changed</Action>
               <CreationDate>2022-03-01T18:20:17.683</CreationDate>
+
               <CreationDate>2022-08-25T14:37:12.25</CreationDate>
 
               <ChangeDate xsi:nil="true"/>
 
               <ChangeDate xsi:nil="true"/>
 
               <CancelDate xsi:nil="true"/>
 
               <CancelDate xsi:nil="true"/>
Строка 207: Строка 257:
 
               <HotelServices>
 
               <HotelServices>
 
                   <HotelServiceInfo>
 
                   <HotelServiceInfo>
                     <HotelServiceId>168594</HotelServiceId>
+
                     <HotelServiceId>171495</HotelServiceId>
                     <HotelServiceName>HTL::Kiev/Green/Double Room/2AD/Inner View/BB</HotelServiceName>
+
                     <HotelServiceName>HTL::Kiev/Red/Double Room/2AD/Jakuzzi/BB</HotelServiceName>
 
                     <Hotel>
 
                     <Hotel>
                         <HotelId>2942</HotelId>
+
                         <HotelId>2930</HotelId>
                         <HotelName>Green</HotelName>
+
                         <HotelName>Red</HotelName>
 
                     </Hotel>
 
                     </Hotel>
 
                     <Pansion>
 
                     <Pansion>
 
                         <PansionId>3</PansionId>
 
                         <PansionId>3</PansionId>
                         <PansionName/>
+
                         <PansionName>Bed and Breakfast</PansionName>
 
                     </Pansion>
 
                     </Pansion>
 
                     <RoomType>
 
                     <RoomType>
 
                         <RoomTypeId>3</RoomTypeId>
 
                         <RoomTypeId>3</RoomTypeId>
                         <RoomTypeName/>
+
                         <RoomTypeName>Double Room</RoomTypeName>
 
                     </RoomType>
 
                     </RoomType>
 
                     <RoomAccomodation>
 
                     <RoomAccomodation>
 
                         <AccommodationId>5558</AccommodationId>
 
                         <AccommodationId>5558</AccommodationId>
                         <AccommodationName/>
+
                         <AccommodationName>2AD</AccommodationName>
 
                     </RoomAccomodation>
 
                     </RoomAccomodation>
 
                     <RoomCategory>
 
                     <RoomCategory>
                         <RoomCategoryId>19</RoomCategoryId>
+
                         <RoomCategoryId>20</RoomCategoryId>
                         <RoomCategoryName/>
+
                         <RoomCategoryName>Jakuzzi</RoomCategoryName>
 
                     </RoomCategory>
 
                     </RoomCategory>
 
                     <Status>
 
                     <Status>
Строка 233: Строка 283:
 
                         <StatusName>Wait</StatusName>
 
                         <StatusName>Wait</StatusName>
 
                     </Status>
 
                     </Status>
                    <CostOffer>([kolesnyk/kolesnyk]*4 + [Green - 14-12/Green - 14-12]*3 + [kolesnyk/kolesnyk]*1 + [Green - 14-12/Green - 14-12]*23) * 1 room</CostOffer>
+
                     <CheckIn>2022-08-20T00:00:00</CheckIn>
                     <CheckIn>2022-03-04T00:00:00</CheckIn>
+
                     <CheckOut>2022-08-27T00:00:00</CheckOut>
                     <CheckOut>2022-04-04T00:00:00</CheckOut>
 
 
                     <Tourists>
 
                     <Tourists>
 
                         <TouristInfo>
 
                         <TouristInfo>
                           <Name>Jiouiop Hopiopiop</Name>
+
                           <Name>Vladimirov Alex</Name>
                           <BirthDate xsi:nil="true"/>
+
                           <BirthDate>1979-08-10T00:00:00</BirthDate>
 
                           <Sex>MR</Sex>
 
                           <Sex>MR</Sex>
                           <HotelServiceId>168594</HotelServiceId>
+
                           <HotelServiceId>171495</HotelServiceId>
 
                         </TouristInfo>
 
                         </TouristInfo>
 
                         <TouristInfo>
 
                         <TouristInfo>
                           <Name>Uioyuioio Yuiouyouio</Name>
+
                           <Name>Vladimirovicha Alexa</Name>
                           <BirthDate xsi:nil="true"/>
+
                           <BirthDate>1972-08-11T00:00:00</BirthDate>
 
                           <Sex>MR</Sex>
 
                           <Sex>MR</Sex>
                           <HotelServiceId>168594</HotelServiceId>
+
                           <HotelServiceId>171495</HotelServiceId>
 
                         </TouristInfo>
 
                         </TouristInfo>
 
                     </Tourists>
 
                     </Tourists>
 
                     <CostOffers>
 
                     <CostOffers>
 
                         <CostOfferInfo>
 
                         <CostOfferInfo>
                           <CostOfferName>Green - 14-12</CostOfferName>
+
                           <CostOfferName>kolesnyk2/kolesnyk2</CostOfferName>
                          <CostOfferDateBegin>2021-07-19T00:00:00</CostOfferDateBegin>
+
                           <CostOfferDateBegin>2022-08-20T00:00:00</CostOfferDateBegin>
                          <CostOfferDateEnd>2022-07-01T00:00:00</CostOfferDateEnd>
+
                           <CostOfferDateEnd>2022-08-27T00:00:00</CostOfferDateEnd>
                          <CostOfferDuration>6</CostOfferDuration>
+
                           <CostOfferDuration>7</CostOfferDuration>
                        </CostOfferInfo>
 
                        <CostOfferInfo>
 
                          <CostOfferName>kolesnyk</CostOfferName>
 
                           <CostOfferDateBegin>2022-03-04T00:00:00</CostOfferDateBegin>
 
                           <CostOfferDateEnd>2022-04-04T00:00:00</CostOfferDateEnd>
 
                           <CostOfferDuration>5</CostOfferDuration>
 
 
                         </CostOfferInfo>
 
                         </CostOfferInfo>
 
                     </CostOffers>
 
                     </CostOffers>
Строка 267: Строка 310:
 
                   </HotelServiceInfo>
 
                   </HotelServiceInfo>
 
               </HotelServices>
 
               </HotelServices>
               <Messages>
+
               <Flights>
              <MessageInfo>
+
                  <FlightInfo>
                     <Id>779217</Id>
+
                     <Tourist>Vladimirov Alex</Tourist>
                     <IsOutgoing>false</IsOutgoing>
+
                     <Charters>
                    <DateCreate>2021-11-15T22:21:34.393</DateCreate>
+
                        <CharterInfo>
                     <IsRead>false</IsRead>
+
                          <Type>Arrival</Type>
                     <Text>HTL::Kiev/Hilton/Double Room/2AD/Jakuzzi/BB:
+
                          <Date>2022-08-20T00:00:00</Date>
                  яварааааааааарвя</Text>
+
                          <Details>A123-A124 (A123 - 16:00)</Details>
                   </MessageInfo>
+
                        </CharterInfo>
 +
                        <CharterInfo>
 +
                          <Type>Departure</Type>
 +
                          <Date>2022-08-27T00:00:00</Date>
 +
                          <Details>A123-A124 (A124 - 15:00)</Details>
 +
                        </CharterInfo>
 +
                    </Charters>
 +
                  </FlightInfo>
 +
                  <FlightInfo>
 +
                     <Tourist>Vladimirovicha Alexa</Tourist>
 +
                     <Charters>
 +
                        <CharterInfo>
 +
                          <Type>Arrival</Type>
 +
                          <Date>2022-08-20T00:00:00</Date>
 +
                          <Details>A123-A124 (A123 - 16:00)</Details>
 +
                        </CharterInfo>
 +
                        <CharterInfo>
 +
                          <Type>Departure</Type>
 +
                          <Date>2022-08-27T00:00:00</Date>
 +
                          <Details>A123-A124 (A124 - 15:00)</Details>
 +
                        </CharterInfo>
 +
                    </Charters>
 +
                   </FlightInfo>
 +
              </Flights>
 
               <Messages/>
 
               <Messages/>
 
             </BookingInfo>
 
             </BookingInfo>
        </SearchBookingsResult>
+
        </SearchBookingsResult>
 
       </SearchBookingsResponse>
 
       </SearchBookingsResponse>
 
   </soap:Body>
 
   </soap:Body>
Строка 299: Строка 365:
 
* '''change''' – возвращает измененные бронирования с изменениями, внесенными в выбранный период
 
* '''change''' – возвращает измененные бронирования с изменениями, внесенными в выбранный период
 
* '''cancel''' – возвращает информацию об отмененных бронированиях за выбранный период
 
* '''cancel''' – возвращает информацию об отмененных бронированиях за выбранный период
 +
* '''inwork''' – возвращает информацию по заявкам взятым отелем в работу
 +
Заявка получает статус InWork в следующих случаях:<br />
 +
- если через [[Master-Interlook:HotelService#|HotelService]] в методе [[Master-Interlook:HotelService#ManageBooking|ManageBooking]] по заявке передан параметр <hotelWorkStatus>true</hotelWorkStatus><br />
 +
- если по заявке распечатано или отправлено какое-либо из уведомлений по кнопке Actions в окне Interlook.<br />
 +
* '''showConfirmed''' - отображает путевки со статусом Confirmed (false или отсутствие настройки означает, что путевки со статусом Confirmed не отображаются)
 
Возвращаемый результат:
 
Возвращаемый результат:
 
* '''Booking''' – номер брони в системе Interlook
 
* '''Booking''' – номер брони в системе Interlook
Строка 338: Строка 409:
 
**** '''StatusId''' – ключ статуса по услуге проживания
 
**** '''StatusId''' – ключ статуса по услуге проживания
 
**** '''StatusName''' – имя статуса по услуге проживания
 
**** '''StatusName''' – имя статуса по услуге проживания
***** '''CostOffer''' – наименование Costoffer, по которому рассчитана нетто цена
 
 
***** '''CheckIn''' – дата заезда в отель
 
***** '''CheckIn''' – дата заезда в отель
 
***** '''CheckOut''' – дата выезда из отеля
 
***** '''CheckOut''' – дата выезда из отеля
Строка 354: Строка 424:
 
******* '''CostOfferDuration''' – продолжительность проживания до данному CostOffer
 
******* '''CostOfferDuration''' – продолжительность проживания до данному CostOffer
 
***** '''Penalty''' – информация о штрафах по аннулированной заявке  
 
***** '''Penalty''' – информация о штрафах по аннулированной заявке  
 +
***** '''FlightInfo''' – секция информации об авиаперелете
 +
****** '''Tourist''' – Фамилия и имя туриста
 +
****** '''Charters''' – секция авиаперелета
 +
******* '''CharterInfo''' – секция информации об авиаперелете
 +
******** '''Type''' – тип авиаперелета (Arrival или Departure)
 +
******** '''Date''' – дата заезда/выезда из отеля
 +
******** '''Details''' – наименование авиаперелета (номер рейса - время прилета/вылета)
 
*** '''MessageInfo''' – массив данных сообщений
 
*** '''MessageInfo''' – массив данных сообщений
 
**** '''Id''' – идентификатор сообщения
 
**** '''Id''' – идентификатор сообщения
Строка 364: Строка 441:
 
<div class="mw-collapsible-content">
 
<div class="mw-collapsible-content">
 
<TABLE STYLE="border: 0.1em dashed #2F6FAB; margin: 8px; padding: 8px" WIDTH="99%"><TR><TD>
 
<TABLE STYLE="border: 0.1em dashed #2F6FAB; margin: 8px; padding: 8px" WIDTH="99%"><TR><TD>
Вызов метода SearchBookings
+
Вызов метода SearchBookingsJSON
 
<syntaxhighlight lang="java" enclose="div">
 
<syntaxhighlight lang="java" enclose="div">
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
Строка 370: Строка 447:
 
   <soapenv:Body>
 
   <soapenv:Body>
 
       <tem:SearchBookingsJSON>
 
       <tem:SearchBookingsJSON>
        <!--Optional:-->
+
      <!--Optional:-->
         <tem:guid>bbadd56d-5f81-421e-ab8c-0c7380074447</tem:guid>
+
         <tem:guid>fd57bdcb-35e0-41b1-9743-eba763211e49</tem:guid>
 
         <!--Optional:-->
 
         <!--Optional:-->
 
         <tem:hotelID>
 
         <tem:hotelID>
 
             <!--Zero or more repetitions:-->
 
             <!--Zero or more repetitions:-->
             <tem:int>2935</tem:int>
+
             <tem:int>2930</tem:int>
 
         </tem:hotelID>
 
         </tem:hotelID>
 
         <tem:dateInfo>1</tem:dateInfo>
 
         <tem:dateInfo>1</tem:dateInfo>
         <tem:dateFrom>2021-01-01</tem:dateFrom>
+
         <tem:dateFrom>2022-08-20</tem:dateFrom>
         <tem:dateTo>2021-12-01</tem:dateTo>
+
         <tem:dateTo>2022-08-28</tem:dateTo>
         <tem:checkInFrom>2021-11-24</tem:checkInFrom>
+
         <tem:New>1</tem:New>
         <tem:checkInTo>2021-12-28</tem:checkInTo>
+
         <tem:change>1</tem:change>
         <tem:New>true</tem:New>
+
         <tem:cancel>1</tem:cancel>
         <tem:change>true</tem:change>
+
         <tem:inwork>1</tem:inwork>
        <tem:cancel>true</tem:cancel>
 
 
       </tem:SearchBookingsJSON>
 
       </tem:SearchBookingsJSON>
 
   </soapenv:Body>
 
   </soapenv:Body>
Строка 390: Строка 466:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Возвращаемый результат метода SearchBookings
+
Возвращаемый результат метода SearchBookingsJSON
 
<syntaxhighlight lang="java" enclose="div">
 
<syntaxhighlight lang="java" enclose="div">
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"  
 +
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 
   <soap:Body>
 
   <soap:Body>
  <SearchBookingsJSONResponse xmlns="http://tempuri.org/">
+
      <SearchBookingsJSONResponse xmlns="http://tempuri.org/">
         <SearchBookingsJSONResult>[{"Booking":"MT111201A0E","BookingID":36347,"Action":"Cancel","CreationDate":"2021-11-10T11:14:50.193","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-01T00:00:00","CheckOut":"2021-12-22T00:00:00","Tourists":[{"Name":"tytyru yuyuyu","BirthDate":"1984-12-12T00:00:00","Sex":"MR","HotelServiceId":165138},{"Name":"eyuety yeuyeu","BirthDate":"1984-12-12T00:00:00","Sex":"MR","HotelServiceId":165138}],"CostOffers":[],"Penalty":"Canceled without penalty","Notes":null,"HotelServiceId":165138,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Inner View/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":19,"RoomCategoryName":"Inner View"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":"88888888i","CostOffer":""}],"Messages":[{"Id":779484,"IsOutgoing":false,"DateCreate":"2021-12-22T11:02:10.59","SenderName":null,"IsRead":false,"Text":"Penalty:HTL::Kiev/Green/Double Room/2AD/Inner View/BB:\r\nяварааааааааарвя"},{"Id":779485,"IsOutgoing":false,"DateCreate":"2021-12-22T11:10:26.76","SenderName":null,"IsRead":false,"Text":"Penalty:HTL::Kiev/Green/Double Room/2AD/Inner View/BB:\r\nяварааааааааарвя"},{"Id":779486,"IsOutgoing":false,"DateCreate":"2021-12-22T11:12:56.667","SenderName":null,"IsRead":false,"Text":"Penalty:HTL::Kiev/Green/Double Room/2AD/Inner View/BB:\r\nяварааааааааарвя"}]},{"Booking":"MT111124A1E","BookingID":36415,"Action":"Cancel","CreationDate":"2021-11-22T09:48:00.617","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-20T00:00:00","CheckOut":"2021-12-26T00:00:00","Tourists":[],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":6}],"Penalty":"","Notes":null,"HotelServiceId":165568,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111126A03","BookingID":36425,"Action":"Cancel","CreationDate":"2021-11-25T15:08:30.387","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-11-26T00:00:00","CheckOut":"2021-12-09T00:00:00","Tourists":[{"Name":"цуенцен куенн","BirthDate":"1984-12-12T00:00:00","Sex":"MR","HotelServiceId":165390},{"Name":"dghgh dhdgh","BirthDate":null,"Sex":"MR","HotelServiceId":165390}],"CostOffers":[],"Penalty":"","Notes":null,"HotelServiceId":165390,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Inner View/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":19,"RoomCategoryName":"Inner View"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MGR11127A01","BookingID":36426,"Action":"Changed","CreationDate":"2021-11-25T15:05:50.947","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-11-27T00:00:00","CheckOut":"2021-12-03T00:00:00","Tourists":[{"Name":"","BirthDate":null,"Sex":"","HotelServiceId":165393},{"Name":"","BirthDate":null,"Sex":"","HotelServiceId":165393}],"CostOffers":[],"Penalty":"Canceled without penalty","Notes":null,"HotelServiceId":165393,"HotelServiceName":"HTL::Kiev/Green/Double Room/2Ad/Inner View/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":7974,"AccommodationName":""},"RoomCategory":{"RoomCategoryId":19,"RoomCategoryName":"Inner View"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111126A04","BookingID":36427,"Action":"Cancel","CreationDate":"2021-11-25T15:42:26.303","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-11-27T00:00:00","CheckOut":"2021-12-09T00:00:00","Tourists":[{"Name":"кенгкнгг кегнегш","BirthDate":"1984-12-12T00:00:00","Sex":"MR","HotelServiceId":165394}],"CostOffers":[],"Penalty":"","Notes":null,"HotelServiceId":165394,"HotelServiceName":"HTL::Kiev/Green/Single Room/1Ad/Inner View/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":2,"RoomTypeName":"Single Room"},"RoomAccomodation":{"AccommodationId":7864,"AccommodationName":"1Ad"},"RoomCategory":{"RoomCategoryId":19,"RoomCategoryName":"Inner View"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111126A06","BookingID":36429,"Action":"Cancel","CreationDate":"2021-11-25T15:45:11.7","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-21T00:00:00","CheckOut":"2021-12-26T00:00:00","Tourists":[{"Name":"Ivanova Sony","BirthDate":"1989-08-11T00:00:00","Sex":"MRS","HotelServiceId":165409},{"Name":"Makishev Anton","BirthDate":"1989-08-10T00:00:00","Sex":"MR","HotelServiceId":165409}],"CostOffers":[],"Penalty":"Canceled without penalty","Notes":null,"HotelServiceId":165409,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111125A02","BookingID":36433,"Action":"Changed","CreationDate":"2021-11-25T17:18:43.673","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-11-25T00:00:00","CheckOut":"2021-12-09T00:00:00","Tourists":[{"Name":"гнегенг енкенкег","BirthDate":"1970-12-12T00:00:00","Sex":"MR","HotelServiceId":165428},{"Name":"Tuiuiuipo Ttruyi","BirthDate":"1981-12-12T00:00:00","Sex":"MR","HotelServiceId":165428}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":14}],"Penalty":"","Notes":null,"HotelServiceId":165428,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Inner View/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":19,"RoomCategoryName":"Inner View"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*(14-2)) * 1 room"}],"Messages":[]},{"Booking":"MT111125A03","BookingID":36435,"Action":"New","CreationDate":"2021-11-25T17:33:45.323","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-11-25T00:00:00","CheckOut":"2021-12-09T00:00:00","Tourists":[{"Name":"ыпрапр вапрвервпр","BirthDate":"1984-12-12T00:00:00","Sex":"MR","HotelServiceId":165435},{"Name":"ytutyu tyut","BirthDate":null,"Sex":"MR","HotelServiceId":165435}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":14}],"Penalty":"","Notes":null,"HotelServiceId":165435,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Inner View/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":19,"RoomCategoryName":"Inner View"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*(14-2)) * 1 room"}],"Messages":[]},{"Booking":"MT111202A02","BookingID":36437,"Action":"Cancel","CreationDate":"2021-11-25T17:55:10.893","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-03T00:00:00","CheckOut":"2021-12-09T00:00:00","Tourists":[{"Name":"екнкгн кенкеке","BirthDate":"1986-12-12T00:00:00","Sex":"MR","HotelServiceId":165441},{"Name":"кгкг кенкегнкег","BirthDate":null,"Sex":"MR","HotelServiceId":165441}],"CostOffers":[],"Penalty":"Canceled without penalty","Notes":null,"HotelServiceId":165441,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111224A01","BookingID":36474,"Action":"New","CreationDate":"2021-12-07T19:01:31.003","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-20T00:00:00","CheckOut":"2021-12-26T00:00:00","Tourists":[],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":6}],"Penalty":"","Notes":null,"HotelServiceId":165571,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111224A02","BookingID":36475,"Action":"New","CreationDate":"2021-12-07T19:03:01.993","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-20T00:00:00","CheckOut":"2021-12-26T00:00:00","Tourists":[],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":6}],"Penalty":"","Notes":null,"HotelServiceId":165574,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111224A03","BookingID":36476,"Action":"New","CreationDate":"2021-12-07T19:03:18.07","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-20T00:00:00","CheckOut":"2021-12-26T00:00:00","Tourists":[],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":6}],"Penalty":"","Notes":null,"HotelServiceId":165577,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111210A0F","BookingID":36480,"Action":"New","CreationDate":"2021-12-09T15:59:30.093","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-10T00:00:00","CheckOut":"2021-12-23T00:00:00","Tourists":[{"Name":"ertert wertr","BirthDate":null,"Sex":"MR","HotelServiceId":165586},{"Name":"ertert ertert","BirthDate":null,"Sex":"MR","HotelServiceId":165586}],"CostOffers":[],"Penalty":"","Notes":null,"HotelServiceId":165586,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111210A0G","BookingID":36481,"Action":"New","CreationDate":"2021-12-09T16:02:40.277","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-10T00:00:00","CheckOut":"2021-12-22T00:00:00","Tourists":[{"Name":"ertert wertr","BirthDate":null,"Sex":"MR","HotelServiceId":165589},{"Name":"ertert ertert","BirthDate":null,"Sex":"MR","HotelServiceId":165589}],"CostOffers":[],"Penalty":"","Notes":null,"HotelServiceId":165589,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111224A04","BookingID":36482,"Action":"New","CreationDate":"2021-12-09T16:41:12.797","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-20T00:00:00","CheckOut":"2021-12-26T00:00:00","Tourists":[{"Name":"Makishev Anton","BirthDate":"1981-08-10T00:00:00","Sex":"MR","HotelServiceId":165592},{"Name":"Ivanova Sony","BirthDate":"1981-08-11T00:00:00","Sex":"MR","HotelServiceId":165592}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":6}],"Penalty":"","Notes":null,"HotelServiceId":165592,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111224A05","BookingID":36483,"Action":"New","CreationDate":"2021-12-09T16:44:54.207","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-20T00:00:00","CheckOut":"2021-12-26T00:00:00","Tourists":[],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":6}],"Penalty":"","Notes":null,"HotelServiceId":165595,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111214A03","BookingID":36523,"Action":"New","CreationDate":"2021-12-10T12:14:16.333","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-14T00:00:00","CheckOut":"2022-01-20T00:00:00","Tourists":[{"Name":"пншапш егнкг","BirthDate":null,"Sex":"MR","HotelServiceId":165690}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":37}],"Penalty":"","Notes":null,"HotelServiceId":165690,"HotelServiceName":"HTL::Kiev/Green/Single Room/1Ad/Inner View/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":2,"RoomTypeName":"Single Room"},"RoomAccomodation":{"AccommodationId":7864,"AccommodationName":"1Ad"},"RoomCategory":{"RoomCategoryId":19,"RoomCategoryName":"Inner View"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*37) * 1 room"}],"Messages":[]},{"Booking":"MT111220A03","BookingID":36550,"Action":"New","CreationDate":"2021-12-20T17:37:38.643","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-20T00:00:00","CheckOut":"2022-01-03T00:00:00","Tourists":[{"Name":"кенкен уенкен","BirthDate":null,"Sex":"MR","HotelServiceId":165739},{"Name":"кенкен кенен","BirthDate":null,"Sex":"MR","HotelServiceId":165739}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":14}],"Penalty":"","Notes":null,"HotelServiceId":165739,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*(14-2)) * 1 room"}],"Messages":[]},{"Booking":"MT111224A06","BookingID":36575,"Action":"Changed","CreationDate":"2021-12-23T09:44:33","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-24T00:00:00","CheckOut":"2022-01-07T00:00:00","Tourists":[{"Name":"Кенкен Кенкен","BirthDate":null,"Sex":"MR","HotelServiceId":165806},{"Name":"Ывкеукне Кенкенк","BirthDate":null,"Sex":"MR","HotelServiceId":165806}],"CostOffers":[],"Penalty":"","Notes":null,"HotelServiceId":165806,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Inner View/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":19,"RoomCategoryName":"Inner View"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111021A05","BookingID":36618,"Action":"New","CreationDate":"2021-12-29T19:14:24.983","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-10-21T00:00:00","CheckOut":"2022-10-26T00:00:00","Tourists":[{"Name":" ","BirthDate":"2003-10-23T00:00:00","Sex":"MR","HotelServiceId":165902},{"Name":" ","BirthDate":"2003-10-23T00:00:00","Sex":"MR","HotelServiceId":165902}],"CostOffers":[],"Penalty":"Canceled without penalty","Notes":null,"HotelServiceId":165902,"HotelServiceName":" HTL::Kiev/Green/Atest/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":886,"RoomTypeName":"Atest"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""},{"CheckIn":"2022-10-21T00:00:00","CheckOut":"2022-10-26T00:00:00","Tourists":[{"Name":" ","BirthDate":"2003-10-23T00:00:00","Sex":"MR","HotelServiceId":165903},{"Name":" ","BirthDate":"2003-10-23T00:00:00","Sex":"MR","HotelServiceId":165903}],"CostOffers":[],"Penalty":"Canceled without penalty","Notes":null,"HotelServiceId":165903,"HotelServiceName":"HTL::Kiev/Green/Atest/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":886,"RoomTypeName":"Atest"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*5) * 1 room"}],"Messages":[]},{"Booking":"MT120221A01","BookingID":36619,"Action":"New","CreationDate":"2021-12-29T19:26:31.233","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-02-21T00:00:00","CheckOut":"2022-02-22T00:00:00","Tourists":[{"Name":" ","BirthDate":"2003-10-23T00:00:00","Sex":"MR","HotelServiceId":165904},{"Name":" ","BirthDate":"2003-10-23T00:00:00","Sex":"MR","HotelServiceId":165904}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":1}],"Penalty":"","Notes":null,"HotelServiceId":165904,"HotelServiceName":"HTL::Kiev/Green/Atest/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":886,"RoomTypeName":"Atest"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*1) * 1 room"}],"Messages":[]},{"Booking":"MT120115A01","BookingID":36620,"Action":"New","CreationDate":"2021-12-29T17:27:14.163","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-01-15T00:00:00","CheckOut":"2022-01-20T00:00:00","Tourists":[{"Name":"Da Ania","BirthDate":null,"Sex":"MR","HotelServiceId":165910},{"Name":"Da Ana","BirthDate":null,"Sex":"MR","HotelServiceId":165910}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":5}],"Penalty":"","Notes":null,"HotelServiceId":165910,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*5) * 1 room"}],"Messages":[]},{"Booking":"MT120122A01","BookingID":36621,"Action":"New","CreationDate":"2021-12-29T18:40:51.92","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-01-22T00:00:00","CheckOut":"2022-01-27T00:00:00","Tourists":[{"Name":" ","BirthDate":"2003-10-24T00:00:00","Sex":"MR","HotelServiceId":165911},{"Name":" ","BirthDate":"2003-10-24T00:00:00","Sex":"MR","HotelServiceId":165911}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":5}],"Penalty":"","Notes":null,"HotelServiceId":165911,"HotelServiceName":"HTL::Kiev/Green/Atest/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":886,"RoomTypeName":"Atest"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*5) * 1 room"}],"Messages":[]},{"Booking":"MT111222A0C","BookingID":36622,"Action":"New","CreationDate":"2021-12-29T18:53:00.677","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-22T00:00:00","CheckOut":"2021-12-29T00:00:00","Tourists":[{"Name":"Kaktus Ania","BirthDate":null,"Sex":"MR","HotelServiceId":165912},{"Name":"Kaktus Ana","BirthDate":null,"Sex":"MR","HotelServiceId":165912}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":7}],"Penalty":"","Notes":null,"HotelServiceId":165912,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*7) * 1 room"}],"Messages":[]},{"Booking":"MT111222A0D","BookingID":36623,"Action":"New","CreationDate":"2021-12-29T18:59:44.41","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-22T00:00:00","CheckOut":"2021-12-29T00:00:00","Tourists":[{"Name":"Kruassan Ania","BirthDate":null,"Sex":"MR","HotelServiceId":165913},{"Name":"Kruassan Ana","BirthDate":null,"Sex":"MR","HotelServiceId":165913}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":7}],"Penalty":"","Notes":null,"HotelServiceId":165913,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*7) * 1 room"}],"Messages":[]},{"Booking":"MT111222A0E","BookingID":36624,"Action":"New","CreationDate":"2021-12-29T19:08:55.35","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-22T00:00:00","CheckOut":"2021-12-29T00:00:00","Tourists":[{"Name":"Kruassan Ania","BirthDate":null,"Sex":"MR","HotelServiceId":165914},{"Name":"Kruassan Ana","BirthDate":null,"Sex":"MR","HotelServiceId":165914}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":7}],"Penalty":"","Notes":null,"HotelServiceId":165914,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*7) * 1 room"}],"Messages":[]},{"Booking":"MT111224A0D","BookingID":36673,"Action":"New","CreationDate":"2022-01-19T12:44:32.657","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-20T00:00:00","CheckOut":"2021-12-26T00:00:00","Tourists":[{"Name":"Makishev Anton","BirthDate":"1981-08-10T00:00:00","Sex":"MR","HotelServiceId":166026},{"Name":"Ivanova Sony","BirthDate":"1981-08-11T00:00:00","Sex":"MR","HotelServiceId":166026}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":6}],"Penalty":"","Notes":null,"HotelServiceId":166026,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111224A0E","BookingID":36674,"Action":"New","CreationDate":"2022-01-19T12:57:11.32","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-20T00:00:00","CheckOut":"2021-12-26T00:00:00","Tourists":[],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":6}],"Penalty":"","Notes":null,"HotelServiceId":166035,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT111224A0F","BookingID":36679,"Action":"New","CreationDate":"2022-01-24T18:32:28.05","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2021-12-20T00:00:00","CheckOut":"2021-12-26T00:00:00","Tourists":[{"Name":"Makishev Anton","BirthDate":"1981-08-10T00:00:00","Sex":"MR","HotelServiceId":166048},{"Name":"Ivanova Sony","BirthDate":"1981-08-11T00:00:00","Sex":"MR","HotelServiceId":166048}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":6}],"Penalty":"","Notes":null,"HotelServiceId":166048,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT120322A01","BookingID":36781,"Action":"New","CreationDate":"2022-02-07T10:28:52.01","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-22T00:00:00","CheckOut":"2022-03-23T00:00:00","Tourists":[{"Name":"Kengengeng Engengeng","BirthDate":"2003-10-24T00:00:00","Sex":"MR","HotelServiceId":166520},{"Name":"Vkngengkeg Engegeng","BirthDate":"2003-10-24T00:00:00","Sex":"MR","HotelServiceId":166520}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":1}],"Penalty":"","Notes":null,"HotelServiceId":166520,"HotelServiceName":"HTL::Kiev/Green/Atest/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":886,"RoomTypeName":"Atest"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*1) * 1 room"}],"Messages":[]},{"Booking":"MT120222A02","BookingID":36782,"Action":"New","CreationDate":"2022-02-07T10:30:14.94","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-02-22T00:00:00","CheckOut":"2022-02-23T00:00:00","Tourists":[{"Name":"Yvrvryvpr Yvryvpry","BirthDate":"2003-10-24T00:00:00","Sex":"MR","HotelServiceId":166522},{"Name":"Varyervaoap Vyaryvpryvpr","BirthDate":"2003-10-24T00:00:00","Sex":"MR","HotelServiceId":166522}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":1}],"Penalty":"","Notes":null,"HotelServiceId":166522,"HotelServiceName":"HTL::Kiev/Green/Atest/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":886,"RoomTypeName":"Atest"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*1) * 1 room"}],"Messages":[]},{"Booking":"MGR20301A01","BookingID":37061,"Action":"Changed","CreationDate":"2022-02-14T11:12:51.767","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-01T00:00:00","CheckOut":"2022-03-10T00:00:00","Tourists":[{"Name":"Dfhfgh Fdghfghg","BirthDate":null,"Sex":"MR","HotelServiceId":167841},{"Name":"Xdghfh Fghfghdfgh","BirthDate":null,"Sex":"MR","HotelServiceId":167841}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":9}],"Penalty":"","Notes":null,"HotelServiceId":167841,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*9) * 1 room"}],"Messages":[]},{"Booking":"MGR20228A01","BookingID":37062,"Action":"Changed","CreationDate":"2022-02-14T11:40:03.61","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-02-28T00:00:00","CheckOut":"2022-04-04T00:00:00","Tourists":[{"Name":"Вровро Враовро","BirthDate":null,"Sex":"MR","HotelServiceId":167845},{"Name":"Аврпро Варовро","BirthDate":null,"Sex":"MR","HotelServiceId":167845}],"CostOffers":[{"CostOfferName":"kolesnyk","CostOfferDateBegin":"2022-02-28T00:00:00","CostOfferDateEnd":"2022-04-04T00:00:00","CostOfferDuration":35},{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":35}],"Penalty":"","Notes":null,"HotelServiceId":167845,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Inner View/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":19,"RoomCategoryName":"Inner View"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([kolesnyk/kolesnyk]*1 + [Green - 14-12/Green - 14-12]*10 + [kolesnyk/kolesnyk]*1 + [Green - 14-12/Green - 14-12]*3 + [kolesnyk/kolesnyk]*20) * 1 room"}],"Messages":[]},{"Booking":"MT120216A06","BookingID":37118,"Action":"New","CreationDate":"2022-02-16T15:40:40.713","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-02-16T00:00:00","CheckOut":"2022-03-02T00:00:00","Tourists":[{"Name":"rtyrtyry rtyrtu","BirthDate":null,"Sex":"MR","HotelServiceId":168039},{"Name":"rtyrtyrt rtyrtyrt","BirthDate":null,"Sex":"MR","HotelServiceId":168039}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":14}],"Penalty":"","Notes":null,"HotelServiceId":168039,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*(14-2)) * 1 room"}],"Messages":[]},{"Booking":"MT120216A07","BookingID":37119,"Action":"New","CreationDate":"2022-02-16T15:47:30.367","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-02-16T00:00:00","CheckOut":"2022-03-02T00:00:00","Tourists":[{"Name":"Ефремов Александр","BirthDate":null,"Sex":"MR","HotelServiceId":168054},{"Name":"Ефремов Александра","BirthDate":null,"Sex":"MR","HotelServiceId":168054}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":14}],"Penalty":"","Notes":null,"HotelServiceId":168054,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*(14-2)) * 1 room"}],"Messages":[]},{"Booking":"MT120216A0A","BookingID":37122,"Action":"New","CreationDate":"2022-02-16T15:59:23.933","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-02-16T00:00:00","CheckOut":"2022-03-02T00:00:00","Tourists":[{"Name":"енгеггн кененггнгн","BirthDate":null,"Sex":"MR","HotelServiceId":168071},{"Name":"егегег кегнг","BirthDate":null,"Sex":"MR","HotelServiceId":168071}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":14}],"Penalty":"","Notes":null,"HotelServiceId":168071,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*(14-2)) * 1 room"}],"Messages":[]},{"Booking":"MT120216A0F","BookingID":37133,"Action":"New","CreationDate":"2022-02-16T20:06:33.67","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-02-16T00:00:00","CheckOut":"2022-03-02T00:00:00","Tourists":[{"Name":"rtyrtu rtuu","BirthDate":null,"Sex":"MR","HotelServiceId":168134},{"Name":"rturt urturtu","BirthDate":null,"Sex":"MR","HotelServiceId":168134}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":14}],"Penalty":"","Notes":null,"HotelServiceId":168134,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*(14-2)) * 1 room"}],"Messages":[]},{"Booking":"MT120224A01","BookingID":37210,"Action":"Changed","CreationDate":"2022-02-24T11:20:28.673","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-02-24T00:00:00","CheckOut":"2022-02-27T00:00:00","Tourists":[{"Name":"Mr Mr","BirthDate":null,"Sex":"MR","HotelServiceId":168484},{"Name":"Mrs Mrs","BirthDate":null,"Sex":"MR","HotelServiceId":168484}],"CostOffers":[{"CostOfferName":"kolesnyk","CostOfferDateBegin":"2022-02-24T00:00:00","CostOfferDateEnd":"2022-02-27T00:00:00","CostOfferDuration":3}],"Penalty":"","Notes":null,"HotelServiceId":168484,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Inner View/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":19,"RoomCategoryName":"Inner View"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([kolesnyk/kolesnyk]*3) * 1 room"}],"Messages":[]},{"Booking":"MT120401A02","BookingID":37246,"Action":"Changed","CreationDate":"2022-03-02T14:37:49.063","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-04-01T00:00:00","CheckOut":"2022-04-12T00:00:00","Tourists":[{"Name":"Da Ania","BirthDate":null,"Sex":"MR","HotelServiceId":168651},{"Name":"Da Ana","BirthDate":null,"Sex":"MR","HotelServiceId":168651}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":11}],"Penalty":"","Notes":null,"HotelServiceId":168651,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*11) * 1 room"}],"Messages":[]},{"Booking":"MT120303A01","BookingID":37253,"Action":"Changed","CreationDate":"2022-03-03T10:46:25.52","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-03T00:00:00","CheckOut":"2022-03-04T00:00:00","Tourists":[{"Name":"Mr Mr","BirthDate":null,"Sex":"MR","HotelServiceId":168686},{"Name":"Mrs Mrs","BirthDate":null,"Sex":"MR","HotelServiceId":168686}],"CostOffers":[],"Penalty":"","Notes":null,"HotelServiceId":168686,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":""}],"Messages":[]},{"Booking":"MT120313A03","BookingID":37256,"Action":"Changed","CreationDate":"2022-03-04T10:55:35.907","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-10T00:00:00","CheckOut":"2022-03-20T00:00:00","Tourists":[{"Name":"TSuktsuktsuk TSuktsktsuk","BirthDate":null,"Sex":"MR","HotelServiceId":168701},{"Name":"Kuktsuk Utskutsktsuk","BirthDate":null,"Sex":"MR","HotelServiceId":168701}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":10}],"Penalty":"","Notes":null,"HotelServiceId":168701,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*10) * 1 room"}],"Messages":[]},{"Booking":"MT120313A04","BookingID":37257,"Action":"New","CreationDate":"2022-03-04T11:17:16.377","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-13T00:00:00","CheckOut":"2022-03-14T00:00:00","Tourists":[{"Name":"TSuktsuktsukngk TSuktsktsukngk","BirthDate":null,"Sex":"MR","HotelServiceId":168723},{"Name":"Kuktsukgnk Utskutsktsuknk","BirthDate":null,"Sex":"MR","HotelServiceId":168723}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":1}],"Penalty":"","Notes":null,"HotelServiceId":168723,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*1) * 1 room"}],"Messages":[]},{"Booking":"MT120313A05","BookingID":37258,"Action":"Changed","CreationDate":"2022-03-04T12:05:38.273","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-13T00:00:00","CheckOut":"2022-03-18T00:00:00","Tourists":[{"Name":"Non Non","BirthDate":null,"Sex":"MR","HotelServiceId":168769},{"Name":"No No","BirthDate":null,"Sex":"MR","HotelServiceId":168769}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":5}],"Penalty":"","Notes":null,"HotelServiceId":168769,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*5) * 1 room"}],"Messages":[]},{"Booking":"MT120313A06","BookingID":37260,"Action":"New","CreationDate":"2022-03-04T15:21:00.4","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-13T00:00:00","CheckOut":"2022-03-16T00:00:00","Tourists":[{"Name":"Nonr Nonr","BirthDate":null,"Sex":"MR","HotelServiceId":168750},{"Name":"Nor Nor","BirthDate":null,"Sex":"MR","HotelServiceId":168750}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":3}],"Penalty":"","Notes":null,"HotelServiceId":168750,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*3) * 1 room"}],"Messages":[]},{"Booking":"MT120305A01","BookingID":37261,"Action":"New","CreationDate":"2022-03-04T15:58:32.25","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-05T00:00:00","CheckOut":"2022-03-09T00:00:00","Tourists":[{"Name":"Safgh Afsgh","BirthDate":null,"Sex":"MR","HotelServiceId":168791},{"Name":"SADfgh Saftgh","BirthDate":null,"Sex":"MR","HotelServiceId":168791}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":4}],"Penalty":"","Notes":null,"HotelServiceId":168791,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*4) * 1 room"}],"Messages":[]},{"Booking":"MT120305A02","BookingID":37262,"Action":"New","CreationDate":"2022-03-04T16:27:58.917","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-05T00:00:00","CheckOut":"2022-03-06T00:00:00","Tourists":[{"Name":"Saf Afs","BirthDate":null,"Sex":"MR","HotelServiceId":168802},{"Name":"SAD Saft","BirthDate":null,"Sex":"MR","HotelServiceId":168802}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":1}],"Penalty":"","Notes":null,"HotelServiceId":168802,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"HotelConfirmationNumber":null,"CostOffer":"([Green - 14-12/Green - 14-12]*1) * 1 room"}],"Messages":[]},{"Booking":"MT120319A01","BookingID":37264,"Action":"Changed","CreationDate":"2022-03-08T12:27:44.43","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-19T00:00:00","CheckOut":"2022-03-24T00:00:00","Tourists":[{"Name":"Fgjhfgjh Fgjghjghj","BirthDate":null,"Sex":"MR","HotelServiceId":168819},{"Name":"Ghfhf Hfj","BirthDate":null,"Sex":"MR","HotelServiceId":168819}],"CostOffers":[],"Penalty":"Canceled without penalty","Notes":null,"HotelServiceId":168819,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":4,"StatusName":"Not confirmed"},"HotelConfirmationNumber":"100-216 ab","CostOffer":"( * "}],"Messages":[{"Id":780437,"IsOutgoing":false,"DateCreate":"2022-03-11T13:44:22.247","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780438,"IsOutgoing":false,"DateCreate":"2022-03-11T13:45:16.35","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780439,"IsOutgoing":false,"DateCreate":"2022-03-11T14:03:28.16","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nЕУЫЕ"},{"Id":780440,"IsOutgoing":false,"DateCreate":"2022-03-11T14:03:28.173","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780442,"IsOutgoing":false,"DateCreate":"2022-03-11T20:10:22.623","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\ntest2"},{"Id":780443,"IsOutgoing":false,"DateCreate":"2022-03-11T20:10:22.623","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780444,"IsOutgoing":false,"DateCreate":"2022-03-11T20:15:04.603","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\ntest2"},{"Id":780445,"IsOutgoing":false,"DateCreate":"2022-03-11T20:15:04.603","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780446,"IsOutgoing":false,"DateCreate":"2022-03-11T20:25:48.75","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780447,"IsOutgoing":false,"DateCreate":"2022-03-11T20:27:32.923","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780448,"IsOutgoing":false,"DateCreate":"2022-03-11T19:46:56.247","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780449,"IsOutgoing":false,"DateCreate":"2022-03-11T19:48:24.457","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780450,"IsOutgoing":false,"DateCreate":"2022-03-11T19:51:46.793","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780451,"IsOutgoing":false,"DateCreate":"2022-03-11T19:52:12.447","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780452,"IsOutgoing":false,"DateCreate":"2022-03-11T21:14:19.497","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780453,"IsOutgoing":false,"DateCreate":"2022-03-11T21:18:11.547","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780454,"IsOutgoing":false,"DateCreate":"2022-03-11T21:45:54.76","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780455,"IsOutgoing":false,"DateCreate":"2022-03-11T21:46:30.877","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780456,"IsOutgoing":false,"DateCreate":"2022-03-11T21:48:24.373","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780457,"IsOutgoing":false,"DateCreate":"2022-03-11T21:49:20.85","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780458,"IsOutgoing":false,"DateCreate":"2022-03-11T21:50:34.32","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780459,"IsOutgoing":false,"DateCreate":"2022-03-11T21:50:44.3","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780460,"IsOutgoing":false,"DateCreate":"2022-03-11T21:51:37.607","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780461,"IsOutgoing":false,"DateCreate":"2022-03-11T22:05:42.167","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780462,"IsOutgoing":false,"DateCreate":"2022-03-11T22:07:39.26","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking is being process"},{"Id":780463,"IsOutgoing":false,"DateCreate":"2022-03-11T22:11:14.943","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780464,"IsOutgoing":false,"DateCreate":"2022-03-11T23:18:42.397","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780465,"IsOutgoing":false,"DateCreate":"2022-03-11T23:29:18.617","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780466,"IsOutgoing":false,"DateCreate":"2022-03-11T23:31:39.463","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nBooking not processed"},{"Id":780467,"IsOutgoing":false,"DateCreate":"2022-03-11T23:35:04.657","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\n"},{"Id":780468,"IsOutgoing":false,"DateCreate":"2022-03-11T23:35:56.847","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\nHotel confirmation number is serviceIsChanged\n"},{"Id":780469,"IsOutgoing":false,"DateCreate":"2022-03-11T23:36:54.233","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\n"},{"Id":780470,"IsOutgoing":false,"DateCreate":"2022-03-11T23:41:43.563","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\n"},{"Id":780471,"IsOutgoing":false,"DateCreate":"2022-03-11T23:42:39.827","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed to '2'\nBooking is being process"},{"Id":780472,"IsOutgoing":false,"DateCreate":"2022-03-12T00:35:12.25","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed to '4'\n"},{"Id":780473,"IsOutgoing":false,"DateCreate":"2022-03-12T00:39:32.67","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed to '2'\n"},{"Id":780474,"IsOutgoing":false,"DateCreate":"2022-03-12T00:56:34.963","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\n"},{"Id":780475,"IsOutgoing":false,"DateCreate":"2022-03-12T00:57:55.883","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\n"},{"Id":780476,"IsOutgoing":false,"DateCreate":"2022-03-12T01:02:59.313","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\nBooking not processed"},{"Id":780477,"IsOutgoing":false,"DateCreate":"2022-03-12T01:04:06.507","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\nHotel confirmation number is changed\nBooking is being process"},{"Id":780478,"IsOutgoing":false,"DateCreate":"2022-03-12T01:07:06.683","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\nHotel confirmation number is changed\nBooking not processed"},{"Id":780479,"IsOutgoing":false,"DateCreate":"2022-03-12T01:11:26.363","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\nHotel confirmation number is changed\n"},{"Id":780480,"IsOutgoing":false,"DateCreate":"2022-03-12T10:43:26.917","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nHotel confirmation number is changed\n"},{"Id":780481,"IsOutgoing":false,"DateCreate":"2022-03-12T10:43:44.237","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nHotel confirmation number is changed\n"},{"Id":780482,"IsOutgoing":false,"DateCreate":"2022-03-12T10:47:30.597","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nHotel confirmation number is changed\n"},{"Id":780483,"IsOutgoing":false,"DateCreate":"2022-03-12T10:49:11.887","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nHotel confirmation number is changed\n"},{"Id":780484,"IsOutgoing":false,"DateCreate":"2022-03-12T10:49:31.58","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nHotel confirmation number is changed\n"},{"Id":780485,"IsOutgoing":false,"DateCreate":"2022-03-12T10:51:01.557","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nHotel confirmation number is changed\n"},{"Id":780486,"IsOutgoing":false,"DateCreate":"2022-03-12T10:53:51.123","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nHotel confirmation number is changed\n"},{"Id":780487,"IsOutgoing":false,"DateCreate":"2022-03-12T10:59:42.123","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nHotel confirmation number is changed\n"},{"Id":780488,"IsOutgoing":false,"DateCreate":"2022-03-12T11:00:29.903","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\n"},{"Id":780489,"IsOutgoing":false,"DateCreate":"2022-03-12T11:00:59.723","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\nHotel confirmation number is changed\n"},{"Id":780490,"IsOutgoing":false,"DateCreate":"2022-03-12T11:01:47.513","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\nHotel confirmation number is changed\nBooking is being process"},{"Id":780491,"IsOutgoing":false,"DateCreate":"2022-03-12T11:05:49.353","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\ntest2 message"},{"Id":780492,"IsOutgoing":false,"DateCreate":"2022-03-12T11:05:49.437","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\n"},{"Id":780493,"IsOutgoing":false,"DateCreate":"2022-03-12T11:10:04.323","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\ntest2 message"},{"Id":780494,"IsOutgoing":false,"DateCreate":"2022-03-12T11:10:33.477","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\ntest2 message"},{"Id":780495,"IsOutgoing":false,"DateCreate":"2022-03-12T11:10:33.52","SenderName":null,"IsRead":true,"Text":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\nBooking not processed"},{"Id":780496,"IsOutgoing":false,"DateCreate":"2022-03-14T14:36:43.457","SenderName":null,"IsRead":true,"Text":"Penalty:HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\ntest2 message"},{"Id":780497,"IsOutgoing":false,"DateCreate":"2022-03-14T14:36:43.557","SenderName":null,"IsRead":true,"Text":"Penalty:HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB:\r\nService status is changed\nBooking is being process"}]},{"Booking":"MT120319A02","BookingID":37267,"Action":"New","CreationDate":"2022-03-15T10:51:41.863","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-19T00:00:00","CheckOut":"2022-03-24T00:00:00","Tourists":[{"Name":"Fgjhfgjhgh Fgjghjghjgh","BirthDate":null,"Sex":"MR","HotelServiceId":168839},{"Name":"Ghfhfgh Hfjgh","BirthDate":null,"Sex":"MR","HotelServiceId":168839}],"CostOffers":[{"CostOfferName":"Green - 14-12","CostOfferDateBegin":"2021-07-19T00:00:00","CostOfferDateEnd":"2022-07-01T00:00:00","CostOfferDuration":5}],"Penalty":"","Notes":null,"HotelServiceId":168839,"HotelServiceName":"HTL::Kiev/Green/Junior Suite/2AD/Jakuzzi/HB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":4,"PansionName":"Half Board"},"RoomType":{"RoomTypeId":45,"RoomTypeName":"Junior Suite"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"CostOffer":"([Green - 14-12/Green - 14-12]*5) * 1 room"}],"Messages":[]},{"Booking":"MGR20319A01","BookingID":37268,"Action":"New","CreationDate":"2022-03-15T18:47:28.61","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-03-19T00:00:00","CheckOut":"2022-04-01T00:00:00","Tourists":[{"Name":"Dfhdfh Dghdgh","BirthDate":null,"Sex":"MR","HotelServiceId":168846},{"Name":"Ghd Dfh","BirthDate":null,"Sex":"MR","HotelServiceId":168846}],"CostOffers":[],"Penalty":"","Notes":null,"HotelServiceId":168846,"HotelServiceName":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2942,"HotelName":"Green"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"},"CostOffer":""}],"Messages":[{"Id":780514,"IsOutgoing":false,"DateCreate":"2022-03-15T18:59:50.79","SenderName":null,"IsRead":false,"Text":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB:\r\nftigjhfjhjhkjhjhk"},{"Id":780515,"IsOutgoing":false,"DateCreate":"2022-03-15T18:59:50.833","SenderName":null,"IsRead":false,"Text":"HTL::Kiev/Green/Double Room/2AD/Jakuzzi/BB:\r\nBooking not processed"}]}]</SearchBookingsJSONResult>
+
         <SearchBookingsJSONResult>[{"Booking":"MT140101AAH","BookingID":37601,"Action":"New","CreationDate":
 +
"2022-08-23T11:36:30.907","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,
 +
"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-08-20T00:00:00","CheckOut"
 +
"2022-08-27T00:00:00","Tourists":[{"Name":"Vladimirov Alex","BirthDate":"1979-08-10T00:00:00","Sex":
 +
"MR","HotelServiceId":171448},{"Name":"Vladimirovicha Alexa","BirthDate":"1972-08-11T00:00:00","Sex":
 +
"MR","HotelServiceId":171448}],"CostOffers":[{"CostOfferName":"kolesnyk2/kolesnyk2","CostOfferDateBegin"
 +
:"2022-08-20T00:00:00","CostOfferDateEnd":"2022-08-27T00:00:00","CostOfferDuration":7}],"Penalty":"",
 +
"Notes":null,"HotelServiceId":171448,"HotelServiceName":"HTL::Kiev/Red/Double Room/2AD/Jakuzzi/BB",
 +
"Hotel":{"HotelId":2930,"HotelName":"Red"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"}
 +
,"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,
 +
"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status"
 +
:{"StatusId":1,"StatusName":"Wait"}}],"Flights":[],"Messages":[]},{"Booking":"MT140101AAJ","BookingID"
 +
:37602,"Action":"New","CreationDate":"2022-08-23T11:37:05.227","ChangeDate":null,"CancelDate":null,
 +
"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":
 +
[{"CheckIn":"2022-08-20T00:00:00","CheckOut":"2022-08-27T00:00:00","Tourists":[{"Name":"Vladimirov Alex",
 +
"BirthDate":"1979-08-10T00:00:00","Sex":"MR","HotelServiceId":171454},{"Name":"Vladimirovicha Alexa"
 +
,"BirthDate":"1972-08-11T00:00:00","Sex":"MR","HotelServiceId":171454}],"CostOffers":[{"CostOfferName"
 +
:"kolesnyk2/kolesnyk2","CostOfferDateBegin":"2022-08-20T00:00:00","CostOfferDateEnd":"2022-08-27T00:00
 +
:00","CostOfferDuration":7}],"Penalty":"","Notes":null,"HotelServiceId":171454,"HotelServiceName":
 +
"HTL::Kiev/Red/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2930,"HotelName":"Red"},"Pansion":
 +
{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"}
 +
,"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":
 +
20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"}}],"Flights":[],"Messages":
 +
[]},{"Booking":"MT140101AAK","BookingID":37607,"Action":"Changed","CreationDate":"2022-08-25T14:35:38.033",
 +
"ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName"
 +
:"Russian Market"},"HotelServices":[{"CheckIn":"2022-08-20T00:00:00","CheckOut":"2022-08-27T00:00:00"
 +
,"Tourists":[{"Name":"Vladimirov Alex","BirthDate":"1979-08-10T00:00:00","Sex":"MR","HotelServiceId"
 +
:171489},{"Name":"Vladimirovicha Alexa","BirthDate":"1972-08-11T00:00:00","Sex":"MR","HotelServiceId"
 +
:171489}],"CostOffers":[{"CostOfferName":"kolesnyk2/kolesnyk2","CostOfferDateBegin":"2022-08-20T00:00:00"
 +
,"CostOfferDateEnd":"2022-08-27T00:00:00","CostOfferDuration":7}],"Penalty":"","Notes":null,
 +
"HotelServiceId":171489,"HotelServiceName":"HTL::Kiev/Red/Double Room/2AD/Jakuzzi/BB","Hotel"
 +
:{"HotelId":2930,"HotelName":"Red"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"}
 +
,"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId"
 +
:5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"}
 +
,"Status":{"StatusId":1,"StatusName":"Wait"}}],"Flights":[{"Tourist":"Vladimirov Alex","Charters"
 +
:[{"Type":"Arrival","Date":"2022-08-20T00:00:00","Details":"A123-A124 (A123 - 16:00)"},{"Type"
 +
:"Departure","Date":"2022-08-27T00:00:00","Details":"A123-A124 (A124 - 15:00)"}]},{"Tourist":
 +
"Vladimirovicha Alexa","Charters":[{"Type":"Arrival","Date":"2022-08-20T00:00:00","Details":
 +
"A123-A124 (A123 - 16:00)"},{"Type":"Departure","Date":"2022-08-27T00:00:00","Details":
 +
"A123-A124 (A124 - 15:00)"}]}],"Messages":[]}]</SearchBookingsJSONResult>
 
       </SearchBookingsJSONResponse>
 
       </SearchBookingsJSONResponse>
 +
  </soap:Body>
 +
</soap:Envelope>
 +
</syntaxhighlight>
 +
</TD></TR></TABLE>
 +
</div></div><br />
 +
 +
===GetMarkets (Получение списка рынков)===
 +
Метод предназначен для отображения всех существующих рынков. <br />
 +
Принимаемые параметры запроса ( * – обязательный):<br />
 +
Отсутствуют.<br />
 +
Возвращаемый результат:
 +
* '''GetMarketsResult''' – массив данных рынков
 +
** '''Name''' – наименование рынка
 +
** '''Id''' – идентификатор рынка
 +
 +
<div class="toccolours mw-collapsible mw-collapsed" style="width:900px">Пример
 +
<div class="mw-collapsible-content">
 +
<TABLE STYLE="border: 0.1em dashed #2F6FAB; margin: 8px; padding: 8px" WIDTH="99%"><TR><TD>
 +
Вызов метода GetMarkets
 +
<syntaxhighlight lang="java" enclose="div">
 +
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
 +
  <soapenv:Header/>
 +
  <soapenv:Body>
 +
      <tem:GetMarkets/>
 +
  </soapenv:Body>
 +
</soapenv:Envelope>
 +
</syntaxhighlight>
  
 +
Возвращаемый результат метода GetMarkets
 +
<syntaxhighlight lang="java" enclose="div">
 +
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 +
  <soap:Body>
 +
      <GetMarketsResponse xmlns="http://tempuri.org/">
 +
        <GetMarketsResult>
 +
            <MarketInfo Name="!test" Id="61"/>
 +
            <MarketInfo Name="&lt;All>" Id="0"/>
 +
            <MarketInfo Name="1111" Id="33"/>
 +
            <MarketInfo Name="1112" Id="34"/>
 +
            <MarketInfo Name="12" Id="32"/>
 +
            <MarketInfo Name="12" Id="40"/>
 +
            <MarketInfo Name="1t1" Id="44"/>
 +
            <MarketInfo Name="1t2" Id="45"/>
 +
            <MarketInfo Name="1t3" Id="46"/>
 +
            <MarketInfo Name="1t4" Id="47"/>
 +
            <MarketInfo Name="1t5" Id="48"/>
 +
            <MarketInfo Name="1t6" Id="49"/>
 +
            <MarketInfo Name="21" Id="36"/>
 +
            <MarketInfo Name="234" Id="37"/>
 +
            <MarketInfo Name="313" Id="38"/>
 +
            <MarketInfo Name="34" Id="35"/>
 +
            <MarketInfo Name="34" Id="41"/>
 +
            <MarketInfo Name="4" Id="51"/>
 +
            <MarketInfo Name="434" Id="39"/>
 +
            <MarketInfo Name="45" Id="42"/>
 +
            <MarketInfo Name="456" Id="43"/>
 +
            <MarketInfo Name="Balkan Market" Id="5"/>
 +
            <MarketInfo Name="France Market" Id="8"/>
 +
            <MarketInfo Name="Greek Market" Id="3"/>
 +
            <MarketInfo Name="Italy Market" Id="9"/>
 +
            <MarketInfo Name="market12^*#$)_22_ 09" Id="22"/>
 +
            <MarketInfo Name="market1FAD" Id="11"/>
 +
            <MarketInfo Name="market2083" Id="13"/>
 +
            <MarketInfo Name="market25C5" Id="16"/>
 +
            <MarketInfo Name="market8085" Id="14"/>
 +
            <MarketInfo Name="market9873" Id="10"/>
 +
            <MarketInfo Name="marketA5F9" Id="18"/>
 +
            <MarketInfo Name="marketD84E" Id="15"/>
 +
            <MarketInfo Name="marketF3A6" Id="19"/>
 +
            <MarketInfo Name="marketF415" Id="21"/>
 +
            <MarketInfo Name="marketFCFE" Id="20"/>
 +
            <MarketInfo Name="marketFFDC" Id="12"/>
 +
            <MarketInfo Name="mk" Id="31"/>
 +
            <MarketInfo Name="mk_market" Id="30"/>
 +
            <MarketInfo Name="Old" Id="6"/>
 +
            <MarketInfo Name="qwer" Id="50"/>
 +
            <MarketInfo Name="Russian Market" Id="2"/>
 +
            <MarketInfo Name="test new" Id="56"/>
 +
            <MarketInfo Name="test1211" Id="53"/>
 +
            <MarketInfo Name="Мой личный рынок" Id="25"/>
 +
            <MarketInfo Name="ук" Id="55"/>
 +
        </GetMarketsResult>
 +
      </GetMarketsResponse>
 
   </soap:Body>
 
   </soap:Body>
 
</soap:Envelope>
 
</soap:Envelope>
Строка 408: Строка 605:
 
===ManageBooking (Передача изменений по услуге проживания в Interlook)===
 
===ManageBooking (Передача изменений по услуге проживания в Interlook)===
 
Принимаемые параметры запроса ( '''*''' – обязательный):
 
Принимаемые параметры запроса ( '''*''' – обязательный):
* '''ManageBooking>
+
* '''guid *''' – идентификатор аутентификации (возвращается при запросе к методу [[Master-Interlook:HotelService#Connect (получение аутентификационного токена)|Connect]])<br />
** '''guid *''' – идентификатор аутентификации (возвращается при запросе к методу [[Master-Interlook:HotelService#Connect (получение аутентификационного токена)|Connect]])<br />
+
* '''hotelServiceId *''' – ключ услуги проживания (возвращается при запросе к методу [[Master-Interlook:HotelService#SearchBookings (Получение списка забронированных заявок)|SearchBookings]])<br />
** '''hotelServiceId *''' – ключ услуги проживания (возвращается при запросе к методу [[Master-Interlook:HotelService#SearchBookings (Получение списка забронированных заявок)|SearchBookings]])<br />
+
* '''status''' – фильтр для отбора услуг с определенным статусом (1 - Wait, 2 - Confirmed, 3 - notConfirmed)
** '''status''' – фильтр для отбора услуг с определенным статусом (1 - Wait, 2 - Confirmed, 3 - notConfirmed)
+
* '''message''' – сообщение для пользователя Interlook
** '''message''' – сообщение для пользователя Interlook
+
* '''hotelWorkStatus''' – отметка отеля по заявке (true - отель взял заявку в работу, false - отель заявку в работу не взял). При отправке этого параметра формируется запись в историю по заявке и сообщение от провайдера.  
** '''hotelWorkStatus''' – отметка отеля по заявке (true - отель взял заявку в работу, false - отель заявку в работу не взял). При отправке этого параметра формируется запись в историю по заявке и сообщение от провайдера.  
+
<br />[[Файл: Ea_84.png|1000px|История]]<br />
 
+
<br />[[Файл: Ea_85.png|1000px|Сообщение]]<br />
 
Возвращаемый результат:
 
Возвращаемый результат:
 
* '''ManageBookingResult''' – массив данных
 
* '''ManageBookingResult''' – массив данных
Строка 498: Строка 695:
 
         </ManageBookingResult>
 
         </ManageBookingResult>
 
       </ManageBookingResponse>
 
       </ManageBookingResponse>
 +
  </soap:Body>
 +
</soap:Envelope>
 +
</syntaxhighlight>
 +
</TD></TR></TABLE>
 +
</div></div><br />
 +
 +
==Методы создания цен==
 +
 +
===CreateCostOffer (Создание ценового предложения)===
 +
Метод предназначен для занесения цен на объекты размещения. <br />
 +
Принимаемые параметры запроса ( * – обязательный):<br />
 +
* '''Guid *''' – идентификатор аутентификации (возвращается при запросе к методу [[Master-Interlook:HotelService#Connect (получение аутентификационного токена)|Connect]])<br />
 +
* '''costOffer''' – массив данных CostOffer
 +
** '''HotelId *''' – ключ отеля
 +
** '''RateId *''' – ключ валюты
 +
** '''CostOfferTypeId''' – ключ типа CostOffer (Ordinary или SPO. Если не указан, то отправляется Ordinary. Если в запросе имеется и заполнена секция Rules, то CostOffer автоматически определяется с типом SPO)
 +
** '''MarketIds''' – ключ рынка (если не указан, то отправляется 0 - все. Возвращается при запросе к методу [[Master-Interlook:HotelService#GetMarkets (получение списка рынков)|GetMarkets]])<br />
 +
** '''SaleDateBegin''' – дата с которой возможно бронирование (если не указана, то берется в соответствии с текущей)
 +
** '''SaleDateEnd''' – дата до которой возможно бронирование
 +
** '''NameFromProvider''' – наименование для провайдера (если не указан, то записывается пустое)
 +
** '''PeriodBeforeCheckIn''' – период до заезда (если не указан, то отправляется 0)
 +
** '''Comment''' – комментарий
 +
** '''MinDays''' – минимальная продолжительность (если не задано, то устанавливается 1)
 +
** '''MaxDays''' – максимальная продолжительность (если не задано, то устанавливается 365)
 +
* '''prices''' – массив данных цен
 +
** '''PriceRequest''' – массив данных цены
 +
*** '''DateFrom *''' – дата начала (если не указана, то берется текущая)
 +
*** '''DateTo *''' – дата окончания (если не указана, то берется из списка цен максимальная дата выезда)
 +
*** '''DateCheckinFrom''' – дата заезда от (если не указан, то минимальная)
 +
*** '''DateCheckinTo''' – дата заезда по (если не указан, то максимальная)
 +
*** '''DateCheckoutFrom''' – дата выезда от (если не указан, то минимальная)
 +
*** '''DateCheckoutTo''' – дата выезда по (если не указан, то максимальная)
 +
*** '''WeekDays''' – день недели (если не указано, то проставляются все)
 +
*** '''AccomodationId *''' – ключ типа размещения
 +
*** '''RoomTypeId *''' – ключ типа комнаты
 +
*** '''RoomCategoryId *''' – ключ категории комнаты
 +
*** '''PansionId *''' – ключ типа питания
 +
*** '''Price *''' – цена
 +
*** '''TarifId''' – (если не указан, то устанавливается 0 - ordinary. Берется из таблицы Tariffs Базы Данных)
 +
* '''rules''' – массив данных правил изменения цены
 +
** '''XYRuleRequst''' – массив данных правил изменения цены
 +
*** '''ExcludeBy''' – какие именно ночи должны быть бесплатными (принимает значения Last - последняя, Min - дешевая, Max - дорогая)
 +
*** '''Sign''' – значение количества рассчитываемых ночей (принимает значения "=" или "-")
 +
*** '''XFrom''' – от какой продолжительности проживания действует акция
 +
*** '''XTo''' – до какой продолжительности проживания действует акция
 +
*** '''Y''' – количество бесплатных ночей или значение продолжительности проживания
 +
Возвращаемый результат:
 +
* '''CreateCostOfferResponse''' – массив данных CostOffer
 +
** '''Id''' –  идентификатор CostOffer
 +
** '''Name''' – наименование CostOffer
 +
** '''CostOfferType''' – тип CostOffer
 +
** '''Rate''' – валюта
 +
** '''CreateDate''' – дата создания CostOffer
 +
** '''Markets''' – наименование рынка
 +
** '''XYRuleResponse''' – массив данных правил изменения цены
 +
*** '''ExcludeBy''' – какие именно ночи должны быть бесплатными (принимает значения Last - последняя, Min - дешевая, Max - дорогая)
 +
*** '''Sign''' – значение количества рассчитываемых ночей (принимает значения "=" или "-")
 +
*** '''XFrom''' – от какой продолжительности проживания действует акция
 +
*** '''XTo''' – до какой продолжительности проживания действует акция
 +
*** '''Y''' – количество бесплатных ночей или значение продолжительности проживания
 +
** '''CostInfoResponse''' – массив данных цены
 +
*** '''Id''' –  идентификатор цены
 +
*** '''Code''' –  идентификатор отеля
 +
*** '''CheckInDateBegin''' – дата заезда «с»
 +
*** '''CheckInDateEnd''' – дата заезда «до»
 +
*** '''CheckOutDateBegin''' – дата выезда «с»
 +
*** '''CheckOutDateEnd''' – дата выезда «до»
 +
*** '''DateBegin''' – дата действия цены «с»
 +
*** '''DateEnd''' – дата действия цены «до»
 +
*** '''Price''' – значение цены
 +
*** '''RoomTypeId''' – ключ типа номера
 +
*** '''PansionId''' – ключ питания
 +
*** '''RoomCategoryId''' – ключ категории номера
 +
*** '''AccommodationId''' – ключ типа размещения
 +
*** '''TariffId''' – ключ тарифа (В таблице цен соответствует параметру CS_CVId)
 +
*** '''Type''' – тип цены (Per Room - за комнату, Per Person - за человека)
 +
В случае некорректного запроса в ответе приходит описание ошибки и номер строки, в которой указаны некорректные данные.<br />
 +
<div class="toccolours mw-collapsible mw-collapsed" style="width:900px">Пример
 +
<div class="mw-collapsible-content">
 +
<TABLE STYLE="border: 0.1em dashed #2F6FAB; margin: 8px; padding: 8px" WIDTH="99%"><TR><TD>
 +
Вызов метода CreateCostOffer
 +
<syntaxhighlight lang="java" enclose="div">
 +
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
 +
  <soapenv:Header/>
 +
  <soapenv:Body>
 +
      <tem:CreateCostOffer>
 +
        <!--Optional:-->
 +
        <tem:guid>342d6612-f6d4-4149-a365-275a7701c306</tem:guid>
 +
        <!--Optional:-->
 +
        <tem:costOffer>
 +
            <tem:HotelId>2930</tem:HotelId>
 +
            <tem:RateId>1</tem:RateId>
 +
            <tem:CostOfferTypeId>Ordinary</tem:CostOfferTypeId>
 +
            <!--Optional:-->
 +
            <tem:MarketIds>
 +
              <!--Zero or more repetitions:-->
 +
              <tem:int>2</tem:int>
 +
            </tem:MarketIds>
 +
            <tem:SaleDateBegin>2022-10-01</tem:SaleDateBegin>
 +
            <tem:SaleDateEnd>2045-10-01</tem:SaleDateEnd>
 +
            <!--Optional:-->
 +
            <tem:NameFromProvider>New Name</tem:NameFromProvider>
 +
            <tem:PeriodBeforeCheckIn>1</tem:PeriodBeforeCheckIn>
 +
            <!--Optional:-->
 +
            <tem:Comment>NewComment</tem:Comment>
 +
            <tem:MinDays>1</tem:MinDays>
 +
            <tem:MaxDays>7</tem:MaxDays>
 +
        </tem:costOffer>
 +
        <!--Optional:-->
 +
        <tem:prices>
 +
            <!--Zero or more repetitions:-->
 +
            <tem:PriceRequest>
 +
              <tem:DateFrom>2022-10-01</tem:DateFrom>
 +
              <tem:DateTo>2028-10-01</tem:DateTo>
 +
              <tem:DateCheckinFrom>2022-10-01</tem:DateCheckinFrom>
 +
              <tem:DateCheckinTo>2025-10-01</tem:DateCheckinTo>
 +
              <tem:DateCheckoutFrom>2028-10-01</tem:DateCheckoutFrom>
 +
              <tem:DateCheckoutTo>2028-10-01</tem:DateCheckoutTo>
 +
              <!--Optional:-->
 +
              <tem:WeekDays>1234567</tem:WeekDays>
 +
              <tem:AccomodationId>5558</tem:AccomodationId>
 +
              <tem:RoomTypeId>3</tem:RoomTypeId>
 +
              <tem:RoomCategoryId>20</tem:RoomCategoryId>
 +
              <tem:PansionId>3</tem:PansionId>
 +
              <tem:Price>932</tem:Price>
 +
              <tem:TarifId>0</tem:TarifId>
 +
            </tem:PriceRequest>
 +
        </tem:prices>
 +
        <!--Optional:-->
 +
        <tem:rules>
 +
            <!--Zero or more repetitions:-->
 +
            <tem:XYRuleRequst>
 +
              <tem:ExcludeBy>Last</tem:ExcludeBy>
 +
              <!--Optional:-->
 +
              <tem:Sign>=</tem:Sign>
 +
              <tem:XFrom>1</tem:XFrom>
 +
              <tem:XTo>5</tem:XTo>
 +
              <tem:Y>1</tem:Y>
 +
            </tem:XYRuleRequst>
 +
        </tem:rules>
 +
      </tem:CreateCostOffer>
 +
  </soapenv:Body>
 +
</soapenv:Envelope>
 +
</syntaxhighlight>
 +
 +
Возвращаемый результат метода CreateCostOffer
 +
<syntaxhighlight lang="java" enclose="div">
 +
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 +
  <soap:Body>
 +
      <CreateCostOfferResponse xmlns="http://tempuri.org/">
 +
        <CreateCostOfferResult Message="Ok">
 +
            <Data>
 +
              <CreateCostOfferResponse>
 +
                  <Id>2549</Id>
 +
                  <Name>2022.10.01 - 2028.10_Russian Market_1-7_&lt;All>_Mouzenidis Travel 1_Red_53</Name>
 +
                  <CostOfferType>SPO</CostOfferType>
 +
                  <Rate>EU</Rate>
 +
                  <CreateDate>2022-11-14T13:14:07.047</CreateDate>
 +
                  <Markets>Russian Market</Markets>
 +
                  <XYRules>
 +
                    <XYRuleResponse>
 +
                        <ExcludeBy>Last</ExcludeBy>
 +
                        <Sign>-</Sign>
 +
                        <XFrom>1</XFrom>
 +
                        <XTo>5</XTo>
 +
                        <Y>1</Y>
 +
                    </XYRuleResponse>
 +
                  </XYRules>
 +
                  <CostsInfo>
 +
                    <CostInfoResponse>
 +
                        <Id>807703</Id>
 +
                        <Code>2930</Code>
 +
                        <CheckInDateBegin>2028-10-01T00:00:00</CheckInDateBegin>
 +
                        <CheckInDateEnd>2028-10-01T00:00:00</CheckInDateEnd>
 +
                        <CheckOutDateBegin>2028-10-01T00:00:00</CheckOutDateBegin>
 +
                        <CheckOutDateEnd>2028-10-01T00:00:00</CheckOutDateEnd>
 +
                        <DateBegin>2022-10-01T00:00:00</DateBegin>
 +
                        <DateEnd>2028-10-01T00:00:00</DateEnd>
 +
                        <Price>956.1700</Price>
 +
                        <RoomTypeId>3</RoomTypeId>
 +
                        <PansionId>3</PansionId>
 +
                        <RoomCategoryId>20</RoomCategoryId>
 +
                        <AccomodationId>5558</AccomodationId>
 +
                        <TariffId>0</TariffId>
 +
                        <Type>PerPax</Type>
 +
                    </CostInfoResponse>
 +
                  </CostsInfo>
 +
              </CreateCostOfferResponse>
 +
            </Data>
 +
        </CreateCostOfferResult>
 +
      </CreateCostOfferResponse>
 
   </soap:Body>
 
   </soap:Body>
 
</soap:Envelope>
 
</soap:Envelope>

Текущая версия на 16:24, 24 января 2023

Версия статьи от 24-01-2023.

Доступно начиная с релиза 11.20


Введение

Сервис InterlookHotelService предназначен для работы с отелями. Работает с методами REST API. Для вызова методов REST API можно использовать SoapUi.

Предупреждение


Для доступа к сервису у онлайн пользователя должен быть установлен признак Hotel/Service в настройке Person connection и в настройках Role активирован параметр Show hotel reservations by date.


Подключение к базе данных ПК «Мастер-Interlook»

В файле web.config, расположенном в папке Interlook.HotelServiceService пропишите необходимые параметры подключения (красным цветом выделены значения, которые необходимо ввести). Строка подключения к базе данных ПК «Мастер-Interlook»:
<add key = "connectionString" value = "Data Source=ip-адрес сервера базе данных ПК «Мастер-Interlook»;Initial Catalog=название базы данных ПК «Мастер-Interlook»;User ID=логин пользователя ПК «Мастер-Interlook»;Password=пароль пользователя ПК «Мастер-Interlook»"/>

Настройки в файле WEB.CONFIG

Настройки задаются в секции <appSettings> файла web.config основного приложения Interlook.HotelServiceService.

Описание Значение Настройка
1 Процедура перезапуска кэша cachingTime

"cachingTime" value="-1" - инициализация кэша максимально производительная: каждый отель загружается в своем потоке (возможны сбои).
"cachingTime" value="-2"/> - весь кэш загружается в 2 потока.

<add key="cachingTime" value="-1"/>
2 Включение логирования о использовании памяти сервера LogCacheMemory

Настройка служит для включения или отключения логирования в таблицу базы данных о использовании кешем сервиса памяти сервера.
0 - выключена, 1 - включена

<add key="LogCacheMemory" value="0"/>

Методы HotelService

Методы аутентификации

Connect (Получение аутентификационного токена)

Принимаемые параметры запроса ( * – обязательный):

  • Login * – логин online пользователя
  • Password * – пароль online пользователя

Возвращаемый результат:

  • ConnectResult – идентификатор аутентификации (если аутентификация прошла успешно. то получаем идентификатор, в противном случае результат -1)
Пример

Вызов метода Connect

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:Connect>
         <!--Optional:-->
         <tem:login>mk1</tem:login>
         <!--Optional:-->
         <tem:password>123</tem:password>
      </tem:Connect>
   </soapenv:Body>
</soapenv:Envelope>

Возвращаемый результат метода Connect

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <ConnectResponse xmlns="http://tempuri.org/">
         <ConnectResult>123c02db-3d47-4db5-861b-758be524a5fe</ConnectResult>
      </ConnectResponse>
   </soap:Body>
</soap:Envelope>


CheckConnect (Проверка активности подключения под конкретным идентификатором)

Метод проверяет наличие активного подключения под конкретным идентификатором аутентификации.
Принимаемые параметры запроса ( * – обязательный):

  • Guid * – идентификатор аутентификации (возвращается при запросе к методу Connect)

Возвращаемый результат:

  • CheckConnectResult – идентификатор аутентификации (true – если подключение активно, false – если подключения нет)
Пример

Вызов метода CheckConnect

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:tem="http://tempuri.org/">
   <soap:Header/>
   <soap:Body>
      <tem:CheckConnect>
         <!--Optional:-->
         <tem:guid>123c02db-3d47-4db5-861b-758be524a5fe</tem:guid>
      </tem:CheckConnect>
   </soap:Body>
</soap:Envelope>

Возвращаемый результат метода CheckConnect

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <CheckConnectResponse xmlns="http://tempuri.org/">
         <CheckConnectResult>true</CheckConnectResult>
      </CheckConnectResponse>
   </soap:Body>
</soap:Envelope>


Методы поиска

SearchBookings (Получение списка забронированных заявок)

Метод предназначен для поиска забронированных заявок. Отбираются те заявки, у которых партнер предоставления услуги совпадает с партнером для логина, под которым осуществляется поиск.
Принимаемые параметры запроса ( * – обязательный):

  • Guid * – идентификатор аутентификации (возвращается при запросе к методу Connect)
  • hotelID – массив данных с ключами отелей. Можно передавать как один так и несколько ключей отелей. Если не передаём данный параметр, то в ответ получаем все заказы, подходящие под выбранные даты.
  • dateInfo * – по какой дате осуществлять поиск (1 - дата создания заявки, 2 - дата заезда в отель, 3 - дата выезда из отеля)
  • dateFrom * – дата начала
  • dateTo * – дата окончания
  • checkInFrom – дата заезда от
  • checkInTo – дата заезда по
  • New – возвращает новые бронирования с датой, попадающей в указанное выше условие
  • change – возвращает измененные бронирования с изменениями, внесенными в выбранный период
  • cancel – возвращает информацию об отмененных бронированиях за выбранный период
  • inwork – возвращает информацию по заявкам взятым отелем в работу.

Заявка получает статус InWork в следующих случаях:
- если через HotelService в методе ManageBooking по заявке передан параметр <hotelWorkStatus>true</hotelWorkStatus>
- если по заявке распечатано или отправлено какое-либо из уведомлений по кнопке Actions в окне Interlook.

  • showConfirmed - отображает путевки со статусом Confirmed (false или отсутствие настройки означает, что путевки со статусом Confirmed не отображаются)

Возвращаемый результат:

    • BookingInfo – массив данных брони
      • Booking – номер брони в системе Interlook
      • BookingID – ключ заявки из базы данных
      • Action – новая, отмененная или измененная заявка
      • CreationDate – дата создания услуги в заявке
      • ChangeDate – не используется
      • CancelDate – не используется
      • CustomerMarket – данные туроператора, оформившего заявку
        • CustomerMarketId – ключ туроператора, оформившего заявку
        • CustomerMarketName – имя туроператора, оформившего заявку
      • HotelServices – массив данных по сервисам отелей
        • HotelServiceInfo – информация по сервису отеля
          • HotelServiceId – ключ сервиса отеля
          • HotelServiceName – имя сервиса отеля
          • Hotel – массив данных по отелям
            • HotelId – ключ отеля
            • HotelName – имя отеля
          • Pansion – тип питания
            • PansionId – ключ питания
            • PansionName – имя питания
          • RoomType – тип номера
            • RoomTypeId – ключ типа номера
            • RoomTypeName – имя типа номера
          • RoomAccomodation – тип размещения
            • AccommodationId – ключ типа размещения
            • AccommodationName – имя типа размещения
          • RoomCategory – категория номер
            • RoomCategoryId – ключ категории номера
            • RoomCategoryName – имя категории номера
          • Status – статус по услуге проживания
            • StatusId – ключ статуса по услуге проживания
            • StatusName – имя статуса по услуге проживания
          • CheckIn – дата заезда в отель
          • CheckOut – дата выезда из отеля
          • Tourists – массив данных туристов
            • TouristInfo – массив данных по туристу
              • Name – имя туриста
              • BirthDate – дата рождения туриста
              • Sex – пол туриста
              • HotelServiceId – ключ услуги проживания с которой связан турист
          • CostOffers – массив данных по CostOffers, по которым рассчитана цена услуги
            • CostOfferInfo – массив данных по конкретному CostOffer
              • CostOfferName – название CostOffer (Если заявка не аннулирована, то выводим название CostOffer по цене netto. Если заявка аннулирована со штрафами, то выводим название CostOffer по цене брутто. Если заявка аннулирована без штрафов, то выводим текст "Canceled without penalty")
              • CostOfferDateBegin – дата начала действия CostOffer
              • CostOfferDateEnd – дата окончания действия CostOffer
              • CostOfferDuration – продолжительность проживания до данному CostOffer
          • Penalty – информация о штрафах по аннулированной заявке
          • FlightInfo – секция информации об авиаперелете
            • Tourist – Фамилия и имя туриста
            • Charters – секция авиаперелета
              • CharterInfo – секция информации об авиаперелете
                • Type – тип авиаперелета (Arrival или Departure)
                • Date – дата заезда/выезда из отеля
                • Details – наименование авиаперелета (номер рейса - время прилета/вылета)
      • MessageInfo – массив данных сообщений
        • Id – идентификатор сообщения
        • IsOutgoing – исходящее (true - исходящее, false - входящее)
        • DateCreate – дата создания сообщения
        • IsRead – прочитано (true - прочитано, false - не прочитано )
        • Text – текст сообщения
Пример

Вызов метода SearchBookings

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SearchBookings>
         <!--Optional:-->
         <tem:guid>fd57bdcb-35e0-41b1-9743-eba763211e49</tem:guid>
         <!--Optional:-->
         <tem:hotelID>
            <!--Zero or more repetitions:-->
            <tem:int>2930</tem:int>
         </tem:hotelID>
         <tem:dateInfo>1</tem:dateInfo>
         <tem:dateFrom>2022-08-19</tem:dateFrom>
         <tem:dateTo>2022-08-30</tem:dateTo>
         <tem:New>1</tem:New>
         <tem:change>1</tem:change>
         <tem:cancel>1</tem:cancel>
         <tem:inwork>1</tem:inwork>
    </tem:SearchBookings>
   </soapenv:Body>
</soapenv:Envelope>

Возвращаемый результат метода SearchBookings

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <SearchBookingsResponse xmlns="http://tempuri.org/">
         <SearchBookingsResult>
       <BookingInfo>
               <Booking>MT140101AAL</Booking>
               <BookingID>37608</BookingID>
               <Action>Changed</Action>
               <CreationDate>2022-08-25T14:37:12.25</CreationDate>
               <ChangeDate xsi:nil="true"/>
               <CancelDate xsi:nil="true"/>
               <CustomerMarket>
                  <CustomerMarketId>2</CustomerMarketId>
                  <CustomerMarketName>Russian Market</CustomerMarketName>
               </CustomerMarket>
               <HotelServices>
                  <HotelServiceInfo>
                     <HotelServiceId>171495</HotelServiceId>
                     <HotelServiceName>HTL::Kiev/Red/Double Room/2AD/Jakuzzi/BB</HotelServiceName>
                     <Hotel>
                        <HotelId>2930</HotelId>
                        <HotelName>Red</HotelName>
                     </Hotel>
                     <Pansion>
                        <PansionId>3</PansionId>
                        <PansionName>Bed and Breakfast</PansionName>
                     </Pansion>
                     <RoomType>
                        <RoomTypeId>3</RoomTypeId>
                        <RoomTypeName>Double Room</RoomTypeName>
                     </RoomType>
                     <RoomAccomodation>
                        <AccommodationId>5558</AccommodationId>
                        <AccommodationName>2AD</AccommodationName>
                     </RoomAccomodation>
                     <RoomCategory>
                        <RoomCategoryId>20</RoomCategoryId>
                        <RoomCategoryName>Jakuzzi</RoomCategoryName>
                     </RoomCategory>
                     <Status>
                        <StatusId>1</StatusId>
                        <StatusName>Wait</StatusName>
                     </Status>
                     <CheckIn>2022-08-20T00:00:00</CheckIn>
                     <CheckOut>2022-08-27T00:00:00</CheckOut>
                     <Tourists>
                        <TouristInfo>
                           <Name>Vladimirov Alex</Name>
                           <BirthDate>1979-08-10T00:00:00</BirthDate>
                           <Sex>MR</Sex>
                           <HotelServiceId>171495</HotelServiceId>
                        </TouristInfo>
                        <TouristInfo>
                           <Name>Vladimirovicha Alexa</Name>
                           <BirthDate>1972-08-11T00:00:00</BirthDate>
                           <Sex>MR</Sex>
                           <HotelServiceId>171495</HotelServiceId>
                        </TouristInfo>
                     </Tourists>
                     <CostOffers>
                        <CostOfferInfo>
                           <CostOfferName>kolesnyk2/kolesnyk2</CostOfferName>
                           <CostOfferDateBegin>2022-08-20T00:00:00</CostOfferDateBegin>
                           <CostOfferDateEnd>2022-08-27T00:00:00</CostOfferDateEnd>
                           <CostOfferDuration>7</CostOfferDuration>
                        </CostOfferInfo>
                     </CostOffers>
                     <Penalty/>
                  </HotelServiceInfo>
               </HotelServices>
               <Flights>
                  <FlightInfo>
                     <Tourist>Vladimirov Alex</Tourist>
                     <Charters>
                        <CharterInfo>
                           <Type>Arrival</Type>
                           <Date>2022-08-20T00:00:00</Date>
                           <Details>A123-A124 (A123 - 16:00)</Details>
                        </CharterInfo>
                        <CharterInfo>
                           <Type>Departure</Type>
                           <Date>2022-08-27T00:00:00</Date>
                           <Details>A123-A124 (A124 - 15:00)</Details>
                        </CharterInfo>
                     </Charters>
                  </FlightInfo>
                  <FlightInfo>
                     <Tourist>Vladimirovicha Alexa</Tourist>
                     <Charters>
                        <CharterInfo>
                           <Type>Arrival</Type>
                           <Date>2022-08-20T00:00:00</Date>
                           <Details>A123-A124 (A123 - 16:00)</Details>
                        </CharterInfo>
                        <CharterInfo>
                           <Type>Departure</Type>
                           <Date>2022-08-27T00:00:00</Date>
                           <Details>A123-A124 (A124 - 15:00)</Details>
                        </CharterInfo>
                     </Charters>
                  </FlightInfo>
               </Flights>
               <Messages/>
            </BookingInfo>
        </SearchBookingsResult>
      </SearchBookingsResponse>
   </soap:Body>
</soap:Envelope>


SearchBookingsJSON (Получение списка забронированных заявок в формате JSON)

Метод предназначен для поиска забронированных заявок. Отбираются те заявки, у которых партнер предоставления услуги совпадает с партнером для логина, под которым осуществляется поиск.
Принимаемые параметры запроса ( * – обязательный):

  • Guid * – идентификатор аутентификации (возвращается при запросе к методу Connect)
  • hotelID – массив данных с ключами отелей. Можно передавать как один так и несколько ключей отелей. Если не передаём данный параметр, то в ответ получаем все заказы, подходящие под выбранные даты.
  • dateInfo * – по какой дате осуществлять поиск (1 - дата создания заявки, 2 - дата заезда в отель, 3 - дата выезда из отеля)
  • dateFrom * – дата начала
  • dateTo * – дата окончания
  • checkInFrom – дата заезда от
  • checkInTo – дата заезда по
  • New – возвращает новые бронирования с датой, попадающей в указанное выше условие
  • change – возвращает измененные бронирования с изменениями, внесенными в выбранный период
  • cancel – возвращает информацию об отмененных бронированиях за выбранный период
  • inwork – возвращает информацию по заявкам взятым отелем в работу

Заявка получает статус InWork в следующих случаях:
- если через HotelService в методе ManageBooking по заявке передан параметр <hotelWorkStatus>true</hotelWorkStatus>
- если по заявке распечатано или отправлено какое-либо из уведомлений по кнопке Actions в окне Interlook.

  • showConfirmed - отображает путевки со статусом Confirmed (false или отсутствие настройки означает, что путевки со статусом Confirmed не отображаются)

Возвращаемый результат:

  • Booking – номер брони в системе Interlook
  • BookingID – ключ заявки из базы данных
  • Action – новая, отмененная или измененная заявка
  • CreationDate – дата создания услуги в заявке
  • ChangeDate – не используется
  • CancelDate – не используется
  • CustomerMarket – данные туроператора, оформившего заявку
    • CustomerMarketId – ключ туроператора, оформившего заявку
    • CustomerMarketName – имя туроператора, оформившего заявку
  • HotelServices – массив данных по сервисам отелей
    • CheckIn – дата заезда в отель
    • CheckOut – дата выезда из отеля
    • Tourists – массив данных туристов
        • Name – имя туриста
        • BirthDate – дата рождения туриста
        • Sex – пол туриста
        • HotelServiceId – ключ услуги проживания с которой связан турист
    • Notes – не указывается
      • HotelServiceId – ключ сервиса отеля
      • HotelServiceName – имя сервиса отеля
      • Hotel – массив данных по отелям
        • HotelId – ключ отеля
        • HotelName – имя отеля
      • Pansion – тип питания
        • PansionId – ключ питания
        • PansionName – имя питания
      • RoomType – тип номера
        • RoomTypeId – ключ типа номера
        • RoomTypeName – имя типа номера
      • RoomAccomodation – тип размещения
        • AccommodationId – ключ типа размещения
        • AccommodationName – имя типа размещения
      • RoomCategory – категория номер
        • RoomCategoryId – ключ категории номера
        • RoomCategoryName – имя категории номера
      • Status – статус по услуге проживания
        • StatusId – ключ статуса по услуге проживания
        • StatusName – имя статуса по услуге проживания
          • CheckIn – дата заезда в отель
          • CheckOut – дата выезда из отеля
          • Tourists – массив данных туристов
            • TouristInfo – массив данных по туристу
              • Name – имя туриста
              • BirthDate – дата рождения туриста
              • Sex – пол туриста
              • HotelServiceId – ключ услуги проживания с которой связан турист
          • CostOffers – массив данных по CostOffers, по которым рассчитана цена услуги
            • CostOfferInfo – массив данных по конкретному CostOffer
              • CostOfferName – название CostOffer (Если заявка не аннулирована, то выводим название CostOffer по цене netto. Если заявка аннулирована со штрафами, то выводим название CostOffer по цене брутто. Если заявка аннулирована без штрафов, то выводим текст "Canceled without penalty")
              • CostOfferDateBegin – дата начала действия CostOffer
              • CostOfferDateEnd – дата окончания действия CostOffer
              • CostOfferDuration – продолжительность проживания до данному CostOffer
          • Penalty – информация о штрафах по аннулированной заявке
          • FlightInfo – секция информации об авиаперелете
            • Tourist – Фамилия и имя туриста
            • Charters – секция авиаперелета
              • CharterInfo – секция информации об авиаперелете
                • Type – тип авиаперелета (Arrival или Departure)
                • Date – дата заезда/выезда из отеля
                • Details – наименование авиаперелета (номер рейса - время прилета/вылета)
      • MessageInfo – массив данных сообщений
        • Id – идентификатор сообщения
        • IsOutgoing – исходящее (true - исходящее, false - входящее)
        • DateCreate – дата создания сообщения
        • IsRead – прочитано (true - прочитано, false - не прочитано )
        • Text – текст сообщения
Пример

Вызов метода SearchBookingsJSON

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:SearchBookingsJSON>
       <!--Optional:-->
         <tem:guid>fd57bdcb-35e0-41b1-9743-eba763211e49</tem:guid>
         <!--Optional:-->
         <tem:hotelID>
            <!--Zero or more repetitions:-->
            <tem:int>2930</tem:int>
         </tem:hotelID>
         <tem:dateInfo>1</tem:dateInfo>
         <tem:dateFrom>2022-08-20</tem:dateFrom>
         <tem:dateTo>2022-08-28</tem:dateTo>
         <tem:New>1</tem:New>
         <tem:change>1</tem:change>
         <tem:cancel>1</tem:cancel>
         <tem:inwork>1</tem:inwork>
      </tem:SearchBookingsJSON>
   </soapenv:Body>
</soapenv:Envelope>

Возвращаемый результат метода SearchBookingsJSON

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <SearchBookingsJSONResponse xmlns="http://tempuri.org/">
         <SearchBookingsJSONResult>[{"Booking":"MT140101AAH","BookingID":37601,"Action":"New","CreationDate":
"2022-08-23T11:36:30.907","ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,
"CustomerMarketName":"Russian Market"},"HotelServices":[{"CheckIn":"2022-08-20T00:00:00","CheckOut"
"2022-08-27T00:00:00","Tourists":[{"Name":"Vladimirov Alex","BirthDate":"1979-08-10T00:00:00","Sex":
"MR","HotelServiceId":171448},{"Name":"Vladimirovicha Alexa","BirthDate":"1972-08-11T00:00:00","Sex":
"MR","HotelServiceId":171448}],"CostOffers":[{"CostOfferName":"kolesnyk2/kolesnyk2","CostOfferDateBegin"
:"2022-08-20T00:00:00","CostOfferDateEnd":"2022-08-27T00:00:00","CostOfferDuration":7}],"Penalty":"",
"Notes":null,"HotelServiceId":171448,"HotelServiceName":"HTL::Kiev/Red/Double Room/2AD/Jakuzzi/BB",
"Hotel":{"HotelId":2930,"HotelName":"Red"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"}
,"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId":5558,
"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"},"Status"
:{"StatusId":1,"StatusName":"Wait"}}],"Flights":[],"Messages":[]},{"Booking":"MT140101AAJ","BookingID"
:37602,"Action":"New","CreationDate":"2022-08-23T11:37:05.227","ChangeDate":null,"CancelDate":null,
"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName":"Russian Market"},"HotelServices":
[{"CheckIn":"2022-08-20T00:00:00","CheckOut":"2022-08-27T00:00:00","Tourists":[{"Name":"Vladimirov Alex",
"BirthDate":"1979-08-10T00:00:00","Sex":"MR","HotelServiceId":171454},{"Name":"Vladimirovicha Alexa"
,"BirthDate":"1972-08-11T00:00:00","Sex":"MR","HotelServiceId":171454}],"CostOffers":[{"CostOfferName"
:"kolesnyk2/kolesnyk2","CostOfferDateBegin":"2022-08-20T00:00:00","CostOfferDateEnd":"2022-08-27T00:00
:00","CostOfferDuration":7}],"Penalty":"","Notes":null,"HotelServiceId":171454,"HotelServiceName":
"HTL::Kiev/Red/Double Room/2AD/Jakuzzi/BB","Hotel":{"HotelId":2930,"HotelName":"Red"},"Pansion":
{"PansionId":3,"PansionName":"Bed and Breakfast"},"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"}
,"RoomAccomodation":{"AccommodationId":5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":
20,"RoomCategoryName":"Jakuzzi"},"Status":{"StatusId":1,"StatusName":"Wait"}}],"Flights":[],"Messages":
[]},{"Booking":"MT140101AAK","BookingID":37607,"Action":"Changed","CreationDate":"2022-08-25T14:35:38.033",
"ChangeDate":null,"CancelDate":null,"CustomerMarket":{"CustomerMarketId":2,"CustomerMarketName"
:"Russian Market"},"HotelServices":[{"CheckIn":"2022-08-20T00:00:00","CheckOut":"2022-08-27T00:00:00"
,"Tourists":[{"Name":"Vladimirov Alex","BirthDate":"1979-08-10T00:00:00","Sex":"MR","HotelServiceId"
:171489},{"Name":"Vladimirovicha Alexa","BirthDate":"1972-08-11T00:00:00","Sex":"MR","HotelServiceId"
:171489}],"CostOffers":[{"CostOfferName":"kolesnyk2/kolesnyk2","CostOfferDateBegin":"2022-08-20T00:00:00"
,"CostOfferDateEnd":"2022-08-27T00:00:00","CostOfferDuration":7}],"Penalty":"","Notes":null,
"HotelServiceId":171489,"HotelServiceName":"HTL::Kiev/Red/Double Room/2AD/Jakuzzi/BB","Hotel"
:{"HotelId":2930,"HotelName":"Red"},"Pansion":{"PansionId":3,"PansionName":"Bed and Breakfast"}
,"RoomType":{"RoomTypeId":3,"RoomTypeName":"Double Room"},"RoomAccomodation":{"AccommodationId"
:5558,"AccommodationName":"2AD"},"RoomCategory":{"RoomCategoryId":20,"RoomCategoryName":"Jakuzzi"}
,"Status":{"StatusId":1,"StatusName":"Wait"}}],"Flights":[{"Tourist":"Vladimirov Alex","Charters"
:[{"Type":"Arrival","Date":"2022-08-20T00:00:00","Details":"A123-A124 (A123 - 16:00)"},{"Type"
:"Departure","Date":"2022-08-27T00:00:00","Details":"A123-A124 (A124 - 15:00)"}]},{"Tourist":
"Vladimirovicha Alexa","Charters":[{"Type":"Arrival","Date":"2022-08-20T00:00:00","Details":
"A123-A124 (A123 - 16:00)"},{"Type":"Departure","Date":"2022-08-27T00:00:00","Details":
"A123-A124 (A124 - 15:00)"}]}],"Messages":[]}]</SearchBookingsJSONResult>
      </SearchBookingsJSONResponse>
   </soap:Body>
</soap:Envelope>


GetMarkets (Получение списка рынков)

Метод предназначен для отображения всех существующих рынков.
Принимаемые параметры запроса ( * – обязательный):
Отсутствуют.
Возвращаемый результат:

  • GetMarketsResult – массив данных рынков
    • Name – наименование рынка
    • Id – идентификатор рынка
Пример

Вызов метода GetMarkets

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:GetMarkets/>
   </soapenv:Body>
</soapenv:Envelope>

Возвращаемый результат метода GetMarkets

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <GetMarketsResponse xmlns="http://tempuri.org/">
         <GetMarketsResult>
            <MarketInfo Name="!test" Id="61"/>
            <MarketInfo Name="&lt;All>" Id="0"/>
            <MarketInfo Name="1111" Id="33"/>
            <MarketInfo Name="1112" Id="34"/>
            <MarketInfo Name="12" Id="32"/>
            <MarketInfo Name="12" Id="40"/>
            <MarketInfo Name="1t1" Id="44"/>
            <MarketInfo Name="1t2" Id="45"/>
            <MarketInfo Name="1t3" Id="46"/>
            <MarketInfo Name="1t4" Id="47"/>
            <MarketInfo Name="1t5" Id="48"/>
            <MarketInfo Name="1t6" Id="49"/>
            <MarketInfo Name="21" Id="36"/>
            <MarketInfo Name="234" Id="37"/>
            <MarketInfo Name="313" Id="38"/>
            <MarketInfo Name="34" Id="35"/>
            <MarketInfo Name="34" Id="41"/>
            <MarketInfo Name="4" Id="51"/>
            <MarketInfo Name="434" Id="39"/>
            <MarketInfo Name="45" Id="42"/>
            <MarketInfo Name="456" Id="43"/>
            <MarketInfo Name="Balkan Market" Id="5"/>
            <MarketInfo Name="France Market" Id="8"/>
            <MarketInfo Name="Greek Market" Id="3"/>
            <MarketInfo Name="Italy Market" Id="9"/>
            <MarketInfo Name="market12^*#$)_22_ 09" Id="22"/>
            <MarketInfo Name="market1FAD" Id="11"/>
            <MarketInfo Name="market2083" Id="13"/>
            <MarketInfo Name="market25C5" Id="16"/>
            <MarketInfo Name="market8085" Id="14"/>
            <MarketInfo Name="market9873" Id="10"/>
            <MarketInfo Name="marketA5F9" Id="18"/>
            <MarketInfo Name="marketD84E" Id="15"/>
            <MarketInfo Name="marketF3A6" Id="19"/>
            <MarketInfo Name="marketF415" Id="21"/>
            <MarketInfo Name="marketFCFE" Id="20"/>
            <MarketInfo Name="marketFFDC" Id="12"/>
            <MarketInfo Name="mk" Id="31"/>
            <MarketInfo Name="mk_market" Id="30"/>
            <MarketInfo Name="Old" Id="6"/>
            <MarketInfo Name="qwer" Id="50"/>
            <MarketInfo Name="Russian Market" Id="2"/>
            <MarketInfo Name="test new" Id="56"/>
            <MarketInfo Name="test1211" Id="53"/>
            <MarketInfo Name="Мой личный рынок" Id="25"/>
            <MarketInfo Name="ук" Id="55"/>
         </GetMarketsResult>
      </GetMarketsResponse>
   </soap:Body>
</soap:Envelope>


Методы передачи изменений по услугам

ManageBooking (Передача изменений по услуге проживания в Interlook)

Принимаемые параметры запроса ( * – обязательный):

  • guid * – идентификатор аутентификации (возвращается при запросе к методу Connect)
  • hotelServiceId * – ключ услуги проживания (возвращается при запросе к методу SearchBookings)
  • status – фильтр для отбора услуг с определенным статусом (1 - Wait, 2 - Confirmed, 3 - notConfirmed)
  • message – сообщение для пользователя Interlook
  • hotelWorkStatus – отметка отеля по заявке (true - отель взял заявку в работу, false - отель заявку в работу не взял). При отправке этого параметра формируется запись в историю по заявке и сообщение от провайдера.


История

Сообщение
Возвращаемый результат:

  • ManageBookingResult – массив данных
  • HotelServiceId – ключ сервиса отеля
  • HotelServiceName – имя сервиса отеля
    • Hotel – массив данных по отелям
      • HotelId – ключ отеля
      • HotelName – имя отеля
    • Pansion – тип питания
      • PansionId – ключ питания
      • PansionName – имя питания
    • RoomType – тип номера
      • RoomTypeId – ключ типа номера
      • RoomTypeName – имя типа номера
    • RoomAccomodation – тип размещения
      • AccommodationId – ключ типа размещения
      • AccommodationName – имя типа размещения
    • RoomCategory – категория номер
      • RoomCategoryId – ключ категории номера
      • RoomCategoryName – имя категории номера
    • Status – статус по услуге проживания
      • StatusId – ключ статуса по услуге проживания
      • StatusName – имя статуса по услуге проживания


Пример

Вызов метода ManageBooking

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:ManageBooking>
         <!--Optional:-->
         <tem:guid>69ad76b6-3551-403d-934e-18d8358a60e2</tem:guid>
         <tem:hotelServiceId>163806</tem:hotelServiceId>
         <tem:status>1</tem:status>
         <!--Optional:-->
         <tem:message>яварааааааааарвя</tem:message>
         <tem:hotelWorkStatus>false</tem:hotelWorkStatus>
      </tem:ManageBooking>
   </soapenv:Body>
</soapenv:Envelope>

Возвращаемый результат метода ManageBooking

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <ManageBookingResponse xmlns="http://tempuri.org/">
         <ManageBookingResult Message="Ok">
            <Data>
               <ManageBookingResult>
                  <HotelServiceId>163806</HotelServiceId>
                  <HotelServiceName>HTL::Kiev/Hilton/Double Room/2AD/Jakuzzi/BB</HotelServiceName>
                  <Hotel>
                     <HotelId>2935</HotelId>
                     <HotelName>Hilton</HotelName>
                  </Hotel>
                  <Pansion>
                     <PansionId>3</PansionId>
                     <PansionName>Bed and Breakfast</PansionName>
                  </Pansion>
                  <RoomType>
                     <RoomTypeId>3</RoomTypeId>
                     <RoomTypeName>Double Room</RoomTypeName>
                  </RoomType>
                  <RoomAccomodation>
                     <AccommodationId>5558</AccommodationId>
                     <AccommodationName>2AD</AccommodationName>
                  </RoomAccomodation>
                  <RoomCategory>
                     <RoomCategoryId>20</RoomCategoryId>
                     <RoomCategoryName>Jakuzzi</RoomCategoryName>
                  </RoomCategory>
                  <Status>
                     <StatusId>1</StatusId>
                     <StatusName>Wait</StatusName>
                  </Status>
               </ManageBookingResult>
            </Data>
         </ManageBookingResult>
      </ManageBookingResponse>
   </soap:Body>
</soap:Envelope>


Методы создания цен

CreateCostOffer (Создание ценового предложения)

Метод предназначен для занесения цен на объекты размещения.
Принимаемые параметры запроса ( * – обязательный):

  • Guid * – идентификатор аутентификации (возвращается при запросе к методу Connect)
  • costOffer – массив данных CostOffer
    • HotelId * – ключ отеля
    • RateId * – ключ валюты
    • CostOfferTypeId – ключ типа CostOffer (Ordinary или SPO. Если не указан, то отправляется Ordinary. Если в запросе имеется и заполнена секция Rules, то CostOffer автоматически определяется с типом SPO)
    • MarketIds – ключ рынка (если не указан, то отправляется 0 - все. Возвращается при запросе к методу GetMarkets)
    • SaleDateBegin – дата с которой возможно бронирование (если не указана, то берется в соответствии с текущей)
    • SaleDateEnd – дата до которой возможно бронирование
    • NameFromProvider – наименование для провайдера (если не указан, то записывается пустое)
    • PeriodBeforeCheckIn – период до заезда (если не указан, то отправляется 0)
    • Comment – комментарий
    • MinDays – минимальная продолжительность (если не задано, то устанавливается 1)
    • MaxDays – максимальная продолжительность (если не задано, то устанавливается 365)
  • prices – массив данных цен
    • PriceRequest – массив данных цены
      • DateFrom * – дата начала (если не указана, то берется текущая)
      • DateTo * – дата окончания (если не указана, то берется из списка цен максимальная дата выезда)
      • DateCheckinFrom – дата заезда от (если не указан, то минимальная)
      • DateCheckinTo – дата заезда по (если не указан, то максимальная)
      • DateCheckoutFrom – дата выезда от (если не указан, то минимальная)
      • DateCheckoutTo – дата выезда по (если не указан, то максимальная)
      • WeekDays – день недели (если не указано, то проставляются все)
      • AccomodationId * – ключ типа размещения
      • RoomTypeId * – ключ типа комнаты
      • RoomCategoryId * – ключ категории комнаты
      • PansionId * – ключ типа питания
      • Price * – цена
      • TarifId – (если не указан, то устанавливается 0 - ordinary. Берется из таблицы Tariffs Базы Данных)
  • rules – массив данных правил изменения цены
    • XYRuleRequst – массив данных правил изменения цены
      • ExcludeBy – какие именно ночи должны быть бесплатными (принимает значения Last - последняя, Min - дешевая, Max - дорогая)
      • Sign – значение количества рассчитываемых ночей (принимает значения "=" или "-")
      • XFrom – от какой продолжительности проживания действует акция
      • XTo – до какой продолжительности проживания действует акция
      • Y – количество бесплатных ночей или значение продолжительности проживания

Возвращаемый результат:

  • CreateCostOfferResponse – массив данных CostOffer
    • Id – идентификатор CostOffer
    • Name – наименование CostOffer
    • CostOfferType – тип CostOffer
    • Rate – валюта
    • CreateDate – дата создания CostOffer
    • Markets – наименование рынка
    • XYRuleResponse – массив данных правил изменения цены
      • ExcludeBy – какие именно ночи должны быть бесплатными (принимает значения Last - последняя, Min - дешевая, Max - дорогая)
      • Sign – значение количества рассчитываемых ночей (принимает значения "=" или "-")
      • XFrom – от какой продолжительности проживания действует акция
      • XTo – до какой продолжительности проживания действует акция
      • Y – количество бесплатных ночей или значение продолжительности проживания
    • CostInfoResponse – массив данных цены
      • Id – идентификатор цены
      • Code – идентификатор отеля
      • CheckInDateBegin – дата заезда «с»
      • CheckInDateEnd – дата заезда «до»
      • CheckOutDateBegin – дата выезда «с»
      • CheckOutDateEnd – дата выезда «до»
      • DateBegin – дата действия цены «с»
      • DateEnd – дата действия цены «до»
      • Price – значение цены
      • RoomTypeId – ключ типа номера
      • PansionId – ключ питания
      • RoomCategoryId – ключ категории номера
      • AccommodationId – ключ типа размещения
      • TariffId – ключ тарифа (В таблице цен соответствует параметру CS_CVId)
      • Type – тип цены (Per Room - за комнату, Per Person - за человека)

В случае некорректного запроса в ответе приходит описание ошибки и номер строки, в которой указаны некорректные данные.

Пример

Вызов метода CreateCostOffer

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tem="http://tempuri.org/">
   <soapenv:Header/>
   <soapenv:Body>
      <tem:CreateCostOffer>
         <!--Optional:-->
         <tem:guid>342d6612-f6d4-4149-a365-275a7701c306</tem:guid>
         <!--Optional:-->
         <tem:costOffer>
            <tem:HotelId>2930</tem:HotelId>
            <tem:RateId>1</tem:RateId>
            <tem:CostOfferTypeId>Ordinary</tem:CostOfferTypeId>
            <!--Optional:-->
            <tem:MarketIds>
               <!--Zero or more repetitions:-->
               <tem:int>2</tem:int>
            </tem:MarketIds>
            <tem:SaleDateBegin>2022-10-01</tem:SaleDateBegin>
            <tem:SaleDateEnd>2045-10-01</tem:SaleDateEnd>
            <!--Optional:-->
            <tem:NameFromProvider>New Name</tem:NameFromProvider>
            <tem:PeriodBeforeCheckIn>1</tem:PeriodBeforeCheckIn>
            <!--Optional:-->
            <tem:Comment>NewComment</tem:Comment>
            <tem:MinDays>1</tem:MinDays>
            <tem:MaxDays>7</tem:MaxDays>
         </tem:costOffer>
         <!--Optional:-->
         <tem:prices>
            <!--Zero or more repetitions:-->
            <tem:PriceRequest>
               <tem:DateFrom>2022-10-01</tem:DateFrom>
               <tem:DateTo>2028-10-01</tem:DateTo>
               <tem:DateCheckinFrom>2022-10-01</tem:DateCheckinFrom>
               <tem:DateCheckinTo>2025-10-01</tem:DateCheckinTo>
               <tem:DateCheckoutFrom>2028-10-01</tem:DateCheckoutFrom>
               <tem:DateCheckoutTo>2028-10-01</tem:DateCheckoutTo>
               <!--Optional:-->
               <tem:WeekDays>1234567</tem:WeekDays>
               <tem:AccomodationId>5558</tem:AccomodationId>
               <tem:RoomTypeId>3</tem:RoomTypeId>
               <tem:RoomCategoryId>20</tem:RoomCategoryId>
               <tem:PansionId>3</tem:PansionId>
               <tem:Price>932</tem:Price>
               <tem:TarifId>0</tem:TarifId>
            </tem:PriceRequest>
         </tem:prices>
         <!--Optional:-->
         <tem:rules>
            <!--Zero or more repetitions:-->
            <tem:XYRuleRequst>
               <tem:ExcludeBy>Last</tem:ExcludeBy>
               <!--Optional:-->
               <tem:Sign>=</tem:Sign>
               <tem:XFrom>1</tem:XFrom>
               <tem:XTo>5</tem:XTo>
               <tem:Y>1</tem:Y>
            </tem:XYRuleRequst>
         </tem:rules>
      </tem:CreateCostOffer>
   </soapenv:Body>
</soapenv:Envelope>

Возвращаемый результат метода CreateCostOffer

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <soap:Body>
      <CreateCostOfferResponse xmlns="http://tempuri.org/">
         <CreateCostOfferResult Message="Ok">
            <Data>
               <CreateCostOfferResponse>
                  <Id>2549</Id>
                  <Name>2022.10.01 - 2028.10_Russian Market_1-7_&lt;All>_Mouzenidis Travel 1_Red_53</Name>
                  <CostOfferType>SPO</CostOfferType>
                  <Rate>EU</Rate>
                  <CreateDate>2022-11-14T13:14:07.047</CreateDate>
                  <Markets>Russian Market</Markets>
                  <XYRules>
                     <XYRuleResponse>
                        <ExcludeBy>Last</ExcludeBy>
                        <Sign>-</Sign>
                        <XFrom>1</XFrom>
                        <XTo>5</XTo>
                        <Y>1</Y>
                     </XYRuleResponse>
                  </XYRules>
                  <CostsInfo>
                     <CostInfoResponse>
                        <Id>807703</Id>
                        <Code>2930</Code>
                        <CheckInDateBegin>2028-10-01T00:00:00</CheckInDateBegin>
                        <CheckInDateEnd>2028-10-01T00:00:00</CheckInDateEnd>
                        <CheckOutDateBegin>2028-10-01T00:00:00</CheckOutDateBegin>
                        <CheckOutDateEnd>2028-10-01T00:00:00</CheckOutDateEnd>
                        <DateBegin>2022-10-01T00:00:00</DateBegin>
                        <DateEnd>2028-10-01T00:00:00</DateEnd>
                        <Price>956.1700</Price>
                        <RoomTypeId>3</RoomTypeId>
                        <PansionId>3</PansionId>
                        <RoomCategoryId>20</RoomCategoryId>
                        <AccomodationId>5558</AccomodationId>
                        <TariffId>0</TariffId>
                        <Type>PerPax</Type>
                     </CostInfoResponse>
                  </CostsInfo>
               </CreateCostOfferResponse>
            </Data>
         </CreateCostOfferResult>
      </CreateCostOfferResponse>
   </soap:Body>
</soap:Envelope>