Documentation of the CarRentalAgentService

CarRentalAgentService. Method 

See: GetWeekendSpecials.
Returns all weekend specials, available within the specified timeframe at the Locations of the given departure Region. Thereby it is possible to filter the results by Fleet. Additionally it's possible to request solely the most reasonably priced offer, if it's not possible to display all weekend specials in your booking module.

public WeekendSpecialsResponse (
   String token,
   String departureDate,
   String arrivalDate,
   String departureRegionId,
   String arrivalRegionId,
   String fleetNumber,
   String currencyCode,
   String bestPriceOnly,
   String promotionCode
);

Parameters

String
The Token string of the service Ticket.
String
The date and time the desired car rental begins.
String
The date and time the desired car rental finishes.
String
The unique id of the Region where the car rental begins.
String
The unique id of the Region where the car rental finishes.
String
The FleetNumber of the Departure-Locations the WeekendSpecialRates are requested for.
String
The three letter ISO 4217 currency code the WeekendSpecialRates should be calculated in.
String
This flag indicates if either all available WeekendSpecialRates are requested or solely the most reasonably priced one.
String
The promotion code to use for calculating a possible discount.

Return Value

A WeekendSpecialsResponse containing the desired information.

Remarks

Note   

This method is the simple typed method counterpart of the GetWeekendSpecials method.

If you are using SOAP-Protocol, we advise you to use GetWeekendSpecials method instead of this one.

If you are using POST-Protocol, use this method.

See Also

CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace