Cancels a car rental Reservation.
A CancelReservationResponse containing the cancelled Reservation.
Use this method to cancel a car rental Reservation previously made at Sunny Cars.
parameters | CancelReservationP1 | CancelReservationP2 |
---|---|---|
token | required | required |
id | required | required |
reservationVersion | required | required |
travelAgentCode | not applicable | optional |
travelAgentFirstName | not applicable | optional |
travelAgentLastName | not applicable | optional |
clientIP | optional | optional |
CancellationTypeId | optional | optional |
Description : | This variant cancels the car rental reservations, identified by the request-parameters. | This variant cancels the car rental reservation, identified by the request-parameters. Thereby the Travel-Agent, that cancels the car rental reservation is logged for backtracking purposes. |
Error Code | Description |
---|---|
E_INTERNAL_SERVICE | An internal service error occured during the process. |
E_TICKET_TOKEN_INVALID | The provided token is invalid. This error occurs if:
|
E_RESERVATION_NOT_FOUND | The requested reservation was not found. |
E_RESERVATION_CANCEL_FAILED | Could not cancel reservation. Please contact manufacturer to resolve this issue. |
E_RESERVATION_CANCELED | The given reservation has been cancelled already. |
E_CANCELLATION_NOT_ALLOWED | The Cancellation of the given reservation is not allowed. Perhaps it can be cancelled by telephone. |
E_RES_ID_INVALID | The given reservation id is not known byy the system at all. |
E_NOT_THE_OWNER | The Agency(Operator) for which the used token has been created for, is not the owner(creator) of the Reservation identified by the given reservationId. |
E_CUST_FROZEN | The account of Agency(Operator) for which the used token has been created for, is "frozen" and therefore not allowed to cancel the Reservation identified by the given reservationId. |
E_CUST_CLOSED | The account of Agency(Operator) for which the used token has been created for, is "closed" and therefore not allowed to cancel the Reservation identified by the given reservationId. |
E_REQUEST_INVALID | The performed request is invalid or malformed. |
CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace