Retrieves a car rental Reservation.
A ReservationResponse containing the requested Reservation.
Use this method to retrieve a car rental Reservation previously made at Sunny Cars. This method typically is used to query the status of a reservation made.
| parameters | GetReservationP1 | GetReservationP2 |
|---|---|---|
| token | required | required |
| id | required | required |
| languageCode | not applicable | optional |
| Description : | This variant returns a car rental Reservation in the language of the Agency(Operator) the used token has been created for. | This variant returns a car rental Reservation in the requested language. |
| 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_RES_ID_INVALID | The requested reservation is not known by the system. |
| E_RESERVATION_NOT_FOUND | The requested reservation was not found. |
| E_NOT_THE_OWNER | The Agency(Operator) for which the used token has been created for, is not the owner(creator) of the Reservation identified by the given reservationId. |
| E_REQUEST_INVALID | The performed request is invalid or malformed. |
| Warning Code | Description |
|---|---|
| W_LANGUAGE_NOT_SUPPORTED | The requested language code is not supported for localization. Using default language instead. |
CarRentalAgentService Class | SunnyCars.Services.Osi.WsReservation Namespace