Retrieves the necessary data to create reservations using the bonus programs accepted by sunnycars.
A ValidBonusProgramsResponse containing the requested bonus programs.
Only the valid bonus programs that are returned by this webservice call are applicable for use in CreateReservatoionV2Request.BonusProviderCode.
| parameters | GetValidBonusProgramsP1 |
|---|---|
| token | required |
| Description : | This variant returns all bonus programs available at CarRentalAgentService. |
| 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_BONUS_PROGRAM_NOT_FOUND | Due to the fact, that the applicable bonus programs may be restricted upon agreement between sunnycars and a webservice-consumer/an Agency it is possible that there's no valid bonus program, which is indicated by this error. |
| E_REQUEST_INVALID | The performed request is invalid or malformed. |
CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace