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
1Version(tick)(error)(error)

Version of used XSD for SeatAvailabilityRS

@Version
<ns3:SeatAvailabilityRS Version="">
2Document(tick)(error)(error)

Static. Required by NDC Scheme validation only

Document
<Document/>
3Success flag(tick)(error)(error)Shows in case of success (If there're no errors in RS)Success
<Success/>
4
SeatAvailabilityRS| v0.52 | servicePrice operation
Cabin(tick)
(error)
(tick)(error)Check 
SeatAvailabilityRS| v0.52 | servicePrice operation6SeatAvailabilityRS| v0.52 | servicePrice operation(error)(tick)(error)Check Fare (FG) for more output detailsDataLists /FareList /FareGroup
<FareGroup refs="SEG1" ListKey="FG1"> ... </FareGroup>
7Flight (Segment, SEG)(error)(tick)(error)
Service option (SR) for more output detailsServices /Service
<Service> ... </Service>
5
SeatAvailabilityRS| v0.52 | servicePrice operation(error)(tick)(error)Check SeatAvailabilityRS| v0.52 | servicePrice operation for more output detailsDataLists /AnonymousTravelerList /AnonymousTraveler
<AnonymousTraveler ObjectKey="SH1"> ... </AnonymousTraveler>

Flight segment

 (tick)(tick)(error)

DataLists /OriginDestinationList /OriginDestination

<OriginDestination OriginDestinationKey="OD1"> ... </OriginDestination>
9
One or more consecutive legs having the same flight number. Check glossary for more info.

Check Flight (Segment, SEG) for more output details

DataLists /FlightSegmentList /FlightSegment
<FlightSegment SegmentKey="SEG1"> ... </FlightSegment>
8SeatAvailabilityRS| v0.52 | servicePrice operation(error)(tick)(error)

One for One Way trip, Two for Round Trip, etc. Check glossary for more info

Check SeatAvailabilityRS| v0.52 | servicePrice operation for more output details

6
Media(error)(tick)(error)

MediaList contain image of plane and ancillaries services

MediaList/Media/MediaLink
<ns3:MediaLink> ... </ns3:MediaLink>
7Service(tick)(tick)(error)

 

 
8Seats(tick)(tick)(error)

 

 

Anchor
Service option (SR)
Service option (SR)
Service option (SR)
/Envelope /Body /ServicePriceRS /Services /Service (Multiple)

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Service Option ID(tick)(error)(error)

"SR" + sequence number of service tag

ServiceID
<ServiceID Owner="S7">SR1</ServiceID>
2Service Owner(tick)(error)"S7"

Static. Required by NDC Scheme validation only

ServiceID /@Owner
<ServiceID Owner="S7">SR1</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>
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
  • preferential

  • comfortable
  • business

Available only for seat

Descriptions /Description[substring-before(@ObjectKey,'_')='type'] /Text
<Description ObjectKey="type_SR67">
   <Text>comfortable</Text>
</Description>

7Service Option Location(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>
9Service 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 Code="RUB">0</Total>
10Service Option price in sale currency, amount(tick)(error)(error)DecimalPrice /Total
<Total Code="RUB">0</Total>
11Service Option base price in sale currency, currency code(error)(error)(error)

3-char ISO 4217 currency code


Price /Details /Detail[Application="Base"] /Amount /@Code
 <Detail>
<Application>base fare</Application>
<Amount Code="RUB">850.0</Amount>
</Detail>
12Service 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 percent</Application>
<Amount Code="percent">100</Amount>
</Detail>
13Service 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 Code="RUB">800</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 SeatAvailabilityRS| v0.52 | servicePrice operationPTCs (SH) reference

(error)(error)(error)

PTCs (SH) identifier specified in SeatAvailabilityRS| v0.52 | servicePrice operationPTCs (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 SeatAvailabilityRS| v0.52 | servicePrice operationOriginDestination (Slice, OD) reference

(error)(error)(error)

OriginDestination (Slice, OD) identifier specified in SeatAvailabilityRS| v0.52 | servicePrice operationOriginDestination (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 SeatAvailabilityRS| v0.52 | servicePrice operationFare (FG) reference

(error)(error)(error)

Fare (FG) identifier specified in SeatAvailabilityRS| v0.52 | servicePrice operationFare (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
PTCs (SH)
PTCs (SH)
PTCs (SH)
/Envelope /Body /ServicePriceRS /DataLists /AnonymousTravelerList /AnonymousTraveler (Multiple)

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Passenger (SH) ID(tick)(error)(error)

"SH" + sequence number of passenger tag

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

  • CHD — Child

  • INF — Infant in a Lap

PTC
<PTC>ADT</PTC>

Anchor
Fare (FG)
Fare (FG)
Fare (FG)
/Envelope /Body /ServicePriceRS /DataLists /FareList /FareGroup (Multiple)

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1SeatAvailabilityRS| v0.52 | servicePrice operationFlight (Segment, SEG) reference(tick)(error)(error)Flight (Segment, SEG) identifier specified in Flight (Segment, SEG) block@refs
<FareGroup refs="SEG1" ListKey="FG1">
2Fare ID(tick)(error)(error)"FG" + sequence number of fare tag@ListKey
<FareGroup refs="SEG1" ListKey="FG1">
3Fare Code(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>

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

#DescriptionMandMultDefaultRef/Format/DescxPathExample
1Flight (Segment, SEG) ID(tick)(error)(error)

"SEG" + sequence number of segment tag

@SegmentKey<FlightSegment SegmentKey="SEG1"> ... </FlightSegment>
2Departure IATA airport code(tick)(error)(error)IATA airport codeDeparture /AirportCode<AirportCode>OVB</AirportCode>
3Departure date (local)(tick)(error)(error)Format: YYYY-MM-DDDeparture /Date<Date>2016-08-21</Date>
4Departure time (local)(tick)(error)(error)

Format: HH:MM

Departure /Time<Time>00:00</Time>
5Arrival IATA airport code(tick)(error)(error)IATA airport codeArrival /AirportCode<AirportCode>KHV</AirportCode>
6Marketing carrier IATA airline code(tick)(error)(error)

IATA airline code

MarketingCarrier /AirlineID<AirlineID>S7</AirlineID>
7

Marketing carrier flight number

(tick)(error)(error)

Integer

All "0"s before the number will be excluded

MarketingCarrier /FlightNumber<FlightNumber>3507</FlightNumber>
8

Operating carrier IATA airline code

(tick)(error)(error)

IATA airline code

OperatingCarrier /AirlineID<AirlineID>S7</AirlineID>
9

Operating carrier flight number

(tick)(error)(error)

Integer

All "0"s before the number will be excluded

OperatingCarrier /FlightNumber<FlightNumber>3507</FlightNumber>
10

Aircraft code

(tick)(error)(error)

IATA aircraft code

Equipment/AircraftCode<AircraftCode>73H</AircraftCode>
11

Airline Equipment Code

(tick)(error)(error)

Model of aircraft

Equipment/AirlineEquipCode
<AirlineEquipCode>Boeing 737-800</AirlineEquipCode>

Anchor
OriginDestination (Slice, OD)
OriginDestination (Slice, OD)
OriginDestination (Slice, OD)
/Envelope /Body /ServicePriceRS /DataLists /OriginDestinationList /OriginDestination (Multiple)

#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>
4SeatAvailabilityRS| v0.52 | servicePrice operationFlight (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 SeatAvailabilityRS| v0.52 | servicePrice operationFlight (Segment, SEG) block

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

FlightReferences
<FlightReferences>SEG1 SEG2</FlightReferences>