GET api/Rooms
Obtém a lista de todos os quartos.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Lista de quartos ordenada pelo número.
Collection of RoomName | Description | Type | Additional information |
---|---|---|---|
RoomId | integer |
None. |
|
Number | integer |
None. |
|
Type | integer |
None. |
|
Capacity | integer |
None. |
|
PricePerNight | decimal number |
None. |
|
Status | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "RoomId": 1, "Number": 2, "Type": 3, "Capacity": 4, "PricePerNight": 5.0, "Status": 6 }, { "RoomId": 1, "Number": 2, "Type": 3, "Capacity": 4, "PricePerNight": 5.0, "Status": 6 } ]