Description:

API definition for changing RBD for the itinerary which is more expensive fare with penalty with an additional collection using 3DS Payment in the booking via OpenJaw’s NDC 18.2 API.

Message Flow

  1. OrderRetrieve

    • Retrieve the Order

  2. OrderReshop

    • Search new flight Offers given search criteria.

    • Price the selected offer.

    • Payment amount due is calculated using the sum of the positive AddOfferItem’s in Reshop Offer as per the element IATA_OrderReshopRS/Response/ReshopResults/ReshopOffers/Offer/AddOfferItem/DifferentialAmountDue/Amount

      • DifferentialAmountDue/Amount < 0 → Refund due

      • DifferentialAmountDue/Amount = 0 → No Change

      • DifferentialAmountDue/Amount > 0 → Payment Due.

    • Total cost of Offer defined as per IATA_OrderReshopRS/Response/ReshopResults/ReshopOffers/Offer/AddOfferItem/Price/TotalAmount.

  3. OrderReshop

    • Price the selected offer.

    • Payment amount due is calculated using the sum of the positive AddOfferItem’s in Reshop Offer as per the element IATA_OrderReshopRS/Response/ReshopResults/ReshopOffers/Offer/AddOfferItem/DifferentialAmountDue/Amount

      • DifferentialAmountDue/Amount < 0 → Refund due

      • DifferentialAmountDue/Amount = 0 → No Change

      • DifferentialAmountDue/Amount > 0 → Payment Due.

    • Total cost of Offer defined as per IATA_OrderReshopRS/Response/ReshopResults/ReshopOffers/Offer/AddOfferItem/Price/TotalAmount.

  4. OrderChange (3DS Payment)

    • Authentication ID as per IATA_OrderViewRS/PaymentInfo/PaymentMethod/PaymentCard/SecurePayerAuthenticationInstructions/AuthenticationTrxID

    • 3DS PAREQ returned to the user as per IATA_OrderViewRS/PaymentInfo/PaymentMethod/PaymentCard/SecurePayerAuthenticationInstructions/PayerAuthenticationRequestText

    • 3DS Redirect URL as per IATA_OrderViewRS/PaymentInfo/PaymentMethod/PaymentCard/SecurePayerAuthenticationInstructions/RedirectionURL

  5. OrderChange (PARES)

    • 3DS PARES supplied as per IATA_OrderChangeRQ/Request/PaymentInfo/PaymentMethod/PaymentCard/SecurePayerAuthentication/PayerAuthenticationResponseText

Samples

Order Setup

IATAOrderRetrieve

IATAOrderRetrieveRQ

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<IATA_OrderRetrieveRQ xmlns="http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderRetrieveRQ">
<Party>
<Sender>
<RetailPartner>
<ContactInfo/>
<RetailPartnerID>NDC03GBP</RetailPartnerID>
</RetailPartner>
</Sender>
</Party>
<PayloadAttributes>
<PrimaryLangID>en</PrimaryLangID>
<VersionNumber>18.2</VersionNumber>
</PayloadAttributes>
<PointOfSale>
<Country>
<CountryCode>GB</CountryCode>
</Country>
</PointOfSale>
<Request>
<OrderFilterCriteria>
<Order>
<OrderID>QC9RM8V</OrderID>
<OwnerCode>NH</OwnerCode>
</Order>
</OrderFilterCriteria>
</Request>
</IATA_OrderRetrieveRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAViewRS

Original Order

IATAOrderReshop (Flight Search)

IATAOrderReshopRQ

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<IATA_OrderReshopRQ xmlns="http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderReshopRQ">
<Party>
<Sender>
<RetailPartner>
<ContactInfo/>
<RetailPartnerID>NDC03GBP</RetailPartnerID>
</RetailPartner>
</Sender>
</Party>
<PayloadAttributes>
<PrimaryLangID>en</PrimaryLangID>
<VersionNumber>18.2</VersionNumber>
</PayloadAttributes>
<PointOfSale>
<Country>
<CountryCode>GB</CountryCode>
</Country>
<Device>
<DeviceCode>123</DeviceCode>
</Device>
</PointOfSale>
<Request>
<OrderRefID>QC9RM8V</OrderRefID>
<ReshopParameters/>
<UpdateOrder>
<ReshopOrder>
<ServiceOrder>
<AddOfferItems>
<FlightCriteria>
<!--Date Change -->
<OriginDestCriteria>
<DestArrivalCriteria>
<IATALocationCode>HND</IATALocationCode>
</DestArrivalCriteria>
<OriginDepCriteria>
<Date>2020-12-15</Date>
<IATALocationCode>LHR</IATALocationCode>
</OriginDepCriteria>
<OriginDestID>OD-1</OriginDestID>
</OriginDestCriteria>
<OriginDestCriteria>
<DestArrivalCriteria>
<IATALocationCode>LHR</IATALocationCode>
</DestArrivalCriteria>
<OriginDepCriteria>
<Date>2020-12-30</Date>
<IATALocationCode>HND</IATALocationCode>
</OriginDepCriteria>
<OriginDestID>OD-2</OriginDestID>
</OriginDestCriteria>
</FlightCriteria>
<Paxs>
<Pax>
<PaxID>PAX-1</PaxID>
<PTC>ADT</PTC>
</Pax>
<Pax>
<PaxID>PAX-2</PaxID>
<PTC>CHD</PTC>
</Pax>
</Paxs>
</AddOfferItems>
<DeleteOrderItem>
<OrderItemRefID>1000</OrderItemRefID>
</DeleteOrderItem>
</ServiceOrder>
</ReshopOrder>
</UpdateOrder>
</Request>
</IATA_OrderReshopRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAOrderReshopRS (Flight Search)

IATAOrderReshop (Flight Reprice)

IATAOrderReshopRQ

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<IATA_OrderReshopRQ xmlns="http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderReshopRQ" xmlns:ojt="http://www.iata.org/IATA/2015/00/2018.2/OJT/IATA_Extension">
<AugmentationPoint>
<ojt:Extension>
<ojt:SelectedOffer>
<ojt:OfferRefID>OFF-412101</ojt:OfferRefID>
<ojt:ShoppingResponseRefID>6b146287-5d30-4cbb-b3a1-56cee1a28abd</ojt:ShoppingResponseRefID>
</ojt:SelectedOffer>
</ojt:Extension>
</AugmentationPoint>
<Party>
<Sender>
<RetailPartner>
<!-- Schema required element, leave it as empty -->
<ContactInfo/>
<RetailPartnerID>NDC03GBP</RetailPartnerID>
</RetailPartner>
</Sender>
</Party>
<PayloadAttributes>
<PrimaryLangID>en</PrimaryLangID>
<VersionNumber>18.2</VersionNumber>
</PayloadAttributes>
<PointOfSale>
<Country>
<CountryCode>GB</CountryCode>
</Country>
</PointOfSale>
<Request>
<OrderRefID>QC9RM8V</OrderRefID>
<ReshopParameters/>
<UpdateOrder>
<ReshopOrder>
<ServiceOrder/>
</ReshopOrder>
</UpdateOrder>
</Request>
</IATA_OrderReshopRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAOrderReshopRS

IATAOrderChange (Rebook Itinerary 3DS)

IATAOrderChangeRQ

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<IATA_OrderChangeRQ xmlns="http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderChangeRQ">
<Party>
<Sender>
<RetailPartner>
<RetailPartnerID>NDC03GBP</RetailPartnerID>
</RetailPartner>
</Sender>
</Party>
<PayloadAttributes>
<PrimaryLangID>en</PrimaryLangID>
<VersionNumber>18.2</VersionNumber>
</PayloadAttributes>
<PointOfSale>
<Country>
<CountryCode>GB</CountryCode>
</Country>
<Device>
<DeviceCode>123</DeviceCode>
</Device>
</PointOfSale>
<Request>
<ChangeOrder>
<UpdateOrderItem>
<AcceptOffer>
<SelectedOffer>
<OfferRefID>OFF-412101</OfferRefID>
<OwnerCode>NH</OwnerCode>
<SelectedOfferItem>
<OfferItemRefID>OFFIT-FLT-1</OfferItemRefID>
<PaxRefID>PAX-1</PaxRefID>
<PaxRefID>PAX-2</PaxRefID>
</SelectedOfferItem>
<ShoppingResponseRefID>d3205ec4-9b5b-4330-ba4d-b3258e93ba13</ShoppingResponseRefID>
</SelectedOffer>
</AcceptOffer>
<DeleteOrderItem>
<OrderItemRefID>1000</OrderItemRefID>
</DeleteOrderItem>
</UpdateOrderItem>
</ChangeOrder>
<DataLists>
<PaxList>
<Pax>
<AgeMeasure>30</AgeMeasure>
<PaxID>PAX-1</PaxID>
<PTC>ADT</PTC>
</Pax>
<Pax>
<AgeMeasure>10</AgeMeasure>
<PaxID>PAX-2</PaxID>
<PTC>CHD</PTC>
</Pax>
</PaxList>
</DataLists>
<Order>
<OrderID>QC9RM8V</OrderID>
<OwnerCode>NH</OwnerCode>
</Order>
<PaymentInfo>
<Amount CurCode="GBP">2229.58</Amount>
<PaymentInfoID>PAYMENT-3</PaymentInfoID>
<PaymentMethod>
<PaymentCard>
<CardBrandCode>CA</CardBrandCode>
<CardHolderName>NDCModule</CardHolderName>
<CardNumber>5499830000000015</CardNumber>
<CardSecurityCode>210</CardSecurityCode>
<CardTypeText>CC</CardTypeText>
<ExpirationDate>1220</ExpirationDate>
</PaymentCard>
</PaymentMethod>
<TypeCode>CC</TypeCode>
</PaymentInfo>
</Request>
</IATA_OrderChangeRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAOrderViewRS (3DS)

3DS PAREQ

IATAOrderChange (3DS PARES)

IATAOrderChangeRQ

<?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<IATA_OrderChangeRQ xmlns="http://www.iata.org/IATA/2015/00/2018.2/IATA_OrderChangeRQ">
<Party>
<Sender>
<RetailPartner>
<RetailPartnerID>NDC03GBP</RetailPartnerID>
</RetailPartner>
</Sender>
</Party>
<PayloadAttributes>
<EchoTokenText>123</EchoTokenText>
<PrimaryLangID>en</PrimaryLangID>
<RetransmissionInd>true</RetransmissionInd>
<SeqNumber>123456789</SeqNumber>
<Timestamp>2018-11-14T00:00:00</Timestamp>
<TrxID>123</TrxID>
<TrxStatusCode>Continuation</TrxStatusCode>
<VersionNumber>18.2</VersionNumber>
</PayloadAttributes>
<PointOfSale>
<Country>
<CountryCode>GB</CountryCode>
</Country>
<Device>
<DeviceCode>123</DeviceCode>
</Device>
</PointOfSale>
<Request>
<DataLists>
<ContactInfoList>
<ContactInfo>
<ContactInfoID>CONTACT-1</ContactInfoID>
<ContactTypeText>Primary</ContactTypeText>
<EmailAddress>
<EmailAddressText>rebook@openjawtech.com</EmailAddressText>
<LabelText>Work</LabelText>
</EmailAddress>
<Individual>
<Birthdate>1989-02-19</Birthdate>
<GenderCode>M</GenderCode>
<GivenName>Rajesh</GivenName>
<IndividualID>IDV-1</IndividualID>
<SuffixName>Jr</SuffixName>
<Surname>Koothrappali</Surname>
<TitleName>Mr</TitleName>
</Individual>
<Phone>
<AreaCodeNumber>456</AreaCodeNumber>
<CountryDialingCode>0086</CountryDialingCode>
<ExtensionNumber>001</ExtensionNumber>
<LabelText>4</LabelText>
<PhoneNumber>123456789</PhoneNumber>
</Phone>
<PostalAddress>
<BuildingRoomText>apartment</BuildingRoomText>
<CityName>Madrid</CityName>
<CountryCode>ES</CountryCode>
<CountryName>Spain</CountryName>
<CountrySubDivisionName>Madrid</CountrySubDivisionName>
<LabelText>AddressAtOrigin</LabelText>
<POBoxCode>Box 2</POBoxCode>
<PostalCode>28045</PostalCode>
<StreetText>Street Canto 22</StreetText>
</PostalAddress>
</ContactInfo>
</ContactInfoList>
</DataLists>
<Order>
<OrderID>QC9RM8V</OrderID>
<OwnerCode>NH</OwnerCode>
</Order>
<PaymentInfo>
<Amount CurCode="GBP">2229.58</Amount>
<ContactInfoRefID>CONTACT-1</ContactInfoRefID>
<PaymentInfoID>PAYMENT-3</PaymentInfoID>
<PaymentMethod>
<PaymentCard>
<CardBrandCode>CA</CardBrandCode>
<CardHolderName>NDCModule</CardHolderName>
<!-- 3DS Card Number -->
<CardNumber>5499830000000015</CardNumber>
<CardSecurityCode>210</CardSecurityCode>
<CardTypeText>CC</CardTypeText>
<ExpirationDate>1220</ExpirationDate>
<SecurePayerAuthentication>
<PayerAuthenticationResponseText>eJzdWFmzokgWfq9fUXH70ahid+mwnEhWQRNMwAXe2GRfZBH01w9q963bNdUT3f00MUYQJh8nT571y4Tlv4Y8+3wN6iYui29vxFf87XNQeKUfF+G3t70pfpm//Wv1aWlGdRDwRuB1d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p0O0JFcqCn7n54Wad9MzmWN4+KbhztEcKHynDBP5TH6IFMUT7fHoNdjftCC78xJ9LVcfe+W17nd/NMYn9k0oSlg17sQR7EcEd3Q9uvaEdYKkdE8HjXNZd+d70/B/oXBBZBPgHJbcTfgtmE3CCM6I9h0LKkXmNkhuUbMIvb7ro2pPbQVjU2oxqJcArwsyYofrinILhWjY4PtjMtW7sKtKPsWDdp9SeDLp9Ie2uC6rZGkXeId/yFlo3m0XS1ROwFhzWSqFM+mGrBOFGMmNj4FBm034ta4QmxrbVSufdJZNzmx94clddqbRLFOHbX6SInh8pIs5/RhHO/w9FwLuaPShCvj8x/h3rxxZ9Py2wEeT0TP7gXwhBAkiog37M/8O/DT9W3O+7OdRRL7zwLQ/axKNg60kisz0ektHX9xiAvl/vR3yfL64+LySQEz7GVQG6tX/MG2PUjBewfo/XjUlcEu9De/5jSbKvksQfJzwFlOPupRW916yrZNziMTRshQ6SssZRbq8x8jQRDAQO3O1G+1OOYhysJbstT0HZlIqychK7LaryjoFSHySDqRadVGwSJXHvTE7M2TvW3qNkaE2EMgbfpXFF1LdQyIhduz8o04uk+Z2Ql7zDgvRm+MHdLToObZPAb6ZgMLFtk9EecXD2cxu7981sDCsLgJTseVYbj17PnZsP0XF06gB6LOHFrqmjkg3JWS4Mbh+JTaLdwfnZ6gYUJB4cw/8u+58082e7/pba3RZRklpcpiy6ql8nck2eIy2XjPxwPRdIhuG0Psuk6V4ME8wdZnOt1DU6JWgyeNBQTtIsnZuaguEbOySRDdH0oLI3PJyjGxzPRX6v6IuSP/r4bnLanhitogvIgAEVvpWfwxtSK0a7sUfBbitWsng8VyfzbpOaUunOYuCJw0XGJB1Pdz9paez7+wL2/g7x/e3i+UXh+X3j8Qr88bvHp38DCMWesg</PayerAuthenticationResponseText>
</SecurePayerAuthentication>
</PaymentCard>
</PaymentMethod>
<TypeCode>CC</TypeCode>
</PaymentInfo>
</Request>
</IATA_OrderChangeRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAOrderViewRS (3DS PARES)

Rebook Itinerary

Logs