Documentation of the CarRentalAgentService

CarRentalAgentService. Method 

Retrieves information about which fields of a Reservation may be changed by a call of EditReservation - Method. Therefore a set of edit options is delivered within the ReservationEditOptionsResponse.

public ReservationEditOptionsResponse (
   ReservationEditOptionsRequest request
);

Parameters

ReservationEditOptionsRequest
A ReservationEditOptionsRequest containing the nessessary request data.

Return Value

A ReservationEditOptionsResponse containing the edit options.

Remarks

This webservice method is part of the EditReservation-Feature, provided by CarRentalAgentService. The delivered EditOptions indicate, whether or not a specific item of a Reservation may be changed by a call of EditReservation - Method. Therefore it allows your booking module to enable/disable the corresponding controls, which helps on the one hand to eliminate needless network-traffic caused by webservice-calls that result in errors and on the other hand it will help to improve the user-friendliness of your booking module.

List Of defined call-variants

parameters GetReservationEditOptionsP1
token required
reservationId required
changeBookingTypeTo optional


Description : This variant returns the Edit-Options for the given reservationId by taking the given BookingType into account.

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_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_RES_ID_INVALID The given reservationId is not known by the system.
E_REQUEST_INVALID The performed request is invalid or malformed.

List Of Warnings Returned

Warning Code Description
W_LANGUAGE_NOT_SUPPORTED The requested language code is not supported for localization. Using default language instead.

See Also

CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace