Запрос наличия мест.
yyyy-mm-ddthh:mm:ss
. (обязательное поле)true
, если в качестве пункта отправления указан код города (агрегатор аэропортов), false
- код аэропорта. Тип данных - булевый. <avia:AirAvailabilitySearch>
<avia:Request>
<stl:Requisites>
<stl:AuthToken>token010203D</stl:AuthToken>
</stl:Requisites>
<stl:UserID>100</stl:UserID>
<stl:RequestBody>
<avia1:RequestedFlightInfo>
<avia1:Direct>true</avia1:Direct>
<avia1:ODPairs>
<avia1:ODPair>
<avia1:DepartureDateTime>2022-01-17T00:00:00</avia1:DepartureDateTime>
<avia1:DeparturePoint>
<avia:Code>MOW</avia:Code>
<avia:IsCity>true</avia:IsCity>
</avia1:DeparturePoint>
<avia1:ArrivalPoint>
<avia:Code>LED</avia:Code>
<avia:IsCity>true</avia:IsCity>
</avia1:ArrivalPoint>
</avia1:ODPair>
<avia1:ODPair>
<avia1:DepartureDateTime>2022-01-19T00:00:00</avia1:DepartureDateTime>
<avia1:DeparturePoint>
<avia:Code>LED</avia:Code>
<avia:IsCity>true</avia:IsCity>
</avia1:DeparturePoint>
<avia1:ArrivalPoint>
<avia:Code>MOW</avia:Code>
<avia:IsCity>true</avia:IsCity>
</avia1:ArrivalPoint>
</avia1:ODPair>
</avia1:ODPairs>
</avia1:RequestedFlightInfo>
<avia1:Restrictions>
<avia1:CompanyFilter>
<avia:Company>
<avia:Code>UT</avia:Code>
<avia:Include>true</avia:Include>
</avia:Company>
</avia1:CompanyFilter>
<avia1:SourcePreference>
<avia:Source>12345</avia:Source>
</avia1:SourcePreference>
<avia1:SeatsCount>2</avia1:SeatsCount>
</avia1:Restrictions>
</stl:RequestBody>
</avia:Request>
</avia:AirAvailabilitySearch>
Сообщение с ответом о наличии свободных мест содержит доступные места на рейсах по классам бронирования для пары городов.
<AirAvailabilitySearchResponse xmlns="http://nemo-ibe.com/Avia">
<AirAvailabilitySearchResult xmlns:a="http://nemo-ibe.com/STL" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:RequestID>1150383685</a:RequestID>
<a:ResponseBody xmlns:b="http://nemo.travel/Avia">
<b:OriginDestinationList>
<b:OriginDestination>
<b:DepartureCode>MOW</b:DepartureCode>
<b:ArrivalCode>LED</b:ArrivalCode>
<b:Flights>
<b:Flight>
<b:Segments>
<b:Segment>
<a:ID>0</a:ID>
<DepAirp>
<AirportCode>VKO</AirportCode>
<CityCode>MOW</CityCode>
<UTC>3</UTC>
<Terminal>A</Terminal>
</DepAirp>
<ArrAirp>
<AirportCode>LED</AirportCode>
<CityCode>LED</CityCode>
<UTC>3</UTC>
<Terminal>2</Terminal>
</ArrAirp>
<b:FlightTime>01:15</b:FlightTime>
<b:MarketingCarrierInfo>
<b:Code>UT</b:Code>
<b:FlightNumber>200</b:FlightNumber>
</b:MarketingCarrierInfo>
<b:OperatingCarrierInfo>
<b:Code>UT</b:Code>
<b:FlightNumber>200</b:FlightNumber>
</b:OperatingCarrierInfo>
<b:AircraftType>747</b:AircraftType>
<b:DepartureDateTime>2022-01-17T10:00:00</b:DepartureDateTime>
<b:ArrivalDateTime>2022-01-17T11:15:00</b:ArrivalDateTime>
<b:Avails>
<b:RBD>
<b:FreeSeatsCount>12</b:FreeSeatsCount>
<b:Value>C</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>12</b:FreeSeatsCount>
<b:Value>D</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>450</b:FreeSeatsCount>
<b:Value>Y</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>450</b:FreeSeatsCount>
<b:Value>K</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>450</b:FreeSeatsCount>
<b:Value>L</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>450</b:FreeSeatsCount>
<b:Value>M</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>450</b:FreeSeatsCount>
<b:Value>N</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>450</b:FreeSeatsCount>
<b:Value>O</b:Value>
</b:RBD>
</b:Avails>
</b:Segment>
</b:Segments>
</b:Flight>
</b:Flights>
</b:OriginDestination>
<b:OriginDestination>
<b:DepartureCode>LED</b:DepartureCode>
<b:ArrivalCode>MOW</b:ArrivalCode>
<b:Flights>
<b:Flight>
<b:Segments>
<b:Segment>
<a:ID>0</a:ID>
<DepAirp>
<AirportCode>LED</AirportCode>
<CityCode>LED</CityCode>
<UTC>3</UTC>
<Terminal>1</Terminal>
</DepAirp>
<ArrAirp>
<AirportCode>VKO</AirportCode>
<CityCode>MOW</CityCode>
<UTC>3</UTC>
<Terminal>A</Terminal>
</ArrAirp>
<b:FlightTime>01:00</b:FlightTime>
<b:MarketingCarrierInfo>
<b:Code>UT</b:Code>
<b:FlightNumber>4001</b:FlightNumber>
</b:MarketingCarrierInfo>
<b:OperatingCarrierInfo>
<b:Code>U6</b:Code>
<b:FlightNumber>1001</b:FlightNumber>
</b:OperatingCarrierInfo>
<b:AircraftType>319</b:AircraftType>
<b:DepartureDateTime>2022-01-19T20:00:00</b:DepartureDateTime>
<b:ArrivalDateTime>2022-01-19T21:00:00</b:ArrivalDateTime>
<b:Avails>
<b:RBD>
<b:FreeSeatsCount>9</b:FreeSeatsCount>
<b:Value>C</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>9</b:FreeSeatsCount>
<b:Value>D</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>9</b:FreeSeatsCount>
<b:Value>Y</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>9</b:FreeSeatsCount>
<b:Value>K</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>9</b:FreeSeatsCount>
<b:Value>L</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>9</b:FreeSeatsCount>
<b:Value>M</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>9</b:FreeSeatsCount>
<b:Value>N</b:Value>
</b:RBD>
<b:RBD>
<b:FreeSeatsCount>9</b:FreeSeatsCount>
<b:Value>O</b:Value>
</b:RBD>
</b:Avails>
</b:Segment>
</b:Segments>
</b:Flight>
</b:Flights>
</b:OriginDestination>
</b:OriginDestinationList>
</a:ResponseBody>
</AirAvailabilitySearchResult>
</AirAvailabilitySearchResponse>