External Reservation Retrieval
GET/v1/api/externalReservation/:reservationId
Endpoint to retrieve external hotel reservations from the Niara system using an external reservation ID.
Returns detailed information about the reservation, including guest details, booking status, and room information.
Request
Path Parameters
Niara's external reservation ID (reservationId returned on CreateExternalReservation).
Responses
- 200
GetExternalReservationResponse()
- application/json
- Schema
- Example (from schema)
Schema
Niara's external reservation ID.
Unique reservation ID from your external system.
Unique reservation ID from the Niara system.
Hotel ID.
Check-in date (ISO 8601 format).
Check-out date (ISO 8601 format).
Number of nights.
Reservation status [CONFIRMED or CANCELLED].
Reservation source.
Primary guest name.
Primary guest CPF.
Primary guest email.
Currency. (ISO 4217 code)
Net price of the reservation.
Reservation taxes price.
Number of adults in the reservation.
Number of children in the reservation.
List of children's ages in the reservation.
Reservation room name.
Reservation rate plan name.
Indicates if the reservation is non-refundable, true if the reservation is non-refundable.
Date on which the cancellation penalty applies, if the reservation is refundable. (ISO 8601)
Meal plan.
Comission price.
Reservation comments.
Guest Journey Status [CHECKED_IN, CHECKED_OUT, NO_SHOW].
Your system's external ID for the primary guest.
Primary guest passport number.
Nationality of the primary guest (ISO 3166-1 alpha-2 country code).
{
"reservationId": "string",
"externalId": "string",
"locator": "string",
"hotelId": "string",
"startDate": "string",
"endDate": "string",
"numberOfNights": 0,
"status": "string",
"source": "string",
"primaryGuestName": "string",
"primaryGuestCpf": "string",
"primaryGuestEmail": "string",
"currency": "string",
"netPrice": 0,
"taxesPrice": 0,
"adultCount": 0,
"childrenCount": 0,
"childrenAges": [
0
],
"roomDescription": "string",
"ratePlanName": "string",
"isNonRefundable": true,
"penaltyDate": "string",
"meal": "string",
"comissionPrice": 0,
"comment": "string",
"guestJourneyStatus": "string",
"primaryGuestExternalId": "string",
"primaryGuestPassport": "string",
"primaryGuestNationality": "string"
}