ResLink

Cancel Tour Booking


Request Profile Table

Element | @Attribute Description/Contents
CancelTourBooking_RQ Root element of message.
WebResBookingID WebRes Booking ID of the booking to cancel.
Reason Message to indicate why the booking was cancelled.

Scenario:

You want to cancel Booking WR1666.


Example message:

<?xml version="1.0" encoding="utf-8"?>
<CancelTourBooking_RQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <WebResBookingID>WR1666</WebResBookingID>
  <Reason>Testing BookingService.CancelTourBooking function</Reason>
</CancelTourBooking_RQ>


Response Profile Table

Element | @Attribute Description/Contents
CancelTourBooking_RS Root element of message.
Success Indicates if the booking was successfully cancelled.
PenaltyAmount Cancellation penalty amount
PenaltyCommission Cancellation penalty commission amount

Example message:

<CancelTourBooking_RS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <TimeStamp>2017-09-18T13:56:49.0586963+10:00</TimeStamp>
  <Status Code="4" Message="'WR1666' cannot be cancelled" />
  <Errors />
  <Warnings />
  <Success>false</Success>
  <PenaltyAmount>500</PenaltyAmount>
  <PenaltyCommission>50</PenaltyCommission>
</CancelTourBooking_RS>