GET HotelRoom/{hotelCode}/{roomCode}/{userGuid}
Returns a relationship model that links a hotel to a room
یک مدل رابطه ای بین اتاق و هتل را بر می گرداند
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
hotelCode |
Code of the desired hotel
|
integer |
Required |
roomCode |
Code of the desired room type
|
integer |
Required |
userGuid |
GUID of the User
|
string |
Required |
Body Parameters
None.
Response Information
Resource Description
HotelRoomVmName | 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 }
application/xml, text/xml
<HotelRoomVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models"> <ChildCountType>None</ChildCountType> <ExtraBedType>None</ExtraBedType> <HotelCode>1</HotelCode> <NumberOfRooms>1</NumberOfRooms> <RoomCode>2</RoomCode> </HotelRoomVm>