OrderReshop

OrderReshop

OrderReshop enables obtaining quotes for voluntary or involuntary ticket refunds.

Description

The OrderReshop request will execute successfully if the following conditions are met:

The request version is specified, for example, OrderReshopRQ Version="17.2". A unique agency identifier is provided. A reference to the order for which the refund quote is requested is specified. A reference to the specific order item requested for refund is included.

Limitations

A quote cannot be obtained for an order that has been canceled, voided, or already refunded.

Request

  • OrderReshopRQ - request for changes in the order. The required attribute Version="17.2" indicates the version of the NDC protocol. Data type - complex.
  • OrderReshopRQ.Document - common elements.
  • OrderReshopRQ.Party - common elements.
  • OrderReshopRQ.Query
  • Query.Order - includes the order ID for which the refund quote is requested. It contains two mandatory attributes:
  • OrderID - the unique order ID in WebSkyTech.
  • Reshop - used to request items within the order (e.g., cancellation of specific order elements).
  • Reshop.OrderServicing.Delete.OrderItem - the unique identifier of the service set (ORI prefix is mandatory).

Example

<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:Requisites>
    <To xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none" xmlns:a="http://schemas.xmlsoap.org/soap/envelope/" a:mustUnderstand="1">http://androspc:11001/NDC/AviaNDC.svc</To>
    <Action xmlns="http://schemas.microsoft.com/ws/2005/05/addressing/none" xmlns:a="http://schemas.xmlsoap.org/soap/envelope/" a:mustUnderstand="1">http://websky.travel/AviaNDC/IAviaNDC/OrderReshop</Action>
  </soapenv:Header>
  <soapenv:Body>
    <ns:OrderReshopRQ Version="17.2">
      <ns:Document>
        <ns:Name>WEBSKYTECH 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:Query>
        <ns:OrderID>ORD648391</ns:OrderID>
        <ns:Reshop>
          <ns:OrderServicing>
            <ns:Delete>
              <ns:OrderItem OrderItemID="ORI1"/>
            </ns:Delete>
          </ns:OrderServicing>
        </ns:Reshop>
      </ns:Query>
    </ns:OrderReshopRQ>
  </soapenv:Body>
</soapenv:Envelope>

Response

  • OrderReshopRS.Response.ReshopOffer - updated airline offer.
  • OrderReshopRS.Response.ReshopOffer.DeleteOfferItem.ReshopDifferential - contains the initial order amount, the new offer amount, information about penalties, fees, and payment deadlines. It also includes tax information. Data type - complex.
  • ReshopDifferential.OriginalOrderItem - initial order amount, including fare and tax information. Data type - complex.
  • ReshopDifferential.NewOfferItem - new booking amount, adjusted for refunds. Contains fare and tax information. Data type - complex.
  • ReshopDifferential.ReshopDue - refund amount, including fare and tax details. Data type - complex.
  • OrderReshopRS.Response.DataLists - data lists. Data type - complex.

Example

