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.
A ReservationEditOptionsResponse containing the edit options.
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.
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. |
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_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. |
Warning Code | Description |
---|---|
W_LANGUAGE_NOT_SUPPORTED | The requested language code is not supported for localization. Using default language instead. |
CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace