GET API/RoomShifting/FromRooms/{HotelId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| HotelId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of FromRoom| Name | Description | Type | Additional information |
|---|---|---|---|
| label | string |
None. |
|
| RoomNo | string |
None. |
|
| Plan | string |
None. |
|
| RoomId | integer |
None. |
|
| ChkinDtlsId | integer |
None. |
|
| ChkInHeaderId | integer |
None. |
|
| GuestId | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"label": "sample string 1",
"RoomNo": "sample string 2",
"Plan": "sample string 3",
"RoomId": 4,
"ChkinDtlsId": 1,
"ChkInHeaderId": 1,
"GuestId": 1
},
{
"label": "sample string 1",
"RoomNo": "sample string 2",
"Plan": "sample string 3",
"RoomId": 4,
"ChkinDtlsId": 1,
"ChkInHeaderId": 1,
"GuestId": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfFromRoom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HMSApi.Models">
<FromRoom>
<ChkInHeaderId>1</ChkInHeaderId>
<ChkinDtlsId>1</ChkinDtlsId>
<GuestId>1</GuestId>
<Plan>sample string 3</Plan>
<RoomId>4</RoomId>
<RoomNo>sample string 2</RoomNo>
<label>sample string 1</label>
</FromRoom>
<FromRoom>
<ChkInHeaderId>1</ChkInHeaderId>
<ChkinDtlsId>1</ChkinDtlsId>
<GuestId>1</GuestId>
<Plan>sample string 3</Plan>
<RoomId>4</RoomId>
<RoomNo>sample string 2</RoomNo>
<label>sample string 1</label>
</FromRoom>
</ArrayOfFromRoom>