Performs several functions in the following order:
If the order wasn't issued, the order will be canceled, otherwise a void attempt will be made, followed by cancellation. If the void operation is not available, then an attempt to return tickets will be made.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:avi="http://websky.travel/AviaNDC" xmlns:ns="http://www.iata.org/IATA/EDIST/2017.2">
<soapenv:Header>
<avi:UserID> *** </avi:UserID>
<avi:Requisites>
<avi:Login> *** </avi:Login>
<avi:Password> *** </avi:Password>
<avi:UserContextId> *** </avi:UserContextId>
</avi:Requisites>
</soapenv:Header>
<soapenv:Body>
<ns:OrderCancelRQ Version="17.2">
<ns:Document>
<ns:Metadata/>
<ns:Name>NDC GATEWAY</ns:Name>
<ns:ReferenceVersion>1.0</ns:ReferenceVersion>
</ns:Document>
<ns:Party>
<ns:Sender>
<ns:TravelAgencySender>
<ns:AgencyID> *** </ns:AgencyID>
</ns:TravelAgencySender>
</ns:Sender>
</ns:Party>
<ns:OrderCancelParameters>
<ns:Reason>8</ns:Reason>
</ns:OrderCancelParameters>
<ns:Query>
<ns:Order OrderID="ORD610299" Owner="1W"/>
</ns:Query>
</ns:OrderCancelRQ>
</soapenv:Body>
</soapenv:Envelope>
If the order is canceled successfully, the response only contains the booking number.
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:ResponseID xmlns:h="http://websky.travel/AviaNDC" xmlns="http://websky.travel/AviaNDC">144221111</h:ResponseID>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<OrderCancelRS Target="Prod" Version="17.2" xmlns="http://www.iata.org/IATA/EDIST/2017.2">
<Document>
<Name>NDC GATEWAY</Name>
<ReferenceVersion>1.0</ReferenceVersion>
</Document>
<Success/>
<Response>
<OrderReference>ORD612623</OrderReference>
</Response>
</OrderCancelRS>
</s:Body>
</s:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:ResponseID xmlns:h="http://websky.travel/AviaNDC" xmlns="http://websky.travel/AviaNDC">144227098</h:ResponseID>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<OrderCancelRS Target="Prod" Version="17.2" xmlns="http://www.iata.org/IATA/EDIST/2017.2">
<Document xmlns="http://www.iata.org/IATA/EDIST/2017.2">
<Name>NDC GATEWAY</Name>
<ReferenceVersion>1.0</ReferenceVersion>
</Document>
<Success xmlns="http://www.iata.org/IATA/EDIST/2017.2" />
<Response xmlns="http://www.iata.org/IATA/EDIST/2017.2">
<OrderReference>ORD610777</OrderReference>
<ChangeFees>
<Details>
<Detail>
<Type>Voided</Type>
<Amounts>
<Amount>
<CurrencyAmountValue Code="USD" Taxable="false">0.0</CurrencyAmountValue>
</Amount>
</Amounts>
</Detail>
</Details>
</ChangeFees>
<TicketDocInfos>
<TicketDocInfo>
<FareInfo>
<Total>
<Amount Code="USD" Taxable="false">336.4</Amount>
</Total>
</FareInfo>
<TicketDocument>
<TicketDocNbr>5557208883582</TicketDocNbr>
<Type>T</Type>
<NumberofBooklets>1</NumberofBooklets>
<ReportingType>BSP</ReportingType>
</TicketDocument>
</TicketDocInfo>
</TicketDocInfos>
</Response>
</OrderCancelRS>
</s:Body>
</s:Envelope>
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
<s:Header>
<h:ResponseID xmlns:h="http://websky.travel/AviaNDC" xmlns="http://websky.travel/AviaNDC">144212553</h:ResponseID>
</s:Header>
<s:Body xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<OrderCancelRS Target="Prod" Version="17.2" xmlns="http://www.iata.org/IATA/EDIST/2017.2">
<Document xmlns="http://www.iata.org/IATA/EDIST/2017.2">
<Name>NDC GATEWAY</Name>
<ReferenceVersion>1.0</ReferenceVersion>
</Document>
<Success xmlns="http://www.iata.org/IATA/EDIST/2017.2" />
<Response xmlns="http://www.iata.org/IATA/EDIST/2017.2">
<OrderCancelProcessing>
<Remarks>
<Remark>Total refunded: 11910,29</Remark>
</Remarks>
</OrderCancelProcessing>
<OrderReference>ORD611010</OrderReference>
<ChangeFees>
<Details>
<Detail>
<Type>Refunded</Type>
<Amounts>
<Amount>
<CurrencyAmountValue Code="KZT" Taxable="false">3200</CurrencyAmountValue>
</Amount>
</Amounts>
</Detail>
</Details>
</ChangeFees>
<TicketDocInfos>
<TicketDocInfo>
<TicketDocument>
<TicketDocNbr>4652402415544</TicketDocNbr>
<Type>T</Type>
<NumberofBooklets>1</NumberofBooklets>
<ReportingType>BSP</ReportingType>
</TicketDocument>
</TicketDocInfo>
</TicketDocInfos>
</Response>
</OrderCancelRS>
</s:Body>
</s:Envelope>