Documentation of the CarRentalAgentService

CarRentalAgentService. Method 

Retrieves the necessary data to create reservations using the bonus programs accepted by sunnycars.

public ValidBonusProgramsResponse (
   ValidBonusProgramsRequest request
);

Parameters

ValidBonusProgramsRequest
A ValidBonusProgramsRequest containing the nessessary request data.

Return Value

A ValidBonusProgramsResponse containing the requested bonus programs.

Remarks

Only the valid bonus programs that are returned by this webservice call are applicable for use in CreateReservatoionV2Request.BonusProviderCode.

List Of defined call-variants

parameters GetValidBonusProgramsP1
token required


Description : This variant returns all bonus programs available at CarRentalAgentService.

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_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.

See Also

CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace