Retrieves a set of RateCodes specific to a formerly requested Rate.
A ReservationResponse containing the requested RateCodes.
The RateCode is a string, that is composed of the GDSCode of a Location, the sequential number of a Location located in a lowest level Region and the Code of the Vehicle whose Id was handed over to the CarRentalAgentService in vehicleId. The returned codes are unique for a Vehicle in connection with a RateServiceType at a single Region. It may be used for mapping purposes at client side, because it's not needed for any webservice call.
parameters | GetRateCodesP1 |
---|---|
token | required |
regionId | optional |
locationId | optional |
vehicleId | required |
rateServiceTypeId | required |
meetingAtAirportPreference | optional |
meetingAtCounterPreference | optional |
meetingAtSpecialAddressPreference | optional |
Description : | This variant delivers the RateCodes for the given request-parameters. |
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_DEPARTURE_PLACE_NOT_SET | Neither the DepartureRegionId nor the DepartureLocationId was set in request-parameters. |
E_RATE_CODE_NOT_FOUND | The searched RateCodes aren't available in the database, which will mostly be the case if the corresponding Rate doesn't exist. Please verfy, that the parameters handed over by your booking module, do really identify a valid Rate. |
E_REQUEST_INVALID | The performed request is invalid or malformed. |
CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace