GET HotelType/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

NameDescriptionTypeAdditional information
userGuid

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

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of 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"
  },
  {
    "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>