User stories

  • As an NDC seller, I want to be able to execute a voluntary cancellation of all flights, all passengers in the order so that I am able to perform the final user request.

  • As an NDC seller, I want to be able to execute a voluntary cancellation of partial flights, all passengers in the order so that I am able to perform the final user request.

  • As an NDC seller, I want to be able to execute a voluntary cancellation of all flights, partial passengers in the order so that I am able to perform the final user request.

  • As an NDC seller, I want to be able to send and OrderReshopRQ, in order to receive the cancel cost offers, so that I am able to perform the final user request.

  • As an NDC seller, I want to receive and OrderReshopRS with the cancel cost offers, so I am able to show the cancellation cost to the final user.

  • As an NDC seller, I want to execute an OrderChangeRQ to execute the flight cancellation so that I am able to perform the final user request.

  • As an NDC seller, I want to receive an OrderViewRS with the cancellation flight status if the flow was successful so that I am able to inform the final user of the final status of his flight.

  • As an NDC seller, I want to receive an OrderViewRS with errors if the flow was not successful so that I am able to manage errors with the final user.

  • As an NDC seller, I want to be able to able to perform a voluntary flight cancellation, using the following rules, 24 hrs timeframe or void period

Message flow

  1. IATAOrderRetrieve

    1. Retrieve the Order

  2. IATAOrderReshop

    1. Get cancellation penalties for itinerary.

    2. Retention of services for indicating bounds and passengers to be kept is indicated via IATA_OrderReshopRQ/Request/UpdateOrder/ReshopOrder/ServiceOrder/DeleteOrderItem/RetainServiceID

  3. IATAOrderChange

    1. Executes the requested cancellation.

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>R5S4UMN</OrderID>
<OwnerCode>NH</OwnerCode>
</Order>
</OrderFilterCriteria>
</Request>
</IATA_OrderRetrieveRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAOrderViewRS

IATAOrderReshop

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>R5S4UMN</OrderRefID>
<ReshopParameters/>
<UpdateOrder>
<ReshopOrder>
<ServiceOrder>
<DeleteOrderItem>
<OrderItemRefID>1000</OrderItemRefID>
<!-- Cancel all OD for PAX-2 and Retain all OD for PAX-1 and PAX-3 -->
<RetainServiceID>SVC-1000-1-1</RetainServiceID>
<RetainServiceID>SVC-1000-3-1</RetainServiceID>
<RetainServiceID>SVC-1000-5-1</RetainServiceID>
<RetainServiceID>SVC-1000-6-1</RetainServiceID>
<RetainServiceID>SVC-1000-8-1</RetainServiceID>
<RetainServiceID>SVC-1000-1-3</RetainServiceID>
<RetainServiceID>SVC-1000-3-3</RetainServiceID>
<RetainServiceID>SVC-1000-5-3</RetainServiceID>
<RetainServiceID>SVC-1000-6-3</RetainServiceID>
<RetainServiceID>SVC-1000-8-3</RetainServiceID>
</DeleteOrderItem>
</ServiceOrder>
</ReshopOrder>
</UpdateOrder>
</Request>
</IATA_OrderReshopRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAOrderReshopRS

IATAOrderChange

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-1</OfferRefID>
<OwnerCode>NH</OwnerCode>
<SelectedOfferItem>
<OfferItemRefID>1000</OfferItemRefID>
<PaxRefID>PAX-2</PaxRefID>
</SelectedOfferItem>
<ShoppingResponseRefID>3a369421-435f-4bdb-b98c-2e7fc8116cf2</ShoppingResponseRefID>
</SelectedOffer>
</AcceptOffer>
<DeleteOrderItem>
<OrderItemRefID>1000</OrderItemRefID>
</DeleteOrderItem>
</UpdateOrderItem>
</ChangeOrder>
<DataLists>
<PaxList>
<Pax>
<AgeMeasure>31</AgeMeasure>
<PaxID>PAX-2</PaxID>
<PTC>ADT</PTC>
</Pax>
</PaxList>
</DataLists>
<Order>
<OrderID>R5S4UMN</OrderID>
<OwnerCode>NH</OwnerCode>
</Order>
</Request>
</IATA_OrderChangeRQ>
</soapenv:Body>
</soapenv:Envelope>

IATAOrderViewRS

Logs