Documentation of the CarRentalAgentService

CarRentalAgentService. Method 

Retrieves a list of GeneralTermsAndConditions.

public TermsAndConditonsResponse (
   TermsAndConditonsRequest request
);

Parameters

TermsAndConditonsRequest
A TermsAndConditonsRequest containing the nessessary request data.

Return Value

A TermsAndConditonsResponse containing the requested GeneralTermsAndConditions.

Remarks

This Request should be used whenever general terms an conditions are of interest.

List Of defined call-variants

parameters GetTermsAndConditionsP1
token required
languageCode optional
reservationId optional
specificDateTime optional


Description : This variant returns the GeneralTermsAndConditions 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_GTC_NOT_FOUND The requested GeneralTermsAndConditions 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