Nuitee API Methods

In this section, we will cover the required methods to perform a hotel booking successfully.

This method confirms the availability of the requested rooms, at a specific hotel, that can accommodate the provided guest count and any other criteria.

ConfirmPropertyAvailabilityRequest
Name Type Required Description
SessionID String True
HotelCode Long True
RateDetailCode Long True
ConfirmedRooms ConfirmedRooms True
ConfirmedRooms.confirmedRooms List<ConfirmedRooms> True
ConfirmedRooms.confirmedRooms.roomCode String True
ConfirmedRooms.confirmedRooms.boardId String True
Timeout String True Timeout in milliseconds (ms).
ConfirmPropertyAvailabilityResponse
Name Type Required Description
ResponseStatus Status True
ResponseStatus.statusCode String True
ResponseStatus.statusMessage String True
SessionID String False
City City True
City.cityCode Long True
City.cityName String True
City.countryName String True
CheckInDate String True Format: yyyy-MM-dd
CheckOutDate String True Format: yyyy-MM-dd
Currency String True Currency ISO code.
RoomGuests RoomGuests True
RoomGuests.roomGuests List<RoomGuest> True
RoomGuests.roomGuests.adultCount Integer True
RoomGuests.roomGuests.childCount Integer True
RoomGuests.roomGuests.childAges Array of Integer False Required if childCount > 0.
AvailableForConfirmedBooking boolean True Represents if hotel is available for confirmed booking.
AvailableForReservedBooking boolean True Represents if hotel is available for reserved booking and can be paid later.
HotelInfo HotelInfo True
HotelInfo.hotelCode Long True
HotelInfo.hotelName String True
HotelInfo.hotelAddress String True
HotelInfo.hotelPictureUrl String True
HotelInfo.hotelDescription String True
HotelInfo.longitude String True
HotelInfo.latitude String True
HotelInfo.starRating Integer True
RoomAvailability RoomAvailability True
RoomAvailability.totalPrice Double True
RoomAvailability.priceChanged boolean True Contains True if price has changed.
RoomAvailability.rooms Rooms True
RoomAvailability.rooms.rooms List<Room> True
RoomAvailability.rooms.rooms.roomCode String True
RoomAvailability.rooms.rooms.adultCount Integer True
RoomAvailability.rooms.rooms.childCount Integer True
RoomAvailability.rooms.rooms.roomDescription String True
RoomAvailability.rooms.rooms.includedBoard Board True
RoomAvailability.rooms.rooms.includedBoard.boardId String True
RoomAvailability.rooms.rooms.includedBoard.boardDescription String True
RoomAvailability.rooms.rooms.includedBoard.price Double True
RoomAvailability.rooms.rooms.boards Boards False
RoomAvailability.rooms.rooms.boards.boards List<Boards> True
RoomAvailability.rooms.rooms.boards.boards.boardId String True
RoomAvailability.rooms.rooms.boards.boards.boardDescription String True
RoomAvailability.rooms.rooms.boards.boards.price Double True
RoomAvailability.rooms.rooms.roomRate RoomRate True
RoomAvailability.rooms.rooms.roomRate.initialPrice Double True
RoomAvailability.rooms.rooms.roomRate.price Double True
RoomAvailability.rooms.rooms.roomRate.initialPricePerNight Array Of Double True
RoomAvailability.rooms.rooms.roomRate.pricePerNight Array Of Double True
RoomAvailability.rooms.rooms.roomRate.promoDescription String False
RoomAvailability.rooms.rooms.roomRate.CancelPoliciesInfos CancelPoliciesInfos True
RoomAvailability.rooms.rooms.roomRate.CancelPoliciesInfos.defaultPolicy String True
RoomAvailability.rooms.rooms.roomRate.CancelPoliciesInfos.hotelRemarks List<String> False
RoomAvailability.rooms.rooms.roomRate.CancelPoliciesInfos.cancellationPolicies List<String> False
RoomAvailability.rooms.rooms.roomRate.CancelPoliciesInfos.cancelPoliciesInfos List<CancelPolicyInfo> True
RoomAvailability.rooms.rooms.roomRate.CancelPoliciesInfos.cancelPoliciesInfos.cancellationPolicy String True
RoomAvailability.rooms.rooms.roomRate.CancelPoliciesInfos.cancelPoliciesInfos.cancelTime String True Format: yyyy-MM-dd HH:mm:ss
RoomAvailability.rooms.rooms.roomRate.CancelPoliciesInfos.cancelPoliciesInfos.amount (*) Double True
RoomAvailability.rooms.rooms.roomRate.CancelPoliciesInfos.cancelPoliciesInfos.type (*) String True Enum: amount, percentage.
RoomAvailability.rooms.rooms.roomRate.CancelPoliciesInfos.refundableTag
RFN: refundable, NRFN: non-refundable, NS: not stated, PRFN: partially refundable.
String True Enum: RFN, NRFN, NS, PRFN
ConfirmPropertyCode String True
Remarks String True
(*): When type is set to ‘amount’, the amount node contains cancellation amount in requested currency; when type is set to ‘percentage’, the amount node contains the cancellation amount in percentage of the total booking price.