A possibility for a user to submit the corporate ID, the corporate account code and the fare type in the ArshoppingRQ, so that they can receive the corresponding private fare rules linked to their account code.

Message Flow

  1. AirShoppingRQ - AirShoppingRS

  2. OfferPriceRQ - OfferPriceRS

  3. OrderCreateRQ - OrderViewRS

Order Setup

Required data

  • CorporateID

  • CorporateCode

  • FareType - padis 70j → published padis 758 → private

CorporateID, CorporateCode, FareType must be consistent through all messages during the flow.

IATAAirShopping

IATAAirShoppingRQ

<IATA_AirShoppingRQ xmlns="http://www.iata.org/IATA/2015/00/2018.2/IATA_AirShoppingRQ">
<Party>
<Participant>
<Corporation>
<CorporateCodeText>CODE</CorporateCodeText>
<CorporateID>123</CorporateID>
</Corporation>
</Participant>
<Sender>
<RetailPartner>
<ContactInfo/>
<RetailPartnerID>33</RetailPartnerID>
</RetailPartner>
</Sender>
</Party>
<PayloadAttributes>
<PrimaryLangID>ja</PrimaryLangID>
<VersionNumber>18.2</VersionNumber>
</PayloadAttributes>
<PointOfSale>
<Country>
<CountryCode>IE</CountryCode>
</Country>
</PointOfSale>
<Request>
<FlightCriteria>
<OriginDestCriteria>
<DestArrivalCriteria>
<IATALocationCode>DUB</IATALocationCode>
</DestArrivalCriteria>
<OriginDepCriteria>
<Date>2020-02-05</Date>
<IATALocationCode>AUH</IATALocationCode>
</OriginDepCriteria>
</OriginDestCriteria>
<OriginDestCriteria>
<DestArrivalCriteria>
<IATALocationCode>AUH</IATALocationCode>
</DestArrivalCriteria>
<OriginDepCriteria>
<Date>2020-02-12</Date>
<IATALocationCode>DUB</IATALocationCode>
</OriginDepCriteria>
</OriginDestCriteria>
</FlightCriteria>
<Paxs>
<Pax>
<PaxID>PAX-1</PaxID>
<PTC>ADT</PTC>
</Pax>
<Pax>
<PaxID>PAX-2</PaxID>
<PTC>ADT</PTC>
</Pax>
<Pax>
<PaxID>PAX-3</PaxID>
<PTC>CHD</PTC>
</Pax>
<Pax>
<PaxID>PAX-4</PaxID>
<PTC>CHD</PTC>
</Pax>
</Paxs>
<ResponseParameters>
<CurParameter>
<RequestedCurCode>EUR</RequestedCurCode>
</CurParameter>
</ResponseParameters>
<ShoppingCriteria>
<CabinTypeCriteria>
<CabinTypeCode>7</CabinTypeCode>
</CabinTypeCriteria>
<CarrierCriteria>
<Carrier>
<AirlineDesigCode>NH</AirlineDesigCode>
<DuplicateDesigInd>true</DuplicateDesigInd>
<Name>All Nippon Airways</Name>
</Carrier>
</CarrierCriteria>
<FareCriteria>
<FareTypeCode>758</FareTypeCode>
</FareCriteria>
</ShoppingCriteria>
</Request>
</IATA_AirShoppingRQ>

IATAAirShoppingRS

IATAOfferPrice

IATAOfferPriceRQ

A user may not provide the data in the cache flow - the fields will be set automatically from cache.

<IATA_OfferPriceRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRQ" xmlns="http://www.iata.org/IATA/2015/00/2018.2/IATA_OfferPriceRQ">
<Party>
<Participant>
<Corporation>
<CorporateCodeText>CODE</CorporateCodeText>
<CorporateID>123</CorporateID>
</Corporation>
</Participant>
<Sender>
<RetailPartner>
<RetailPartnerID>33</RetailPartnerID>
</RetailPartner>
</Sender>
</Party>
<PayloadAttributes>
<AltLangID>en</AltLangID>
<EchoTokenText>EchoTokenTestValue</EchoTokenText>
<PrimaryLangID>en</PrimaryLangID>
<RetransmissionInd>true</RetransmissionInd>
<SeqNumber>12345</SeqNumber>
<Timestamp>2019-03-01T00:00:00</Timestamp>
<TrxStatusCode>1234</TrxStatusCode>
<VersionNumber>18.2</VersionNumber>
</PayloadAttributes>
<PointOfSale>
<Country>
<CountryCode>IE</CountryCode>
</Country>
</PointOfSale>
<Request>
<DataLists>
<PaxList>
<Pax>
<AgeMeasure>30</AgeMeasure>
<PaxID>PAX-1</PaxID>
<PTC>ADT</PTC>
</Pax>
<Pax>
<AgeMeasure>30</AgeMeasure>
<PaxID>PAX-2</PaxID>
<PTC>ADT</PTC>
</Pax>
<Pax>
<AgeMeasure>5</AgeMeasure>
<PaxID>PAX-3</PaxID>
<PTC>CHD</PTC>
</Pax>
<Pax>
<AgeMeasure>5</AgeMeasure>
<PaxID>PAX-4</PaxID>
<PTC>CHD</PTC>
</Pax>
</PaxList>
</DataLists>
<OfferPriceParameters>
<CurParameter>
<CurCode>EUR</CurCode>
</CurParameter>
</OfferPriceParameters>
<PricedOffer>
<SelectedOffer>
<OfferRefID>OFF-411114</OfferRefID>
<OwnerCode>NH</OwnerCode>
<SelectedOfferItem>
<OfferItemRefID>OFFIT-FLT-411114</OfferItemRefID>
<PaxRefID>PAX-1</PaxRefID>
<PaxRefID>PAX-2</PaxRefID>
<PaxRefID>PAX-3</PaxRefID>
<PaxRefID>PAX-4</PaxRefID>
</SelectedOfferItem>
<ShoppingResponseRefID>a7141593-ec79-418a-8584-b59a47a996ec</ShoppingResponseRefID>
</SelectedOffer>
</PricedOffer>
<ShoppingCriteria>
<FareCriteria>
<FareTypeCode>758</FareTypeCode>
</FareCriteria>
</ShoppingCriteria>
</Request>
</IATA_OfferPriceRQ>

IATAOfferPriceRS

IATAOrderCreate

IATAOrderCreateRQ

The data is always provided automatically from the cache - there is no need to add it manually.

<IATA_OrderCreateRQ xmlns="http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderCreateRQ">
<Party>
<Sender>
<RetailPartner>
<RetailPartnerID>33</RetailPartnerID>
</RetailPartner>
</Sender>
</Party>
<PayloadAttributes>
<EchoTokenText>123456</EchoTokenText>
<PrimaryLangID>ja</PrimaryLangID>
<TrxStatusCode>Start</TrxStatusCode>
<VersionNumber>18.2</VersionNumber>
</PayloadAttributes>
<PointOfSale>
<Country>
<CountryCode>JP</CountryCode>
</Country>
<Device>
<DeviceCode>123</DeviceCode>
</Device>
</PointOfSale>
<Request>
<CreateOrder>
<SelectedOffer>
<OfferRefID>OFF-411114-1</OfferRefID>
<OwnerCode>NH</OwnerCode>
<SelectedOfferItem>
<OfferItemRefID>OFFIT-FLT-12345</OfferItemRefID>
<PaxRefID>PAX-1</PaxRefID>
</SelectedOfferItem>
<ShoppingResponseRefID>267460e1-45aa-4821-b566-7788f7ccfc1d</ShoppingResponseRefID>
<TotalOfferPriceAmount>1489.70</TotalOfferPriceAmount>
</SelectedOffer>
</CreateOrder>
<DataLists>
<ContactInfoList>
<ContactInfo>
<ContactInfoID>CON-ADT-1</ContactInfoID>
<EmailAddress>
<EmailAddressText>ndcmodule@openjawtech.com</EmailAddressText>
</EmailAddress>
<Individual>
<GivenName>Nick</GivenName>
<IndividualID>IDV-001</IndividualID>
<SuffixName>M</SuffixName>
<Surname>Blaine</Surname>
<TitleName>Mr</TitleName>
</Individual>
<Phone>
<AreaCodeNumber>456</AreaCodeNumber>
<CountryDialingCode>0086</CountryDialingCode>
<LabelText>4</LabelText>
<PhoneNumber>123456789</PhoneNumber>
</Phone>
<PostalAddress>
<CityName>Madrid</CityName>
<CountryCode>AA</CountryCode>
<CountryName>Spain</CountryName>
<CountrySubDivisionName>MAD</CountrySubDivisionName>
<PostalCode>28045</PostalCode>
<StreetText>Street Canto 11</StreetText>
</PostalAddress>
</ContactInfo>
</ContactInfoList>
<PaxList>
<Pax>
<AgeMeasure>30</AgeMeasure>
<Birthdate>1989-02-19</Birthdate>
<CitizenshipCountryCode>CN</CitizenshipCountryCode>
<ContactInfoRefID>CON-ADT-1</ContactInfoRefID>
<IdentityDoc>
<CitizenshipCountryCode>CN</CitizenshipCountryCode>
<ExpiryDate>2025-02-19</ExpiryDate>
<IdentityDocID>123456789</IdentityDocID>
<IdentityDocTypeCode>PT</IdentityDocTypeCode>
</IdentityDoc>
<Individual>
<Birthdate>1989-02-19</Birthdate>
<GivenName>Nick</GivenName>
<IndividualID>IDV-001</IndividualID>
<SuffixName>ENG</SuffixName>
<Surname>Blaine</Surname>
<TitleName>Mr</TitleName>
</Individual>
<PaxID>PAX-1</PaxID>
<PTC>ADT</PTC>
</Pax>
</PaxList>
</DataLists>
<PaymentInfo>
<Amount CurCode="JPY">56096.0</Amount>
<ContactInfoRefID>CON-ADT-1</ContactInfoRefID>
<PaymentInfoID>1</PaymentInfoID>
<PaymentMethod>
<PaymentCard>
<CardBrandCode>VI</CardBrandCode>
<CardHolderName>NDCModule</CardHolderName>
<CardNumber>4263982640269299</CardNumber>
<CardSecurityCode>123</CardSecurityCode>
<CardTypeText>CC</CardTypeText>
<ExpirationDate>1220</ExpirationDate>
</PaymentCard>
</PaymentMethod>
<TypeCode>CC</TypeCode>
</PaymentInfo>
</Request>
</IATA_OrderCreateRQ>

IATAOrderViewRS

  • The Private Fares info won’t be visible in OrderViewRS

Errors

There’s a validation performed during each request message. If CorporateID, CorporateCode, FareType are not consistent between the requests there the errors will be thrown then:

INVALID_OFFICE_ID - "79A" - "Invalid office identification"

<ndc:Error>
<ndc:Code>79A</ndc:Code>
<ndc:DescText>Invalid office identification</ndc:DescText>
<ndc:TypeCode>Invalid office identification</ndc:TypeCode>
</ndc:Error>

INVALID_CORPORATE_CODE - "70" - "Invalid airline accounting code"

<ndc:Error>
<ndc:Code>70</ndc:Code>
<ndc:DescText>Invalid airline accounting code</ndc:DescText>
<ndc:TypeCode>Invalid airline accounting code</ndc:TypeCode>
</ndc:Error>

INVALID_FARE_TYPE - "73Y" - "No eligible fare found for requested fare type"

<ndc:Error>
<ndc:Code>73Y</ndc:Code>
<ndc:DescText>No eligible fare found for requested fare type</ndc:DescText>
<ndc:TypeCode>No eligible fare found for requested fare type</ndc:TypeCode>
</ndc:Error>

Logs