Documentation of the CarRentalAgentService

CarRentalAgentService. Method 

Retrieves the set of rate conditions for a specific rate request (Vehicle and RateServiceType).

public RateConditionsResponse (
   RateConditionsRequest request
);

Parameters

RateConditionsRequest
A RateConditionsRequest containing the nessessary request data.

Return Value

A RateConditionsResponse containing the requested RateConditions.

Remarks

This method returns you textual information about the conditions bound to a specified Vehicle and RateServiceType.

One you have obtained a list of Rates, including its Vehicle and RateServiceType, you will most likely offer your customer extended information about the offer. This extended information is split into two distinct sections:

This method addresses the second section.

List Of defined call-variants

parameters GetRateConditionsP1 GetRateConditionsP2
token required required
languageCode optional optional
specificDateTime optional optional
vehicleId required required
rateServiceTypeId required required
salesSeasonId not applicable required



Description : This variant returns the specific Rate-Condtions, that means the conditions and constraints for the offer(Rate) that is identified by the given request-data. This variant returns the specific Rate-Condtions, that means the conditions and constraints for the offer(Rate) that is identified by the given request-data.

List Of Errors Returned

Error Code Description
E_INTERNAL_SERVICE An internal service error occured during the process.
E_TICKET_TOKEN_INVALID The provided token is invalid.

This error occurs if:

  • The token is in invalid format.
  • The token is expired.
  • The token was not found.

E_RATE_CONDITION_NOT_FOUND No rate condition information exists for given vehicle and rate service type.
E_REQUEST_INVALID The performed request is invalid or malformed.

List Of Warnings Returned

Warning Code Description
W_LANGUAGE_NOT_SUPPORTED The requested language code is not supported for localization. Using default language instead.

See Also

CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace