GET api/GetUserHotelByUser?userName={userName}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userName

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of UserHotel
NameDescriptionTypeAdditional information
HotelName

string

None.

RoleName

string

None.

Exists

boolean

None.

ID

integer

None.

RoleId

integer

None.

UserName

string

None.

HotelId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "HotelName": "sample string 1",
    "RoleName": "Eingi rættindi",
    "Exists": true,
    "ID": 3,
    "RoleId": 4,
    "UserName": "sample string 5",
    "HotelId": 6
  },
  {
    "$ref": "1"
  }
]