GET HotelRoom/{hotelCode}/{userGuid}
کلیه اتاق های یک هتل
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| hotelCode |
Code of the desired hotel
|
integer |
Required |
| userGuid |
GUID of the User
|
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of HotelRoomVm| Name | Description | Type | Additional information |
|---|---|---|---|
| HotelCode |
Code of the Hotel whose own the Room کد هتلی که دارنده ی این اتاق ها می باشد |
integer |
None. |
| RoomCode |
Code of the Room whose owned by the Hotel کد نوع اتاقی که هتل آن را در بر گرفته است |
integer |
None. |
| NumberOfRooms |
Count of the total room of this kind that the hotels own تعداد کل اتاق ها از این نوع که هتل دارد |
integer |
None. |
| ExtraBedType |
حالت سرویس اضافه |
ExtraBedType |
None. |
| ChildCountType |
تعداد کودک رایگان |
ChildCountType |
None. |
Response Formats
application/json, text/json
[
{
"HotelCode": 1,
"RoomCode": 2,
"NumberOfRooms": 1,
"ExtraBedType": 0,
"ChildCountType": 0
},
{
"HotelCode": 1,
"RoomCode": 2,
"NumberOfRooms": 1,
"ExtraBedType": 0,
"ChildCountType": 0
}
]
application/xml, text/xml
<ArrayOfHotelRoomVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models">
<HotelRoomVm>
<ChildCountType>None</ChildCountType>
<ExtraBedType>None</ExtraBedType>
<HotelCode>1</HotelCode>
<NumberOfRooms>1</NumberOfRooms>
<RoomCode>2</RoomCode>
</HotelRoomVm>
<HotelRoomVm>
<ChildCountType>None</ChildCountType>
<ExtraBedType>None</ExtraBedType>
<HotelCode>1</HotelCode>
<NumberOfRooms>1</NumberOfRooms>
<RoomCode>2</RoomCode>
</HotelRoomVm>
</ArrayOfHotelRoomVm>