Hotel


CancellationOfReservation

Parameters Sent: Returning Parameter:
CancellationOfReservationResult:
if it is "0" ==> the reservation is successfully deleted.
if it is "1" ==> for this booking the invoice has been issued and you can not delete it.
if it is "2" ==> the invoice is locked, you do not have authorisation to change or delete it
token: Key number given upon login to system.(string) if it is "3" ==> you have changed some details for the services, which are reflected to supplier invoice control part from coach manager part, please inform your operation and account departments
note: Reservation note.(string) (nullable) if it is "4" ==> invoice for general service has been issued, you can not delete the reservation
voucher: Reservation voucher number.(string) if it is "5" ==> for this booking there are issued invoices for some services, you cannot cancel the reservation
order: Reservation order number(string) (Deffault Value (0)) if it is "6" ==> on this reservation the visa service has been confirmed for the customers
if it is "7" ==> unkown error
if it is "8" ==> tour package has been added you can not delete
if it is "9" ==> for this booking the confirmation record has been added, you cannot cancel it.
if it is "10" ==> there is no a booking existing in system for this voucher number . The Booking is deleted or voucher number is changed.
if it is "11" ==> you can not delete booking from past time.
Last Update Date: 21.03.2017

Request Sample

<?xml version="1.0" encoding="utf-16"?>
<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>
    <CancellationOfReservation xmlns="http://www.sansejour.com/">
      <token>42a00419-d1e9-411e-b415-5930693eb6ec</token>
      <note />
      <voucher>33000815</voucher>
      <order>1</order>
    </CancellationOfReservation>
  </soap:Body>
</soap:Envelope>

Response Sample

<?xml version="1.0" encoding="utf-16"?>
<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>
    <CancellationOfReservationResponse xmlns="http://www.sansejour.com/">
      <CancellationOfReservationResult>0</CancellationOfReservationResult>
    </CancellationOfReservationResponse>
  </soap:Body>
</soap:Envelope>