GET HotelType/{userGuid}
Returns list of all registered hotel types withing the system
باز گرداندن لیست تمامی نوع هتل هلای ثبت شده درون سیستم
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 HotelTypeVM| Name | Description | Type | Additional information |
|---|---|---|---|
| Code |
Code of the Hotel Type کد نوع هتل |
integer |
None. |
| Name |
Persian Name of the Hotel Type نام فارسی نوع هتل |
string |
None. |
| NameEn |
English Name of the Hotel Type نام انگلیسی نوع هتل |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Code": 1,
"Name": "sample string 2",
"NameEn": "sample string 3"
},
{
"Code": 1,
"Name": "sample string 2",
"NameEn": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfHotelTypeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models.Hotel">
<HotelTypeVM>
<Code>1</Code>
<Name>sample string 2</Name>
<NameEn>sample string 3</NameEn>
</HotelTypeVM>
<HotelTypeVM>
<Code>1</Code>
<Name>sample string 2</Name>
<NameEn>sample string 3</NameEn>
</HotelTypeVM>
</ArrayOfHotelTypeVM>