GET v{version}/rooms/{id}
Gets room by Id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
integer |
integer |
Required |
| version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
The room if found
RoomViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| RoomId | integer |
None. |
|
| Room | string |
None. |
|
| School | string |
None. |
|
| Address | string |
None. |
|
| ZipCode | string |
None. |
|
| Phone | string |
None. |
|
| string |
None. |
Response Formats
application/json, text/json
Sample:
{
"RoomId": 1,
"Room": "sample string 2",
"School": "sample string 3",
"Address": "sample string 5",
"ZipCode": "sample string 6",
"Phone": "sample string 7",
"Email": "sample string 8"
}
application/xml, text/xml
Sample:
<RoomViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpeedadminApi.ViewModels"> <Room>sample string 2</Room> </RoomViewModel>