Retrieves a single LegitimationToken, that should be used to authenticate/create a Legitimation at "B2B-Light E".
A LegitimationTokenResponse containing the requested LegitimationToken.
This method isn't allowed for all booking modules. If you feel, that your booking module needs to be allowed to call this method, please contact Sunny Cars. Usually Sunny Cars will inform you, that and how you need to call this method.
parameters | GetLegitimationTokenP1 |
---|---|
token | required |
LanguageCode | optional |
LegitimationTypeId | required |
Description : | This variant returns the LegitimationToken for the given LegitimationTypeId, whereby your booking-module is identified by the given token. Errors and Warnings are delivered in the given 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_LEGIT_AUTHORISATION_FAILED | The authorization-data is invalid. That means either the booking-modules or the Operator, that was used to create the token, isn't allowed to use this method or to create a LegitimationToken for the given LegitimationTypeId. This error occurs if:
|
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