GET /RoomType/DetailroomTypeId (integer): The ID of the room type for which details are to be retrieved.types (array of objects)facilityTypeId (integer): The ID of the facility type.roomTypeId (integer): The ID of the room type.roomType (string): The name of the room type.summary (string): The summary of the room type.adult (integer): The maximum number of adults allowed in the room.children (integer): The maximum number of children allowed in the room.currencySymbol (string): The currency symbol for the room rate.rateId (integer): The ID of the room rate.rate (integer): The room rate.available (integer): The number of available rooms.image1 to image8 (string): URLs of room images.errorCode (integer): The error code, if any.errorMessage (string): The error message, if any.curl --location --request GET 'https://guestapi.roomability.io/RoomType/Detail?roomTypeId=1' \
--header 'X-API-Key: {{api-key}}' \
--header 'Content-Type: application/json'{
"type": {
"facilityTypeId": 1,
"roomTypeId": 1,
"roomType": "First Class Suite",
"detail": "",
"adult": 2,
"children": 2,
"currencySymbol": "₦",
"rateId": 1,
"rate": 60000,
"available": 0,
"image1": "https://api.reservations.ng/images/hotels/room-placeholder.png",
"image2": "https://api.reservations.ng/images/hotels/room-placeholder.png",
"image3": "https://api.reservations.ng/images/hotels/room-placeholder.png",
"image4": "https://api.reservations.ng/images/hotels/room-placeholder.png",
"image5": "",
"image6": "",
"image7": "",
"image8": ""
},
"errorCode": 0,
"errorMessage": "Successfully retrieved room types."
}