GET Room/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 HotelRoomVm| Name | Description | Type | Additional information |
|---|---|---|---|
| Code |
Room Code کد اتاق |
integer |
None. |
| Name |
Room name in Persian نام اتاق به فارسی |
string |
None. |
| NameEn |
Room Name in English نام اتاق به انگلیسی |
string |
None. |
| MaxCapacity |
Maximum capacity of passengers in the room بالاترین ظرفیت مسافران، درون اتاق |
integer |
None. |
Response Formats
application/json, text/json
[
{
"Code": 1,
"Name": "sample string 2",
"NameEn": "sample string 3",
"MaxCapacity": 1
},
{
"Code": 1,
"Name": "sample string 2",
"NameEn": "sample string 3",
"MaxCapacity": 1
}
]
application/xml, text/xml
<ArrayOfHotelRoomVm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models.Hotel">
<HotelRoomVm>
<Code>1</Code>
<MaxCapacity>1</MaxCapacity>
<Name>sample string 2</Name>
<NameEn>sample string 3</NameEn>
</HotelRoomVm>
<HotelRoomVm>
<Code>1</Code>
<MaxCapacity>1</MaxCapacity>
<Name>sample string 2</Name>
<NameEn>sample string 3</NameEn>
</HotelRoomVm>
</ArrayOfHotelRoomVm>