OrderCreate
Request elements
Modifying existing orders
A dedicated NDC endpoint exists for servicing existing orders. Only use the endpoint below for new orders.
ServiceList sample
- Request
- Response
- Errors
POST /api/Selling/r3.x/v21.3/ServiceList
<IATA_ServiceListRQ 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></OrgID>
</ParticipatingOrg>
</DistributionChainLink>
</DistributionChain>
<PayloadAttributes>
<VersionNumber xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">21.3</VersionNumber>
</PayloadAttributes>
<Request>
<ServiceListCoreRequest xmlns="http://www.iata.org/IATA/2015/EASD/00/IATA_OffersAndOrdersCommonTypes">
<OfferRequest>
<Offer>
<OfferID>0570781361_id-3c33de9d-f491-4566-af36-e2b03a91f582-o-1</OfferID>
<OwnerCode>MX</OwnerCode>
</Offer>
</OfferRequest>
</ServiceListCoreRequest>
</Request>
</IATA_ServiceListRQ>
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