Retrieves detailed information about the rate services delivered as RateServiceType within each offer.
A RateServiceTypesResponse containing the available RateServiceTypes in the requested language.
This webservice method was designed to retrieve short detail information about the services contained in an offer, to show it as some sort of a tooltip on the public websites of sunnycars. If you need to display more detailed information about a single offer on an reservation confirmation page for example concernig the conditions and coverages, please refer to GetRateConditions - Method or GetRateCoverages - Method.
The RateServiceTypesResponse contains information about the services encapsulated within an RateServiceType which has to be threaten as a package of single services. Therefore this method returns you textual information about the benefits of the rate services delivered with each offer by sunnycars.
Furthermore, textual information that may be used to advertise the rate-service-upsell-offers (see: GetRateServiceUpsell - Method), is returned by this webservice call. Therefore the difference or more precisely the benefit of each RateServiceType against its cheaper complement is mentioned/described in the UpsellText-Property of the rate services encapsulated by each RateServiceType.
Attention:
Even tough each offer encapsulates a RateServiceType-object, the describing textual Properties within these objects would not be set by GetRates - Method, but are set by this webservice-call. The mapping between the RateServiceType-object-stubs delivered by GetRates and the fully qualified objects delivered by this webservice call has to be done by your booking-module using the always delivered unique Id.
parameters | GetRateServiceTypesP1 |
---|---|
token | required |
languageCode | optional |
Description : | This variant returns the all RateService-Types including their rate-services, for which sunnycars provides offers in the requested language. |
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:
|
E_RATE_SERVICE_TYPES_NOT_FOUND | No rate service types information exists. Due to the fact, that this error should never happen you may handle it like the "E_INTERNAL_SERVICE"-Error. |
E_REQUEST_INVALID | The performed request is invalid or malformed. |
Warning Code | Description |
---|---|
W_LANGUAGE_NOT_SUPPORTED | The requested language code is not supported for localization. Using default language instead. |
CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace