GET hotels/{hotelId}/guests/roominquiry?key={key}&roomNumber={roomNumber}

Gets GuestInRoomInfo by its Room Number for the hotel specified

Request Information

URI Parameters

NameDescriptionTypeAdditional information
hotelId

Hotel-Id => checked against the calling applications permissions

string

Required

key

API - Key identifying the caller

string

Required

roomNumber

A number identifying the room where the guest is hosted

string

Required

Body Parameters

None.

Response Information

Resource Description

GuestInRoomInfo

GuestInRoomInfo
NameDescriptionTypeAdditional information
RoomNumber

RoomNumber

string

None.

Credit

Available Credit

string

None.

Name

Last Name of Guest

string

None.

Response Formats

application/json, text/json

Sample:
{
  "RoomNumber": "sample string 1",
  "Credit": "sample string 2",
  "Name": "sample string 3"
}

application/xml, text/xml

Sample:
<GuestInRoomInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RoomKeyAPI.Models">
  <Credit>sample string 2</Credit>
  <Name>sample string 3</Name>
  <RoomNumber>sample string 1</RoomNumber>
</GuestInRoomInfo>