Skip to main content

CANCEL

Method DestServicesCancelV2

{YOUR.PROVIDER.DOMAIN}/destservices/destservices.asmx?op=DestServicesCancelV2

Node definition Request

NodeAttributeData TypeDescriptionValueMandatory
DestServicesCancelV2\objRequestPrimaryLangIDStringLanguage codeLANGUAGERequired
DestServicesCancelV2\objRequestTransactionIdentifierStringThis value is returned in the response of the method DestServicesBookV2 and represents the locator of the bookingRequired
DestServicesCancelV2\objRequest\CancelBookingItemsArrayArray of booking items to cancel. This only must be informed in partial cancellations. To cancel an entire booking, this node must not be informed.Optional
DestServicesCancelV2\objRequest\CancelBookingItems\BookingItemIdentifierIntegerIdentifier of the element to cancelRequired

Node definition Response

NodeAttributeData TypeDescriptionValueMandatory
DestServicesCancelV2ResultTransactionIdentifierStringLocator of the bookingRequired
DestServicesCancelV2ResultResResponseTypeStringState of the bookingCommited / Cancelled / Pending / RejectedRequired
DestServicesCancelV2Result\CancellationFeesAmountDecimalAmount of the penaltyRequired
DestServicesCancelV2Result\CancellationFeesCurrencyCodeStringCurrency codeCURRENCYRequired
DestServicesCancelV2Result\CanceledBookingItemsArrayArray of booking items canceledOptional
DestServicesCancelV2Result\CanceledBookingItems\CanceledBookingItemCanceled itemOptional
DestServicesCancelV2Result\CanceledBookingItems\CanceledBookingItemBookingItemIdentifierIntegerIdentifier of the canceled elementOptional
DestServicesCancelV2Result\CanceledBookingItems\CanceledBookingItemAmountDecimalAmount of the cancellation fee of the canceled itemOptional
DestServicesCancelV2Result\CanceledBookingItems\CanceledBookingItemCurrencyCodeStringCurrency codeCURRENCYOptional

XML Examples

Cancel REQUEST example
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://xml.ineedtours.com/ws/">
<soapenv:Header/>
<soapenv:Body>
<ws:DestServicesCancelV2>
<ws:objCredentials>
<ws:Source>
<ws:RequestorID Type="DSP" ID="YOUR-USER" MessagePassword="YOUR-PASSWORD"/>
</ws:Source>
</ws:objCredentials>
<ws:objRequest PrimaryLangID="IDLANGUAGE" TransactionIdentifier="D6JL8E">
<CancelBookingItems>
<BookingItemIdentifier>852456</BookingItemIdentifier>
</CancelBookingItems>
</ws:objRequest>
</ws:DestServicesCancelV2>
</soapenv:Body>
</soapenv:Envelope>
Cancel RESPONSE example
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<DestServicesCancelV2Response xmlns="http://xml.ineedtours.com/ws/">
<DestServicesCancelV2Result EchoToken="262" PrimaryLangID="ES" TransactionIdentifier="D6JL8E" ResResponseType="Cancelled">
<Header ResponseTimestamp="2019-01-14T17:40:58.7652637+01:00" MillisecondProcessingTime="8077" Endpoint="demo.xml.com"/>
<CancelPenaltiesStartDate xsi:nil="true"/>
<CancellationFees Amount="0" CurrencyCode="EUR" NumDecimals="2"/>
<CanceledBookingItems>
<CanceledBookingItem BookingItemIdentifier="5890675" Amount="78.900" CurrencyCode="EUR" />
</CanceledBookingItems>
</DestServicesCancelV2Result>
</DestServicesCancelV2Response>
</soap:Body>
</soap:Envelope>