GET HotelRoom/{userGuid}

Fetch whole data relationship between room type and hotel

دریافت کلیه رابطه ها میان نوع اتاق ها و هتل ها

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userGuid

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

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of HotelRoomVm
NameDescriptionTypeAdditional 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

Sample:
[
  {
    "HotelCode": 1,
    "RoomCode": 2,
    "NumberOfRooms": 1,
    "ExtraBedType": 0,
    "ChildCountType": 0
  },
  {
    "HotelCode": 1,
    "RoomCode": 2,
    "NumberOfRooms": 1,
    "ExtraBedType": 0,
    "ChildCountType": 0
  }
]

application/xml, text/xml

Sample:
<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>