SeatAvailability
A SeatAvailability
request is optional as part of the selling flow. The prices returned depend on
Request elements
Modifying existing orders
A dedicated NDC endpoint exists for servicing existing orders. Only use the endpoint below for new orders.
SeatAvailability sample
- Request
- Response
- Errors
POST /api/Selling/r3.x/v21.3/SeatAvailability
<IATA_SeatAvailabilityRQ xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersMessage">
<DistributionChain>
<DistributionChainLink xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">
<Ordinal>1</Ordinal>
<OrgRole>Seller</OrgRole>
<ParticipatingOrg>
<OrgID>101234567</OrgID>
</ParticipatingOrg>
</DistributionChainLink>
</DistributionChain>
<PayloadAttributes>
<VersionNumber xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">21.3</VersionNumber>
</PayloadAttributes>
<Request>
<SeatAvailCoreRequest xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">
<OfferRequest>
<Offer>
<OfferID>0570781361_id-3be88b0c-a4ad-4f82-b73a-698a2f26a835-o-1</OfferID>
<OwnerCode>MX</OwnerCode>
</Offer>
</OfferRequest>
</SeatAvailCoreRequest>
</Request>
</IATA_SeatAvailabilityRQ>
401 Unauthorized
Symptoms
- Response header
WWW-Authenticate: Bearer error="invalid_token", error_description="The token expired at [timestamp]"
Remedy
- Perform a new authentication request and use the freshly issued token.
401 Access Denied
Symptoms
- Response header
WWW-Authenticate: AzureApiManagementKey
Remedy
- Provide a valid Azure API gateway key using an
Ocp-Apim-Subscription-Key
header