GET HotelType/{hotelTypeCode}/{userGuid}

Find and return an object representing a hotel type information by that hotel type code

پیدا کردن و باز گرداندم یک شی که معرف اطلاعات یک نوع هتل می باشد توسط کد آن نوع هتل

Request Information

URI Parameters

NameDescriptionTypeAdditional information
hotelTypeCode

Code of the desired hotel type
کد نوع هتل مد نظر

integer

Required

userGuid

GUID of the User
شناسه GUID کاربر

string

Required

Body Parameters

None.

Response Information

Resource Description

HotelTypeVM
NameDescriptionTypeAdditional 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"
}

application/xml, text/xml

Sample:
<HotelTypeVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AlaedinApi.Models.Hotel">
  <Code>1</Code>
  <Name>sample string 2</Name>
  <NameEn>sample string 3</NameEn>
</HotelTypeVM>