Updated: 29 Oct 2018 | Edit on Github

Method Goals

This method aims to cancel a booking

Request Format

The request requires the booking code and the name of the customer

Response Format

The result returns the new status of the reservation and the possible cost of the cancellation.

Remarks

Not implemented by all suppliers

CancelRQ Example

    <OTA_TourActivityCancelRQ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" PrimaryLangID = "es">
      <Confirmation ID="1283479#1" type="PROVIDER" />
    </OTA_TourActivityCancelRQ>

CancelRQ Description

Element Number Type Description
OTA_TourActivityCancelRQ 1   Root node.
@PrimaryLangID 1 String Language code (ISO 3166-1 alpha-2) format.
Confirmation 1   Contains information of the activity booked.
@ID 1 String Activity booked identifier.
@type 1 String Activity booked type. See table of eLocatorType.

CancelRS Example

    <OTA_TourActivityCancelRS xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <operationImplemented>true</operationImplemented>
      <Reservation ResStatus="Cancel">
        <CancelConfirmation>
          <UniqueID ID="1283479#1" Type="PROVIDER" />
        </CancelConfirmation>
        <ReservationInfo>
          <Pricing>
            <Summary Amount="0.000" CurrencyCode="EUR" />
          </Pricing>
        </ReservationInfo>
      </Reservation>
    </OTA_TourActivityCancelRS>

CancelRS Description

Element Number Type Description
OTA_TourActivityCancelRS 1   Root node.
@PrimaryLangID 1 String Language code (ISO 3166-1 alpha-2) format.
Reservation 1   Information about reservation status.
@ResStatus 1 Enum Information about reservation status.
Reservation/CancelConfirmation 1   Contains information of the activity booked.
Reservation/CancelConfirmation/UniqueID 1   Contains information of the activity booked.
@ID 1 String Activity booked identifier.
@type 1 String Activity booked type See table of eLocatorType.
Reservation/ReservationInfo 1   Information about price after cancellation call.
Reservation/ReservationInfo/Pricing/Summary 0..1   Summary of cancellation price. (if supplier informed us.)
@Amount 1 Decimal price amount.
@CurrencyCode 1 String Currency code (ISO 4217).
@Commission 0..1 String Percentage commission.

Types tables

eStatusType

Indicates the status of the reservation.

Type Description
Cancel Cancellation has been done correctly.
OnRequest Cancellation is on request. (not canceled)
Unknow An error occurs during the cancellation process

eLocatorType

Indicates which type of locator is sent.

Type Description
Client Locator get in our request.
Provider Locator send by the supplier
Ticket Locator for specific ticket
Other Other type of locator.