GET api/Room/Get
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of roomName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
room_id | string |
None. |
|
room_url | string |
None. |
|
room_price | decimal number |
None. |
|
room_name | string |
None. |
|
room_area | decimal number |
None. |
|
room_floor | integer |
None. |
|
room_type | string |
None. |
|
room_direction | string |
None. |
|
room_balcony | integer |
None. |
|
room_shower | integer |
None. |
|
room_bathroom | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "id": 1, "room_id": "sample string 2", "room_url": "sample string 3", "room_price": 4.0, "room_name": "sample string 5", "room_area": 6.0, "room_floor": 7, "room_type": "sample string 8", "room_direction": "sample string 9", "room_balcony": 10, "room_shower": 11, "room_bathroom": 12 }, { "id": 1, "room_id": "sample string 2", "room_url": "sample string 3", "room_price": 4.0, "room_name": "sample string 5", "room_area": 6.0, "room_floor": 7, "room_type": "sample string 8", "room_direction": "sample string 9", "room_balcony": 10, "room_shower": 11, "room_bathroom": 12 } ]
application/xml, text/xml
Sample:
<ArrayOfroom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Data.Enties"> <room> <id>1</id> <room_area>6</room_area> <room_balcony>10</room_balcony> <room_bathroom>12</room_bathroom> <room_direction>sample string 9</room_direction> <room_floor>7</room_floor> <room_id>sample string 2</room_id> <room_name>sample string 5</room_name> <room_price>4</room_price> <room_shower>11</room_shower> <room_type>sample string 8</room_type> <room_url>sample string 3</room_url> </room> <room> <id>1</id> <room_area>6</room_area> <room_balcony>10</room_balcony> <room_bathroom>12</room_bathroom> <room_direction>sample string 9</room_direction> <room_floor>7</room_floor> <room_id>sample string 2</room_id> <room_name>sample string 5</room_name> <room_price>4</room_price> <room_shower>11</room_shower> <room_type>sample string 8</room_type> <room_url>sample string 3</room_url> </room> </ArrayOfroom>