Documentation of the CarRentalAgentService

RateServiceUpsellRequest.PromotionCode Property

Gets or sets the Promotion Code the User wants to use for the Reservation.

public  PromotionCode {get; set;}

Remarks

This property is optional, but be aware that if a promotion code was used to request the Rates formerly, than it has to be handed over herein too. Unfortunately it's not possible for CarRentalAgentService to realize whether this is the case or not, which means that there's no warning according to this issue. Therefore the value for this parameter should be taken from the PromotionCode-property of a RatesRequest perfomed before. The validation of a PromotionCode can be performed by a call of ValidatePromotionCode - Method, which should have been done before requesting the Rates via GetRates - Method.

See Also

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