<?xml version="1.0"?>
<OrderReshopRSMessage xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseID>144728863</ResponseID>
  <Response Target="Test" Version="17.2">
    <Document xmlns="http://www.iata.org/IATA/EDIST/2017.2">
      <Name>WEBSKYTECH 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">
      <ReShoppingResponseID>
        <ResponseID>144728863</ResponseID>
      </ReShoppingResponseID>
      <ReshopOffers>
        <ReshopOffer OfferID="OFR648391" Owner="1A">
          <DeleteOfferItem OfferItemID="OFI1" OrderItemID="ORD648391">
            <ReshopDifferential>
              <OriginalOrderItem>
                <Total>
                  <Amount Code="KZT">339294</Amount>
                </Total>
                <Taxes>
                  <Total Code="KZT">140060</Total>
                  <Breakdown>
                    <Tax>
                      <Amount Code="KZT">106816</Amount>
                      <TaxCode>YR</TaxCode>
                    </Tax>
                    <Tax>
                      <Amount Code="KZT">16962</Amount>
                      <TaxCode>TR</TaxCode>
                    </Tax>
                    <Tax>
                      <Amount Code="KZT">2544</Amount>
                      <TaxCode>M6</TaxCode>
                    </Tax>
                    <Tax>
                      <Amount Code="KZT">4240</Amount>
                      <TaxCode>DC</TaxCode>
                    </Tax>
                    <Tax>
                      <Amount Code="KZT">4240</Amount>
                      <TaxCode>HE</TaxCode>
                    </Tax>
                    <Tax>
                      <Amount Code="KZT">5258</Amount>
                      <TaxCode>RO</TaxCode>
                    </Tax>
                  </Breakdown>
                </Taxes>
              </OriginalOrderItem>
              <NewOfferItem>
                <Total>
                  <Amount Code="KZT">306050</Amount>
                </Total>
              </NewOfferItem>
              <ReshopDue>
                <ByPassenger>
                  <Total>
                    <Amount Code="KZT">-33244</Amount>
                  </Total>
                </ByPassenger>
                <Taxes>
                  <Total Code="KZT">-33244</Total>
                  <Breakdown>
                    <Tax>
                      <Amount Code="KZT">-4240</Amount>
                      <TaxCode>DC</TaxCode>
                    </Tax>
                    <Tax>
                      <Amount Code="KZT">-4240</Amount>
                      <TaxCode>HE</TaxCode>
                    </Tax>
                    <Tax>
                      <Amount Code="KZT">-2544</Amount>
                      <TaxCode>M6</TaxCode>
                    </Tax>
                    <Tax>
                      <Amount Code="KZT">-5258</Amount>
                      <TaxCode>RO</TaxCode>
                    </Tax>
                    <Tax>
                      <Amount Code="KZT">-16962</Amount>
                      <TaxCode>TR</TaxCode>
                    </Tax>
                  </Breakdown>
                </Taxes>
              </ReshopDue>
            </ReshopDifferential>
          </DeleteOfferItem>
        </ReshopOffer>
      </ReshopOffers>
      <DataLists>
        <PassengerList>
          <Passenger PassengerID="PAX1">
            <PTC>ADT</PTC>
          </Passenger>
          <Passenger PassengerID="PAX2">
            <PTC>ADT</PTC>
          </Passenger>
        </PassengerList>
        <FlightSegmentList>
          <FlightSegment SegmentKey="SEG0" ElectronicTicketInd="true">
            <Departure>
              <AirportCode>SAW</AirportCode>
              <Date>2019-05-30</Date>
              <Time>09:50</Time>
            </Departure>
            <Arrival>
              <AirportCode>MXP</AirportCode>
              <Date>2019-05-30</Date>
              <Time>11:45</Time>
              <Terminal>
                <Name>1</Name>
              </Terminal>
            </Arrival>
            <MarketingCarrier>
              <AirlineID>ZZ</AirlineID>
              <FlightNumber>1901</FlightNumber>
            </MarketingCarrier>
            <OperatingCarrier>
              <AirlineID>ZZ</AirlineID>
              <FlightNumber>1901</FlightNumber>
            </OperatingCarrier>
            <Equipment>
              <AircraftCode>738</AircraftCode>
            </Equipment>
            <ClassOfService>
              <Code>P</Code>
            </ClassOfService>
            <FlightDetail>
              <FlightDistance>
                <Value>474</Value>
                <UOM>Miles</UOM>
              </FlightDistance>
              <FlightDuration>
                <Value>P0DT2H55M</Value>
              </FlightDuration>
            </FlightDetail>
          </FlightSegment>
          <FlightSegment SegmentKey="SEG1" ElectronicTicketInd="true">
            <Departure>
              <AirportCode>CLJ</AirportCode>
              <Date>2019-06-11</Date>
              <Time>21:25</Time>
            </Departure>
            <Arrival>
              <AirportCode>IST</AirportCode>
              <Date>2019-06-11</Date>
              <Time>23:00</Time>
              <Terminal>
                <Name>I</Name>
              </Terminal>
            </Arrival>
            <MarketingCarrier>
              <AirlineID>ZZ</AirlineID>
              <FlightNumber>1348</FlightNumber>
            </MarketingCarrier>
            <OperatingCarrier>
              <AirlineID>ZZ</AirlineID>
              <FlightNumber>1348</FlightNumber>
            </OperatingCarrier>
            <Equipment>
              <AircraftCode>319</AircraftCode>
            </Equipment>
            <ClassOfService>
              <Code>L</Code>
            </ClassOfService>
            <FlightDetail>
              <FlightDistance>
                <Value>474</Value>
                <UOM>Miles</UOM>
              </FlightDistance>
              <FlightDuration>
                <Value>P0DT1H35M</Value>
              </FlightDuration>
            </FlightDetail>
          </FlightSegment>
          <FlightSegment SegmentKey="SEG2" ElectronicTicketInd="true">
            <Departure>
              <AirportCode>IST</AirportCode>
              <Date>2019-06-12</Date>
              <Time>07:40</Time>
              <Terminal>
                <Name>I</Name>
              </Terminal>
            </Departure>
            <Arrival>
              <AirportCode>MXP</AirportCode>
              <Date>2019-06-12</Date>
              <Time>09:30</Time>
              <Terminal>
                <Name>1</Name>
              </Terminal>
            </Arrival>
            <MarketingCarrier>
              <AirlineID>ZZ</AirlineID>
              <FlightNumber>1873</FlightNumber>
            </MarketingCarrier>
            <OperatingCarrier>
              <AirlineID>ZZ</AirlineID>
              <FlightNumber>1873</FlightNumber>
            </OperatingCarrier>
            <Equipment>
              <AircraftCode>32B</AircraftCode>
            </Equipment>
            <ClassOfService>
              <Code>L</Code>
            </ClassOfService>
            <FlightDetail>
              <FlightDistance>
                <Value>1036</Value>
                <UOM>Miles</UOM>
              </FlightDistance>
              <FlightDuration>
                <Value>P0DT2H50M</Value>
              </FlightDuration>
            </FlightDetail>
          </FlightSegment>
        </FlightSegmentList>
        <FlightList>
          <Flight FlightKey="FLTL0S0">
            <Journey>
              <Time>P0DT2H55M</Time>
              <Distance>
                <Value>474</Value>
                <UOM>Miles</UOM>
              </Distance>
            </Journey>
            <SegmentReferences>SEG0</SegmentReferences>
          </Flight>
          <Flight FlightKey="FLTL1S1S2">
            <Journey>
              <Time>P0DT4H25M</Time>
              <Distance>
                <Value>1510</Value>
                <UOM>Miles</UOM>
              </Distance>
            </Journey>
            <SegmentReferences>SEG1 SEG2</SegmentReferences>
          </Flight>
        </FlightList>
      </DataLists>
    </Response>
  </Response>
</OrderReshopRSMessage>