Documentation of the CarRentalAgentService

CarRentalAgentService. Method 

Retrieves a list of car rental Reservations.

public ReservationListResponse (
   ReservationListRequest request
);

Parameters

ReservationListRequest
A ReservationListRequest containing the necessary reference data.

Return Value

A ReservationListResponse containing the requested Reservations.

Remarks

Use this method to retrieve a list of car rental Reservations previously made at Sunny Cars. This method typically is used to query the status of a reservation made.

Attention:
The number of Reservation delivered by this method is limited due to performance reasons. Another limitation is controled by the request-parameters in the following manner. The ReservationListResponse will contain exclusively those Reservations starting in the future(DepartureDateTime later than today), if none of the date-time search-parameters and none of the driver-data-parameters is set.

///

List Of defined call-variants

parameters GetReservationListP1
token required
languageCode optional
travelAgentCode optional
rentalIntervalFromDateTime optional
rentalIntervalToDateTime optional
bookingIntervalFromDateTime optional
bookingIntervalToDateTime optional
driverFirstName optional
driverLastName optional
reservationStatus optional
bookingOfTypeAgency optional
bookingOfTypeDirect optional
bookingOfTypeDirectLink optional
bookingOfTypeBroker optional


Description : This variant returns a list of car rental reservations in the requested language. Thererby all of them are created by the operator(Agnecy), the used token has been created for.

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_RESERVATION_NOT_FOUND The requested reservation was not found.
E_REQUEST_INVALID The performed request is invalid or malformed.

See Also

CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace