Documentation of the CarRentalAgentService

CarRentalAgentService. Method 

Edits the payment-information of a car rental Reservation.

public ChangeResPaymentMethodResponse (
   ChangeResPaymentMethodRequest request
);

Parameters

ChangeResPaymentMethodRequest
A ChangeResPaymentMethodRequest containing the necessary reference data.

Return Value

A ChangeResPaymentMethodResponse containing the edited Reservation.

Remarks

Use this method to edit a car rental Reservation previously made at Sunny Cars in terms of meeting-information(e.g. flight number).

List Of defined call-variants

parameters ChangeReservationPaymentMethodP1
token required
id required
reservationVersion required
travelAgentCode optional
travelAgentFirstName optional
travelAgentLastName optional
clientIP optional


Description : This variant edits the car rental reservation, identified by the request-parameters. Thereby the Travel-Agent, that edits the car rental reservation is logged for backtracking purposes.

List Of Errors Returned

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:

  • The token is in invalid format.
  • The token is expired.
  • The token was not found.

E_RESERVATION_NOT_FOUND The requested reservation was not found.
E_RESERVATION_CANCELED The given reservation has been cancelled already.
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.

See Also

CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace