Documentation of the CarRentalAgentService

ValidateRateRequest.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. The validation of a PromotionCode can be performed by a call of ValidatePromotionCode - Method, which should have been done before validating the Rate via ValidateRate - Method. Nevertheless, the PromotionCode is validated by ValidateRate - Method, so the former validation is not mandatory but strongly recommended, to avoid needless time-wasting network communication. An invalid PromotionCode results in the corresponding error message and an empty list of Rates in Rate-property of the returned ValidateRateResponse.

See Also

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