OrderReshop operation

The order reshop method allows to quote order updates. For example, to cancel an order, the order reshop method must be called before to get cancellation fee (returns 0 if void allowed).


Table of contents

  1. Release notes
  2. Mandatory HTTP header
  3. OrderReshopRQ
  4. OrderReshopRS
  5. Samples

Release notes

VersionNotes
1.0Initial version.

Mandatory HTTP header

  • AuthToken: token value retrieved from login response

OrderReshopRQ

ElementDescriptionOptional/Mandatory
PartyMust contain agency ID as senderMandatory
PayloadAttributesVersion + CorrelationID (to group log messages)Optional
RequestThe request element detailed belowMandatory

Request

ElementDescriptionOptional/Mandatory
OrderRefIDID of the order to reshopMandatory
UpdateOrderThe update information to quote, detailed belowOptional

UpdateOrder

ElementDescriptionOptional/Mandatory
ReshopOrder/ServiceOrder/DeleteOrderItemIndicates to retrieve cancellation fee (OrderItemRefID can contain the order ID)Mandatory

OrderReshopRS

ElementDescriptionOptional/Mandatory
ResponseThe response element detailed belowMandatory
PayloadAttributesSame as requested + timestampMandatory

Response

ElementDescriptionOptional/Mandatory
DataListsThe response data lists (penalty list, etc)Mandatory
ReshopResultsThe reshop results detailed belowMandatory
WarningsList of warnings returned by providerOptional

ReshopResults

ElementDescriptionOptional/Mandatory
ReshopOffersList of reshop offers detailed belowMandatory

Offer

ElementDescriptionOptional/Mandatory
OfferIDID of the reshop offerMandatory
PenaltyRefIDReference to the penalty data to get in DataLists (contains penalty amount, type code, etc).Mandatory

Samples

OrderReshopRQ - Cancellation Fee
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<IATA_OrderReshopRQ xmlns="http://www.iata.org/IATA/2015/00/2019.2/IATA_OrderReshopRQ">
    <Party>
        <Sender>
            <TravelAgency>
                <AgencyID>agency1234</AgencyID>
            </TravelAgency>
        </Sender>
    </Party>
    <PayloadAttributes>
        <CorrelationID>c3421ac5-96cd-3aed-b40b-aca63b056173</CorrelationID>
        <VersionNumber>19.2</VersionNumber>
    </PayloadAttributes>
    <Request>
        <OrderRefID>544759</OrderRefID>
        <UpdateOrder>
            <ReshopOrder>
                <ServiceOrder>
                    <DeleteOrderItem>
                        <OrderItemRefID>544759</OrderItemRefID>
                    </DeleteOrderItem>
                </ServiceOrder>
            </ReshopOrder>
        </UpdateOrder>
    </Request>
</IATA_OrderReshopRQ>
OrderReshopRS - Cancellation Fee
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<IATA_OrderReshopRS xmlns="http://www.iata.org/IATA/2015/00/2019.2/IATA_OrderReshopRS">
    <Response>
        <DataLists>
            <PenaltyList>
                <Penalty>
                    <CancelFeeInd>true</CancelFeeInd>
                    <PenaltyID>PNL1</PenaltyID>
                    <Price>
                        <TotalAmount>0</TotalAmount>
                    </Price>
                    <TypeCode>Cancellation</TypeCode>
                </Penalty>
            </PenaltyList>
        </DataLists>
        <ReshopResults>
            <ReshopOffers>
                <Offer>
                    <OfferID>5185fe97-0eaa-42fc-96f8-00dfcf7331f0</OfferID>
                    <PenaltyRefID>PNL1</PenaltyRefID>
                </Offer>
            </ReshopOffers>
        </ReshopResults>
    </Response>
    <PayloadAttributes>
        <CorrelationID>c3421ac5-96cd-3aed-b40b-aca63b056173</CorrelationID>
        <Timestamp>2021-02-04T10:27:23.022+01:00</Timestamp>
        <VersionNumber>19.2</VersionNumber>
    </PayloadAttributes>
</IATA_OrderReshopRS>