Documentation of the CarRentalAgentService

ReservationEditOptionsRequest.ChangeBookingTypeTo Property

Gets or sets the type the Reservation should have after the call of EditReservation - Method. The possible values depend on the way the Ticket has been created. For further Informations see:BookingType.

public  ChangeBookingTypeTo {get; set;}

Remarks

This property is optional, if it's not set by the caller it will be defaulted to the current type of the Reservation. Typically the value handed over herein is the same like it was delivered for the Reservation by GetReservation - Method or GetReservationList - Method. In some exceptional cases, this property can be used to indicate that the type of a Reservation should be changed by the call to EditReservation - Method. But this is possible only if the booking module has the necessary authorization, which is indicated by ChangeBookingTypeToAgency respectively ChangeBookingTypeToDirect depending on the current type of the Reservation. To figure out dynamically, if the change of BookingType is allowed for a Reservation, it is necessary to call GetReservationEditOptions - Method for the current type of the Reservation. Afterwards a second call of GetReservationEditOptions - Method has to be performed using the new BookingType to retrieve the EditOptions for the new BookingType which may differ slightly. Nedless to say, that the second call is reasonable only, if ChangeBookingTypeToAgency respectively ChangeBookingTypeToDirect allow the change of BookingType at all, which is indicated by a value of Editable.

See Also

ReservationEditOptionsRequest Class | SunnyCars.Schema.Osi.WsReservation.V4 Namespace