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
Unique reservation ID from the internal system.
Hotel ID
Check-in day. (ISO 8601)
Check-out day. (ISO 8601)
Number of nights.
Reservation status [CONFIRMED or CANCELLED].
Primary guest's name.
Primary guest's CPF.
Primary guest's email.
Currency. (ISO 4217 code)
Value without taxes.
Tax amount.
Number of adults.
Number of children.
List with the children's ages.
Room name.
Rate plan name.
Meal plan.
Hotel Name
Reservation source.
ID known by the guest.
Indicates if the rate is non-refundable.
Day the penalty starts if the reservation is refundable. (ISO 8601)
Commission value.
Reservation comments.
Guest journey status [CHECKED_IN, CHECKED_OUT, NO_SHOW, CONFIRMED or CANCELLED].
Primary guest's ID from your system.
Primary guest's passport number.
Primary guest's nationality (two-letter ISO code).
{
"externalId": "string",
"hotelId": "string",
"startDate": "string",
"endDate": "string",
"numberOfNights": 0,
"status": "string",
"primaryGuestName": "string",
"primaryGuestCpf": "string",
"primaryGuestEmail": "string",
"currency": "string",
"netPrice": 0,
"taxesPrice": 0,
"adultCount": 0,
"childrenCount": 0,
"childrenAges": [
0
],
"roomDescription": "string",
"ratePlanName": "string",
"meal": "string",
"hotelName": "string",
"source": "string",
"locator": "string",
"isNonRefundable": true,
"penaltyDate": "string",
"comissionPrice": 0,
"comment": "string",
"guestJourneyStatus": "string",
"primartGuestExternalId": "string",
"primaryGuestPassport": "string",
"primaryGuestNationality": "string",
"reservationId": "string"
}