Versions Compared

Key

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

User Guidance - Service Input Parameters

Input Parameters

Type

Optional/Mandatory

Request Object

SeatAvailabilityRQ

M

...

<Query>

XML Example for Query Object

SeatAvailability request for selected flights in the Selected Offer

Code Block
languagexml
<ns:Query>
      <ns:Offer OfferID="OF1-eJx9zkEKwjAUBNATWfKn-cnPMtYWXNhijWBWc-9bmCBSdeEsB.Yx4kUQJQ7inTCVPG.JojGYKVwLH1di8EznJXO6b5zGdVkvhT2CRuMtsy4YtOtxkA8uslrpdGycBYXtnAAs4yy-niE0rxDsTTv35RkrVh..PKvNfs-5f17CG6R7AvtjPfI_" Owner="AIRLINE CODE" ResponseID="tx-08-201-f7e19798-c640-48e4">
       	  <ns:SegmentID>V1_SEG.1</ns:SegmentID>
          <ns:SegmentID>V1_SEG.2</ns:SegmentID>
      </ns:Offer>
</ns:Query>

SeatAvailability request for all flights in the Selected Offer

Code Block
languagexml
<ns:Query>
      <ns:Offer OfferID="OF1-eJx9zkEKwjAUBNATWfKn-cnPMtYWXNhijWBWc-9bmCBSdeEsB.Yx4kUQJQ7inTCVPG.JojGYKVwLH1di8EznJXO6b5zGdVkvhT2CRuMtsy4YtOtxkA8uslrpdGycBYXtnAAs4yy-niE0rxDsTTv35RkrVh..PKvNfs-5f17CG6R7AvtjPfI_" Owner="AIRLINE CODE" ResponseID="tx-08-201-f7e19798-c640-48e4">
      </ns:Offer>
</ns:Query>

Elements

Details

Mandatory/Optional

Query

Core Query for SeatAvailabilty

M

Offer

To get a Seat Info using shortsell, the client should use this tag to provide details.

M

OfferID (Attribute)

This is the OfferID returned in AirShoppingRS for the Selected offer the customer wishes to book the flight.

Tip

Mapping Logic: From the selected Offer of AirShoppingRS

Xpath:/AirShoppingRS/OffersGroup/AirlineOffers/Offer/OfferID (Attribute)

M

ResponseID (Attribute)

ResponseID value

Info

This response ID will be available in AirShoppingRS in future release.

Now dummy response value can be set in this attribute field.

Example: "tx-08-201-f7e19798-c640-48e4"

M

Owner (Attribute)

Should be always set to Airline Code

M

SegmentID

Reference to the segment for which seat maps are required.
The SegmentID can be obtained from the previous service.
The absence of this element is equivalent to an all-segments request.

Info

This SegmentID information is given to filter the segment wise Seat Map offers from a multiple segment itinerary.

SegmentID can be obtained from the AirShoppingRS in case of OrderCreation Flow.

Note

General Recommendation is to trigger SeatAvailabilityRQ with single segment.

Requested flight segment needs to Should be part of the OfferId.

Tip

Mapping Logic: Segment details of selected Offer from AirShoppingRS.

Xpath:/AirShoppingRS/DataLists/FlightSegmentList/FlightSegment/SegmentKey (Attribute)

O

<DataLists>

Elements

Details

Mandatory/Optional

PassengerList

Passenger data list definition/details.

M

Code Block
languagexml
<ns:DataLists>
    <ns:PassengerList>
        <ns:Passenger PassengerID = "V1_PAX.1">
            <ns:PTC>ADT</ns:PTC>
        </ns:Passenger>
        <ns:Passenger PassengerID = "V1_PAX.2">
            <ns:PTC>CHD</ns:PTC>
        </ns:Passenger>
    </ns:PassengerList>
</ns:DataLists>

Passenger

Any person except members of the crew carried or to be carried with the consent of the carrier, on board of any transport vehicle such as aircraft, train, bus, ship.

M

PassengerID (Attribute)

Uniquely identifies a Passenger within the context of one message.

Example: V1_PAX.1, V1_PAX.2 ,V1_PAX.3

M

PTC

Type code applying to the Passenger which typically drives pricing.

Example: ADT, CHD, INF

M

...