Parameters
Main.
/Envelope /Body /SeatAvailabilityRS
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Version | Version of used XSD for SeatAvailabilityRS | @Version | <ns3:SeatAvailabilityRS |
Version=""> | ||||||
2 | Document | Static. Required by NDC Scheme validation only | Document |
<ns3:Document/> | ||||||
3 | Success flag | Shows in case of success (If there're no errors in RS) | Success |
<ns3:Success/> | ||||
4 | Cabin |
List of all seat in the cabin aircraft (for choosen service class - BUSINESS or ECONOMY) |
Flights/ |
Cabin | <ns3:Cabin> ... |
</ |
ns3:Cabin> | ||||
5 | Flight segment | |
Check Flight (Segment, SEG) for more output details | DataLists/FlightSegmentList /FlightSegment |
<ns3:FlightSegment SegmentKey="SEG1"> |
... |
</ns3:FlightSegment> | |||||
6 | Media | MediaList contain image of |
ancillaries services | DataLists/MediaList/Media/MediaLink | <ns3:MediaLink> |
... |
</ns3:MediaLink> | ||||
7 | Service option |
Service contain description and pricing for seat ancillaries Check Service option for more output details | DataLists/ServiceList/Service | <ns3:Service ObjectKey="SR41"> ... </ns3:Service> |
8 | Seats |
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 | ||||
---|---|---|---|---|
|
/Envelope /Body /SeatAvailabilityRS/Flights/Cabin
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | Code | Description class of service for aircraft cabin Y - Economy C - Business | Cabin/Code | <ns3:Code>Y</ns3:Code> | |||
2 | Cabin Definition | Description class of service for aircraft cabin Coach - Economy | Cabin/Definition | <ns3:Definition>Coach</ns3:Definition> | |||
3 | Seat Reference | List of all seat for aircraft cabin "R" + integer - specify row for seat "S" + 1 letter - specify location column for seat for exapmle, R1SA | Cabin/SeatReference | <ns3:SeatReference>R1SA</ns3:SeatReference> |
Anchor | ||||
---|---|---|---|---|
|
/Envelope /Body
Body /SeatAvailabilityRS/
ServicePriceRSDataLists/
ServicesFlightSegmentList /
ServiceFlightSegment (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | |||||||
Flight (Segment, SEG) ID | " | ||||||
SEG1" | @SegmentKey | <ns3:FlightSegment SegmentKey="SEG1"> ... </FlightSegment> | |||||
2 | Departure IATA airport code | ServiceID | <ServiceID Owner="S7">SR1</ServiceID> | 2 | Service Owner|||
"S7" | Static. Required by NDC Scheme validation only | ServiceID /@Owner | <ServiceID Owner="S7">SR1</ServiceID> | 3 | |||
IATA airport code | Departure /AirportCode | <ns3:AirportCode>DME</ns3:AirportCode> | |||||
3 | Departure date (local) | ||||||
Possible values:
| Name | <Name>bag</Name> | 4 | ||||
Format: YYYY-MM-DD | Departure /Date | <ns3:Date>2023-12-15</ns3:Date> | |||||
4 | Departure time (local) | Format: HH:MM | Departure /Time | <ns3:Time>12:55</ns3:Time> | |||
5 | Arrival IATA airport code | ||||||
IATA airport code | Arrival /AirportCode | <ns3:AirportCode>LED</ns3:AirportCode> | |||||
6 | Arrival date (local) | Format: YYYY-MM-DD | Arrival/Date | <ns3:Date>2023-12-15</ns3:Date> | |||
7 | Arrival time (local) | Format: HH:MM | Arrival/Time | ns3:Time>14:35</ns3:Time> | |||
8 | Marketing carrier IATA airline code | IATA airline code | MarketingCarrier /AirlineID | <ns3:AirlineID>S7</ns3:AirlineID> | |||
9 | Marketing carrier flight number | IntegerAll "0"s before the number will be excluded | MarketingCarrier /FlightNumber | <ns3:FlightNumber>1011</ns3:FlightNumber> | |||
10 | Operating carrier IATA airline code | IATA airline code | OperatingCarrier /AirlineID | <ns3:AirlineID>S7</ns3:AirlineID> | |||
11 | Operating carrier flight number | IntegerAll "0"s before the number will be excluded | OperatingCarrier /FlightNumber | <ns3:FlightNumber>1011</ns3:FlightNumber> | |||
12 | Aircraft code | IATA aircraft code | Equipment/AircraftCode | <ns3:AircraftCode>73H</ns3:AircraftCode> | |||
13 | Airline Equipment Code | Model of aircraft | Equipment/AirlineEquipCode | <ns3:AirlineEquipCode>Boeing 737-800</ns3:AirlineEquipCode> |
Anchor | ||||
---|---|---|---|---|
|
/Envelope /Body /SeatAvailabilityRS/DataLists/ServiceList/Service (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Service Option ID | "SR" + sequence number of service tag | @ObjectKey | <ns3:Service ObjectKey="SR41"> | |||||||||||
2 | Service Owner | "S7" | Static. Required by NDC Scheme validation only | ServiceID /@Owner | <ns3:ServiceID Owner="S7">seat</ns3:ServiceID> | ||||||||||
3 | Service Type | seat | Type of ancillaries | ServiceID | <ns3:ServiceID Owner="S7">seat</ns3:ServiceID> | ||||||||||
4 | Category of seat | Possible values:
| Name | <ns3:Name>preferential</ns3:Name> | |||||||||||
5 | Service Description | Possible values:
| Descriptions /Description[substring-before(@ObjectKey,'_')='fareFamily'] /Text | <Description ObjectKey="fareFamily_SR1"> | 5 | Service Option Description | Descriptions /Description[substring-before(@ObjectKey,'_')='description'] /Text | <ns3:Description ObjectKey="description_SR1"> | 6 | Service Option Type | Possible values:
Available only for seat | Descriptions /Description[substring-before(@ObjectKey,'_')='type'] /Text | <Description ObjectKey="type_SR67">|||
7 | Service Option Location | Possible values:
Available only for seat | Descriptions /Description[substring-before(@ObjectKey,'_')='location'] /Text | <Description ObjectKey="location_SR20"> | |||||||||||
8 | Service Option Row | Possible values:
| Descriptions /Description[substring-before(@ObjectKey,'_')='row'] /Text | <Description ObjectKey="row_SR15"> | <ns3:Text>PRE RESERVED SEAT ASSIGNMENT</ns3:Text> | ||||||||||
69 | Service Option price in sale currency, currency code | Decimal "RUB" — the default sale currency for S7 | Price /Total /@Code | <Total Code="RUB">0</Total> | 10 | Service Option price in sale currency, amount | Decimal | Price /Total | <Total<ns3:Total Code="RUB">0<>550.0</ns3:Total> | ||||||
117 | Service Option base price in sale currency, currency code | Decimal "RUB" — the default sale currency for S7 | Price /Details /Detail[Application="Basebase fare"] /Amount /@Code | <ns3:Detail> <Detail> | |||||||||||
128 | Service Option discount in percent | DecimalShows in case original (filed) currency isn't equal to sale currency (RUB) — departure from non-Russian airport Code="percent" for specify amount discount in percent | Price /Details /Detail[Application="Basediscount percent"] /AmountAmount@Code="percent" | <ns3:Detail> | |||||||||||
139 | Service Option discount in sale currency | DecimalCode="RUB" - 3-char ISO 4217currency code currency code to specify amount discount in currency"RUB" — the default sale currency for S7 | Price /Details /Detail[Application="Exchange Ratediscount percent"] /Amount /@CodeAmount@Code="RUB" | <ns3:Detail> | |||||||||||
14 | Service Option SubCode | Filed service option subcode
| BookingInstructions /OSIText | <OSIText>0CC</OSIText> | |||||||||||
15 | Service PTCs (SH) reference | PTCs (SH) identifier specified in PTCs (SH) block
| Associations[Traveler] /Traveler /TravelerReferences | <Associations> | |||||||||||
16 | Service Flight (Segment, SEG) reference | 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> | |||||||||||
17 | Service OriginDestination (Slice, OD) reference | 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> | |||||||||||
18 | Service Fare (FG) reference | Fare (FG) identifier specified in Fare (FG) block
| Associations[OtherAssociations] /OtherAssociations[Type='fare'] /OriginDestinationReferences | <Associations> |
ns3:Detail> |
Anchor | ||||
---|---|---|---|---|
|
.
/Envelope /
Body Body /
ServicePriceRSSeatAvailabilityRS/DataLists /
AnonymousTravelerListSeatList/
AnonymousTravelerSeats (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example | |
---|---|---|---|---|---|---|---|---|
1 | Passenger (SH) IDSeat Reference | " | SHR" + | sequence number of passenger tag@ObjectKey | <AnonymousTraveler ObjectKey="SH1"> | |||
2 | Passenger Type Code |
| PTC | <PTC>ADT</PTC> |
integer - specify row for seat "S" + 1 letter - specify location for seat for exapmle, R1SA | @ListKey | <ns3:Seats ListKey="R3SA"> |
2 | Price Reference |
/Envelope /Body /ServicePriceRS /DataLists /FareList /FareGroup (Multiple)
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Flight (Segment, SEG) reference | Flight (Segment, SEG) identifier specified in Flight (Segment, SEG) block | @refs | <FareGroup refs="SEG1" ListKey="FG1"> | |||||||||
2 | Fare IDLink seat to Service Option " | FGSR" + sequence number of | fareservice tag | @ListKey | <FareGroup@refs | <ns3:Seats refs=" | SEG1SR3" | ListKey=" | FG1R1SC"> | ||||
3 | Fare CodeLocation Column | "ANY" | Static. Required by NDC Scheme validation only | Fare /FareCode /Code | <Code>ANY</Code> | ||||||||
4 | Fare Family name | Possible values:
| Fare /FareCode /Definition | <Definition>BASICECONOMY</Definition> | |||||||||
5 | Fare Basis Code | Format: A-Z | FareBasisCode | <Code>QBSOW</Code> |
/Envelope /Body /ServicePriceRS /DataLists /FlightSegmentList /FlightSegment (Multiple)
"SEG" + sequence number of segment tag
Format: HH:MM
IATA airline code
Marketing carrier flight number
Integer
All "0"s before the number will be excluded
Operating carrier IATA airline code
IATA airline code
Operating carrier flight number
Integer
All "0"s before the number will be excluded
Aircraft code
IATA aircraft code
Airline Equipment Code
Model of aircraft
<AirlineEquipCode>Boeing 737-800</AirlineEquipCode>
/Envelope /Body /ServicePriceRS /DataLists /OriginDestinationList /OriginDestination (Multiple)
1 letter - specify location column for seat | Location/Column | <ns3:Column>A</ns3:Column> | |||||
4 | Location Row number | integer - specify row for seat | Location/Row/Number | <ns3:Row> | |||
5 | Seat Characteristics | Characteristic code:
| Characteristics/Characteristic | <ns3:Characteristic> | |||
# | Description | Mand | Mult | Default | Ref/Format/Desc | xPath | Example |
---|---|---|---|---|---|---|---|
1 | OriginDestination (Slice, OD) ID | "OD" + sequence number of slice tag | @OriginDestinationKey | <OriginDestination OriginDestinationKey="OD1"> | |||
2 | Departure IATA airport code | Departure IATA airport code for the first segment of the slice | DepartureCode | <DepartureCode>DME</DepartureCode> | |||
3 | Arrival IATA airport code | Arrival IATA airport code for the last segment of the slice | ArrivalCode | <ArrivalCode>OVB</ArrivalCode> | |||
4 | Flight (Segment, SEG) references | 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
| FlightReferences | <FlightReferences>SEG1 SEG2</FlightReferences>