Documentation of the CarRentalAgentService

RatesRequest.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 requesting the Rates via GetRates - Method. Nevertheless, the PromotionCode is validated by GetRates - 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 Rates-property of the returned RatesResponse.

See Also

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