Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of contents:

Table of Contents

Check out

Parameters

Main. 
/Envelope /Body /SeatAvailabilityRS

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1

Version

(tick)

(error)

(error)

Version of used XSD for SeatAvailabilityRS

@Version

<ns3:SeatAvailabilityRS Version="">

2

Document

(tick)

(error)

(error)

Static. Required by NDC Scheme validation only

Document

<ns3:Document/>

3

Success flag

(tick)

(error)

(error)

Shows in case of success (If there're no errors in RS)

Success

<ns3:Success/>

4

Cabin

(tick)

(tick)

(error)

List of all seat in the cabin aircraft (for choosen service class - BUSINESS or ECONOMY)

Check Cabin for more output details

Flights/Cabin

<ns3:Cabin> ... </ns3:Cabin>

5

Flight segment

 (tick)

(tick)

(error)

Check Flight (Segment, SEG) for more output details

DataLists/FlightSegmentList /FlightSegment

<ns3:FlightSegment SegmentKey="SEG1"> ... </ns3:FlightSegment>

6

Media

(error)

(tick)

(error)

MediaList contain image of ancillaries services

DataLists/MediaList/Media/MediaLink

<ns3:MediaLink> ... </ns3:MediaLink>

7

Service option

(tick)

(tick)

(error)

 Service contain description and pricing for seat ancillaries

Check Service option for more output details

 DataLists

DataLists/ServiceList/Service

 <ns3:Service ObjectKey="SR41"> ... </ns3:Service>

8

Seats

(tick)

(tick)

(error)

 

Seats contain characteristic and availability status for seat ancillaries

Check Seats for more output details

 DataLists/SeatList/Seats

 <ns3:Seats ListKey="R1SA"> ...  </ns3:Seats> 

Anchor
Cabin
Cabin
Cabin.
/Envelope /Body /SeatAvailabilityRS/Flights/Cabin

Flight (Segment, SEG) ID <ns3:FlightSegment SegmentKey="SEG1"> ... </FlightSegment>
#DescriptionMandMultDefaultRef/Format/DescxPathExample
1

Code

(tick)

(error)

(error)

Description class of service for aircraft cabin

Y - Economy

C - Business

Cabin/Code

 <ns3:Code>Y</ns3:Code>

2

Cabin Definition 

(tick)

(error)

(error)

Description class of service for aircraft cabin

Coach - Economy


Cabin/Definition 

<ns3:Definition>Coach</ns3:Definition>

3

Seat Reference

(tick)

(error)

(error)

List of all seat for aircraft cabin

"SEG1"

@SegmentKey

"R" + integer - specify row for seat

"S" + 1 letter - specify location column for seat

for exapmle, R1SA
row - 1
seat column - A

Cabin/SeatReference

 <ns3:SeatReference>R1SA</ns3:SeatReference>


Anchor
Flight (Segment, SEG)
Flight (Segment, SEG)
Flight (Segment, SEG)
/Envelope /Body /SeatAvailabilityRS/DataLists/FlightSegmentList /FlightSegment (Multiple)

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Flight (Segment, SEG) ID(tick)(error)(error)"SEG1"@SegmentKey <ns3:FlightSegment SegmentKey="SEG1"> ... </FlightSegment>
2Departure IATA airport code(tick)(error)(error)IATA airport codeDeparture /AirportCode<ns3:AirportCode>DME</ns3:AirportCode>
3Departure date (local)(tick)(error)(error)Format: YYYY-MM-DDDeparture /Date<ns3:Date>2023-12-15</ns3:Date>
4Departure time (local)(tick)(error)(error)Format: HH:MMDeparture /Time<ns3:Time>12:55</ns3:Time>
5Arrival IATA airport code(tick)(error)(error)IATA airport codeArrival /AirportCode<ns3:AirportCode>LED</ns3:AirportCode>
6Arrival date (local)(tick)(error)(error)Format: YYYY-MM-DDArrival/Date<ns3:Date>2023-12-15</ns3:Date>
7Arrival time (local)(tick)(error)(error)Format: HH:MMArrival/Timens3:Time>14:35</ns3:Time>
8Marketing carrier IATA airline code(tick)(error)(error)IATA airline codeMarketingCarrier /AirlineID<ns3:AirlineID>S7</ns3:AirlineID>
9

Marketing carrier flight number

(tick)(error)(error)IntegerAll "0"s before the number will be excludedMarketingCarrier /FlightNumber<ns3:FlightNumber>1011</ns3:FlightNumber>
10

Operating carrier IATA airline code

(tick)(error)(error)IATA airline codeOperatingCarrier /AirlineID<ns3:AirlineID>S7</ns3:AirlineID>
11

Operating carrier flight number

(tick)(error)(error)IntegerAll "0"s before the number will be excludedOperatingCarrier /FlightNumber<ns3:FlightNumber>1011</ns3:FlightNumber>
12

Aircraft code

(tick)(error)(error)IATA aircraft codeEquipment/AircraftCode<ns3:AircraftCode>73H</ns3:AircraftCode>
13

Airline Equipment Code

(tick)(error)(error)Model of aircraftEquipment/AirlineEquipCode
<ns3:AirlineEquipCode>Boeing 737-800</ns3:AirlineEquipCode>

Anchor
Service option (SR)
Service option (SR)
Service option (SR)
/Envelope /Body /

Body 

SeatAvailabilityRS/

ServicePriceRS

DataLists/

Services

ServiceList/Service (Multiple)

<Description ObjectKey="type_SR67">
   <Text>comfortable</Text>
</Description>
#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Service Option ID(tick)(error)(error)

"SR" + sequence number of service tag

ServiceID@ObjectKey
<ServiceID<ns3:Service OwnerObjectKey="S7SR41">SR1</ServiceID>>
2Service Owner(tick)(error)"S7"

Static. Required by NDC Scheme validation only

ServiceID /@Owner
<ServiceID<ns3:ServiceID Owner="S7">SR1<>seat</ns3:ServiceID>
3Service Type(tick)(error)(error)

Possible values:

  • bag (for checked baggage)
  • meal
  • seat
Name
<Name>bag</Name>
4Service Fare Family(tick)(error)(error)

Possible values:

  • BASICECONOMY

  • STANDARDECONOMY
  • PLUSECONOMY
  • BASICBUSINESS
  • STANDARDBUSINESS
  • PLUSBUSINESS
Descriptions /Description[substring-before(@ObjectKey,'_')='fareFamily'] /Text
<Description ObjectKey="fareFamily_SR1">
 <Text>BASICECONOMY</Text>
</Description>
seat

Type of ancillaries 
seat

ServiceID 
<ns3:ServiceID Owner="S7">seat</ns3:ServiceID>
4Category of seat(tick)5Service Option Description(error)(error)(error)Descriptions /Description[substring-before(@ObjectKey,'_')='description'] /Text
<ns3:Description ObjectKey="description_SR1">
<ns3:Text>CHECKED FIRST BAG</ns3:Text>
</ns3:Description>
6Service Option Type(error)(error)(error)

Possible values:

  • standard
  • preferentialbusiness

  • comfortable

  • business

Available only for seat

Descriptions /Description[substring-before(@ObjectKey,'_')='type'] /Text7Service Option Location
  • preferential

  • standard

Name
<ns3:Name>preferential</ns3:Name>
5Service Description(tick)(error)(error)(error)

Possible values:

  • aisle
  • middle
  • window

Available only for seat

Descriptions /Description[substring-before(@ObjectKey,'_')='location'] /Text
<Description ObjectKey="location_SR20">
<Text>middle</Text>
</Description>
8Service Option Row(error)(error)(error)

Possible values:

  • first

  • exit

Available only for seat

Descriptions /Description[substring-before(@ObjectKey,'_')='row'] /Text
<Description ObjectKey="row_SR15">
<Text>exit</Text>
</Description>
  • BUSINESS SEAT (category business)

  • SEAT ASSIGNMENT EXTRA SPACE (category comfortable)
  • PRE RESERVED SEAT ASSIGNMENT (category preferential and standard)
Descriptions /Description/Text
<ns3:Text>PRE RESERVED SEAT ASSIGNMENT</ns3:Text>
69Service Option price in sale currency, currency code(tick)(error)(error)

3-char ISO 4217 currency code

"RUB" — the default sale currency for S7

Price /Total /@Code
<Total<ns3:Total Code="RUB">0<>550.0</ns3:Total>
107Service Option price in sale currency, amount(tick)(error)(error)DecimalPrice /Total
<Total<ns3:Total Code="RUB">0<>550.0</ns3:Total>
118Service Option base price in sale currency, currency code(error)(error)(error)

3-char ISO 4217 currency code


Price /Details /Detail[Application="Base"] /Amount /@Code
<ns3:Detail> <Detail>
<Application>base<ns3:Application>base fare</ns3:Application>
<Amount<ns3:Amount Code="RUB">850.0</ns3:Amount>
</ns3:Detail>
129Service Option discount percent(error)(error)(error)

Decimal

Shows in case original (filed) currency isn't equal to sale currency (RUB) — departure from non-Russian airport

Price /Details /Detail[Application="Base"] /Amount
<Detail>
<Application>discount<ns3:Detail>
<ns3:Application>discount percent</ns3:Application>
<Amount<ns3:Amount Code="percent">100</Amount>
</ns3:Detail>
1310Service Option discount in sale currency(error)(error)(error)

3-char ISO 4217 currency code

Price /Details /Detail[Application="Exchange Rate"] /Amount /@Code
<Detail>
<Application>discount</Application>
<Amount<ns3:Detail>
<ns3:Application>discount</ns3:Application>
<ns3:Amount Code="RUB">800<>100</ns3:Amount>
</Detail>
14Service Option SubCode(error)(error)(error)

Filed service option subcode

(warning) Unspecified value means that service option doesn't filed and it do not available by terminal

BookingInstructions /OSIText
<OSIText>0CC</OSIText>
15

Service PTCs (SH) reference

(error)(error)(error)

PTCs (SH) identifier specified in PTCs (SH) block

(warning) Unspecified value means that service do not depend on PTC (will be updated to mandatory)

Associations[Traveler] /Traveler /TravelerReferences
<Associations>
   <Traveler>
      <TravelerReferences>SH1</TravelerReferences>
   </Traveler>
</Associations>
16

Service Flight (Segment, SEG) reference

(error)(error)(error)

Flight (Segment, SEG) identifier specified in Flight (Segment, SEG) block

Shows in case service applicable for a segment, otherwise shows slice reference

Associations[Flight/SegmentReferences] /Flight /SegmentReferences
<Associations>
   <Flight>
      <SegmentReferences>SEG1</SegmentReferences>
   </Flight>
</Associations>
17

Service OriginDestination (Slice, OD) reference

(error)(error)(error)

OriginDestination (Slice, OD) identifier specified in OriginDestination (Slice, OD) block

Shows in case service applicable for a whole slice, otherwise shows segment reference

Associations[Flight/OriginDestinationReferences] /Flight /OriginDestinationReferences
<Associations>
   <Flight
      <OriginDestinationReferences>OD1</OriginDestinationReferences>
   </Flight>
</Associations>
18

Service Fare (FG) reference

(error)(error)(error)

Fare (FG) identifier specified in Fare (FG) block

(warning) Know issue: the value do not always specified. Use Fare Family field to determine fare reference

Associations[OtherAssociations] /OtherAssociations[Type='fare'] /OriginDestinationReferences
<Associations>
   <OtherAssociations>
      <OtherAssociation>
         <Type>fare</Type>
         <ReferenceValue>FG2</ReferenceValue>
      </OtherAssociation>
   </OtherAssociations>
</Associations>
Anchor
ns3:Detail>
PTCs (SH)PTCs (SH)PTCs (SH)

Anchor
Seats
Seats
Seats


/Envelope /

Body 

Body /

ServicePriceRS

SeatAvailabilityRS/DataLists /

AnonymousTravelerList

SeatList/

AnonymousTraveler

Seats (Multiple)

Passenger (SH) IDSH sequence number of passenger tag
#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Seat Reference(tick)(error)(error)

"

R" +

@ObjectKey
<AnonymousTraveler ObjectKey="SH1">
2Passenger Type Code(tick)(error)(error)
  • ADT — Adult

  • CHD — Child

  • INF — Infant in a Lap

PTC
<PTC>ADT</PTC>
Anchor

integer - specify row for seat

"S" + 1 letter - specify location for seat

for exapmle, R1SA
row - 1
seat - A

@ListKey
<ns3:Seats ListKey="R3SA">
2Price Reference
Fare (FG)Fare (FG)Fare (FG)
/Envelope /Body /ServicePriceRS /DataLists /FareList /FareGroup (Multiple)
Fare IDFG fare @ListKey<FareGroupSEG1FG1Fare Code
#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Flight (Segment, SEG) reference(tick)(error)(error)Flight (Segment, SEG) identifier specified in Flight (Segment, SEG) block@refs
<FareGroup refs="SEG1" ListKey="FG1">
2(tick)(error)(error)Link seat to Service Option
"
SR" + sequence number of service tag@refs
<ns3:Seats refs="
SR3" ListKey="
R1SC">
3Location Column(tick)(error)"ANY"Static. Required by NDC Scheme validation onlyFare /FareCode /Code
<Code>ANY</Code>
4Fare Family name(tick)(error)(error)

Possible values:

  • BASICECONOMY

  • STANDARDECONOMY
  • PLUSECONOMY
  • BASICBUSINESS
  • STANDARDBUSINESS
  • PLUSBUSINESS
Fare /FareCode /Definition
<Definition>BASICECONOMY</Definition>
5Fare Basis Code(tick)(error)(error)Format: A-ZFareBasisCode
<Code>QBSOW</Code>
AnchorOriginDestination (Slice, OD)OriginDestination (Slice, OD)OriginDestination (Slice, OD)
/Envelope /Body /ServicePriceRS /DataLists /OriginDestinationList /OriginDestination (Multiple)
<FlightReferences>SEG1 SEG2</FlightReferences>
(error)1 letter - specify location column for seatLocation/Column
<ns3:Column>A</ns3:Column>
4Location Row number(tick)(tick)(error)integer - specify row for seatLocation/Row/Number<ns3:Row>
 <ns3:Number>1</ns3:Number>
</ns3:Row>
5Seat Characteristics (tick)(tick)(error)

Characteristic code:

  • type 
    Remark text = Category of seat from Service option
  • emd
    Remark text = code of seat service 0B5

  • first - specify first row in flight cabin
  • child - seat available for children and passenger with infant
  • window / middle / aisle - specify seat location in row

  • exit - specify seat on exit row ((warning) this category of seat available for ADT passenger over 18 years)
  • notRecline - specify seat which can not be pushed back

  • availability - specify availability seat for assign

Characteristics/Characteristic<ns3:Characteristic>
  <ns3:Code>first</ns3:Code>
  <ns3:Definition>seat</ns3:Definition>
  <ns3:Remarks>
  <ns3:Remark>true</ns3:Remark>
  </ns3:Remarks>
</ns3:Characteristic>
#DescriptionMandMultDefaultRef/Format/DescxPathExample
1OriginDestination (Slice, OD) ID(tick)(error)(error)"OD" + sequence number of slice tag@OriginDestinationKey
<OriginDestination OriginDestinationKey="OD1">
2Departure IATA airport code(tick)(error)(error)Departure IATA airport code for the first segment of the sliceDepartureCode
<DepartureCode>DME</DepartureCode>
3Arrival IATA airport code(tick)(error)(error)Arrival IATA airport code for the last segment of the sliceArrivalCode
<ArrivalCode>OVB</ArrivalCode>
4Flight (Segment, SEG) references(tick)(tick)(error)

One or more consecutive legs having the same flight number. Check glossary for more info

List of identifiers of slice segments. Identifiers specified in Flight (Segment, SEG) block

(warning) A multiple value shows as a single tag with a space delimiter — " "

FlightReferences