GET v{version}/rooms

Gets active rooms

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

string

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RoomViewModel
NameDescriptionTypeAdditional information
RoomId

integer

None.

Room

string

None.

School

string

None.

Address

string

None.

ZipCode

string

None.

Phone

string

None.

Email

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"
  },
  {
    "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:
<ArrayOfRoomViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SpeedadminApi.ViewModels">
  <RoomViewModel>
    <Room>sample string 2</Room>
  </RoomViewModel>
  <RoomViewModel>
    <Room>sample string 2</Room>
  </RoomViewModel>
</ArrayOfRoomViewModel>