Documentation of the CarRentalAgentService

CarRentalAgentService. Method 

Retrieves a list of AllowedBookingTypes and AllowedPaymentTypes specific to a given operator identified by the token(Ticket).

public AllowedPaymentMethodsResponse (
   AllowedPaymentMethodsRequest request
);

Parameters

AllowedPaymentMethodsRequest
A AllowedPaymentMethodsRequest containing the nessessary request data.

Return Value

A AllowedPaymentMethodsResponse containing the requested AllowedPaymentTypes.

Remarks

This Request should be used whenever the allowed Payment-methods are of interest.

List Of defined call-variants

parameters GetTermsAndConditionsP1
token required
languageCode optional


Description : This variant returns the AllowedPaymentTypes identified by the given parameters.

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_CUST_ACCOUNT_NOT_FOUND The requested AllowedPaymentTypes cannot be found.
E_REQUEST_INVALID The performed request is invalid or malformed.

List Of Warnings Returned

Warning Code Description
W_LANGUAGE_NOT_SUPPORTED The requested language code is not supported for localization. Using default language instead.

See Also

CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace