API definition for adding a bound after the last bound in the booking using OpenJaw’s NDC 18.2 API.

Note the following:

  • Adding the new segment is allowed only before 1st bound or after last bound

  • Adding the new segment between the bounds is not allowed

  • Itinerary type change may (but may not) be implicit

    • OW to RT

    • RT to MC

    • OW to MC

Message Flow

  1. OrderRetrieve

    • Retrieve the Order

  2. OrderReshop

    • Search new flight Offers given search criteria.

    • Price the selected offer.

    • The IATA_OrderReshopRQ/Request/UpdateOrder/ReshopOrder/ServiceOrder/AddOfferItems/FlightCriteria/OriginDestCriteria/OriginDestID is not specified to indicate that this bound is to be added. Order of bound in relation to an existing bound (same information) will determine if it is before or after.

    • 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

    • Execute the change.

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>
<RetailPartnerID>SGMGB</RetailPartnerID>
</RetailPartner>
</Sender>
</Party>
<PayloadAttributes>
<PrimaryLangID>en</PrimaryLangID>
<VersionNumber>18.2</VersionNumber>
</PayloadAttributes>
<PointOfSale>
<Country>
<CountryCode>GB</CountryCode>
</Country>
</PointOfSale>
<Request>
<OrderFilterCriteria>
<Order>
<OrderID>3TCTA9P</OrderID>
<OwnerCode>NH</OwnerCode>
</Order>
</OrderFilterCriteria>
</Request>
</IATA_OrderRetrieveRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAOrderViewRS

Original Order

IATAOrderReshop (Flight Search) → Add Bound After

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>
<!-- Schema required element, leave it as empty -->
<ContactInfo/>
<RetailPartnerID>SGMGB</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>3TCTA9P</OrderRefID>
<ReshopParameters/>
<UpdateOrder>
<ReshopOrder>
<ServiceOrder>
<AddOfferItems>
<FlightCriteria>
<OriginDestCriteria>
<DestArrivalCriteria>
<IATALocationCode>HND</IATALocationCode>
</DestArrivalCriteria>
<OriginDepCriteria>
<Date>2020-10-25</Date>
<IATALocationCode>FRA</IATALocationCode>
</OriginDepCriteria>
<OriginDestID>OD-2</OriginDestID>
</OriginDestCriteria>
<OriginDestCriteria>
<CalendarDateCriteria>
<DaysAfterNumber>1</DaysAfterNumber>
<DaysBeforeNumber>1</DaysBeforeNumber>
</CalendarDateCriteria>
<DestArrivalCriteria>
<IATALocationCode>CTS</IATALocationCode>
</DestArrivalCriteria>
<OriginDepCriteria>
<Date>2020-10-28</Date>
<IATALocationCode>HND</IATALocationCode>
</OriginDepCriteria>
</OriginDestCriteria>
<!-- Note that no OriginDestID is set to add new OD after the OD-2-->
</FlightCriteria>
<Paxs>
<Pax>
<PaxID>PAX-1</PaxID>
<PTC>ADT</PTC>
</Pax>
<Pax>
<PaxID>PAX-2</PaxID>
<PTC>ADT</PTC>
</Pax>
</Paxs>
<ShoppingCriteria>
<CabinTypeCriteria>
<CabinTypeCode>5</CabinTypeCode>
</CabinTypeCriteria>
</ShoppingCriteria>
</AddOfferItems>
<DeleteOrderItem>
<OrderItemRefID>1000</OrderItemRefID>
</DeleteOrderItem>
</ServiceOrder>
</ReshopOrder>
</UpdateOrder>
</Request>
</IATA_OrderReshopRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAOrderReshopRS

Flight Search Response

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>b525e2c0-5dbd-41b0-a8e2-4b8e3a72b45d</ojt:ShoppingResponseRefID>
</ojt:SelectedOffer>
</ojt:Extension>
</AugmentationPoint>
<Party>
<Sender>
<RetailPartner>
<!-- Schema required element, leave it as empty -->
<ContactInfo/>
<RetailPartnerID>SGMGB</RetailPartnerID>
</RetailPartner>
</Sender>
</Party>
<PayloadAttributes>
<PrimaryLangID>en</PrimaryLangID>
<VersionNumber>18.2</VersionNumber>
</PayloadAttributes>
<PointOfSale>
<Country>
<CountryCode>GB</CountryCode>
</Country>
</PointOfSale>
<Request>
<OrderRefID>3TCTA9P</OrderRefID>
<ReshopParameters/>
<UpdateOrder>
<ReshopOrder>
<ServiceOrder/>
</ReshopOrder>
</UpdateOrder>
</Request>
</IATA_OrderReshopRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAOrderReshopRS

Reshop Reprice Flight

IATAOrderChange→ Flight Rebook - Additional Collection

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>SGMGB</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>1c1467cb-0208-41fd-8142-a9f8799c0aae</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>30</AgeMeasure>
<PaxID>PAX-2</PaxID>
<PTC>ADT</PTC>
</Pax>
</PaxList>
</DataLists>
<Order>
<OrderID>3TCTA9P</OrderID>
<OwnerCode>NH</OwnerCode>
</Order>
<PaymentInfo>
<Amount CurCode="GBP">526.20</Amount>
<PaymentInfoID>PAYMENT-2</PaymentInfoID>
<PaymentMethod>
<PaymentCard>
<CardBrandCode>VI</CardBrandCode>
<CardHolderName>NDC Module</CardHolderName>
<CardNumber>4512340621901233</CardNumber>
<CardSecurityCode>123</CardSecurityCode>
<CardTypeText>CC</CardTypeText>
<ExpirationDate>1220</ExpirationDate>
</PaymentCard>
</PaymentMethod>
<TypeCode>CC</TypeCode>
</PaymentInfo>
</Request>
</IATA_OrderChangeRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAOrderViewRS

Rebook Itinerary Order

Rebooked Itinerary

Logs