Availability seats request.
yyyy-mm-ddthh:mm:ss
.<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:avia="http://ws-ibe.com/Avia" xmlns:stl="http://ws-ibe.com/STL" xmlns:avia1="http://websky.travel/Avia">
<soapenv:Header/>
<soapenv:Body>
<avia:AirAvailabilitySearch>
<avia:Request>
<stl:Requisites>
<stl:AuthToken>token</stl:AuthToken>
<stl:SupplierSessionId>sessionId</stl:SupplierSessionId>
</stl:Requisites>
<stl:UserID>11111</stl:UserID>
<stl:RequestType>P</stl:RequestType>
<stl:RequestBody>
<avia1:RequestedFlightInfo>
<avia1:Direct>false</avia1:Direct>
<avia1:ODPairs>
<avia1:ODPair>
<avia1:DepartureDateTime>2024-12-23T00:00:00</avia1:DepartureDateTime>
<avia1:DeparturePoint>
<avia:Code>PAR</avia:Code>
<avia:IsCity>true</avia:IsCity>
</avia1:DeparturePoint>
<avia1:ArrivalPoint>
<avia:Code>BCN</avia:Code>
<avia:IsCity>true</avia:IsCity>
</avia1:ArrivalPoint>
<avia1:FlightNumber>2</avia1:FlightNumber>
<avia1:BookingClassCode>F</avia1:BookingClassCode>
</avia1:ODPair>
</avia1:ODPairs>
</avia1:RequestedFlightInfo>
<avia1:Restrictions>
<avia1:CompanyFilter>
<avia:Company>
<avia:Code>BA</avia:Code>
<avia:Include>true</avia:Include>
<!-- <avia:SegmentNumber>1</avia:SegmentNumber>-->
</avia:Company>
</avia1:CompanyFilter>
<avia1:SourcePreference>
<avia:Source>-11111</avia:Source>
</avia1:SourcePreference>
<avia1:ClassPreference>
<avia:ClassOfService>Economy</avia:ClassOfService>
</avia1:ClassPreference>
<avia1:SeatsCount>9</avia1:SeatsCount>
</avia1:Restrictions>
</stl:RequestBody>
</avia:Request>
</avia:AirAvailabilitySearch>
</soapenv:Body>
</soapenv:Envelope>
The availability response message contains flight available seats by RBD for a city pair.
<AirAvailabilitySearchResponse xmlns="http://ws-ibe.com/Avia">
<AirAvailabilitySearchResult xmlns:a="http://ws-ibe.com/STL" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
<a:RequestID>1150383685</a:RequestID>
<a:ResponseBody xmlns:b="http://websky.travel/Avia">
<b:OriginDestinationList>
<b:OriginDestination>
<b:DepartureCode>PAR</b:DepartureCode>
<b:ArrivalCode>BCN</b:ArrivalCode>
<b:Flights>
<b:Flight>
<b:Segments>
<b:Segment>
<a:ID>0</a:ID>
<DepAirp>
<AirportCode>CDG</AirportCode>
<CityCode>PAR</CityCode>
<UTC>2</UTC>
<Terminal>A</Terminal>
</DepAirp>
<ArrAirp>
<AirportCode>BCN</AirportCode>
<CityCode>BCN</CityCode>
<UTC>3</UTC>
<Terminal>2</Terminal>
</ArrAirp>
<b:FlightTime>01:15</b:FlightTime>
<b:MarketingCarrierInfo>
<b:Code>BA</b:Code>
<b:FlightNumber>200</b:FlightNumber>
</b:MarketingCarrierInfo>
<b:OperatingCarrierInfo>
<b:Code>BA</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:OriginDestinationList>
</a:ResponseBody>
</AirAvailabilitySearchResult>
</AirAvailabilitySearchResponse>