GET HotelRoom/OData/{userGuid}
Provides some of OData Features. Refer to following link for usage.
فراهم آوری برخی از امکانات موجود در OData. برای استفاده به لینک زیر رجوع شود
https://docs.microsoft.com/en-us/aspnet/web-api/overview/odata-support-in-aspnet-web-api/supporting-odata-query-options
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
userGuid |
GUID of the User
|
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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 }, { "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>