GET api/RoomDraw?status={status}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
status

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Room
NameDescriptionTypeAdditional information
Building

string

None.

BuildingDescription

string

None.

RoomNumber

string

None.

RoomDescription

string

None.

RoomType

string

None.

Category

string

None.

Campus

string

None.

Session

string

None.

Year

integer

None.

MaxOccupancy

integer

None.

CurrentOccupancy

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Building": "sample string 1",
    "BuildingDescription": "sample string 2",
    "RoomNumber": "sample string 3",
    "RoomDescription": "sample string 4",
    "RoomType": "sample string 5",
    "Category": "sample string 6",
    "Campus": "sample string 7",
    "Session": "sample string 8",
    "Year": 9,
    "MaxOccupancy": 10,
    "CurrentOccupancy": 11
  },
  {
    "Building": "sample string 1",
    "BuildingDescription": "sample string 2",
    "RoomNumber": "sample string 3",
    "RoomDescription": "sample string 4",
    "RoomType": "sample string 5",
    "Category": "sample string 6",
    "Campus": "sample string 7",
    "Session": "sample string 8",
    "Year": 9,
    "MaxOccupancy": 10,
    "CurrentOccupancy": 11
  }
]

text/javascript

Sample:
[{"Building":"sample string 1","BuildingDescription":"sample string 2","RoomNumber":"sample string 3","RoomDescription":"sample string 4","RoomType":"sample string 5","Category":"sample string 6","Campus":"sample string 7","Session":"sample string 8","Year":9,"MaxOccupancy":10,"CurrentOccupancy":11},{"Building":"sample string 1","BuildingDescription":"sample string 2","RoomNumber":"sample string 3","RoomDescription":"sample string 4","RoomType":"sample string 5","Category":"sample string 6","Campus":"sample string 7","Session":"sample string 8","Year":9,"MaxOccupancy":10,"CurrentOccupancy":11}]

application/xml, text/xml

Sample:
<ArrayOfRoom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pomona.WebApi.Models">
  <Room>
    <Building>sample string 1</Building>
    <BuildingDescription>sample string 2</BuildingDescription>
    <Campus>sample string 7</Campus>
    <Category>sample string 6</Category>
    <CurrentOccupancy>11</CurrentOccupancy>
    <MaxOccupancy>10</MaxOccupancy>
    <RoomDescription>sample string 4</RoomDescription>
    <RoomNumber>sample string 3</RoomNumber>
    <RoomType>sample string 5</RoomType>
    <Session>sample string 8</Session>
    <Year>9</Year>
  </Room>
  <Room>
    <Building>sample string 1</Building>
    <BuildingDescription>sample string 2</BuildingDescription>
    <Campus>sample string 7</Campus>
    <Category>sample string 6</Category>
    <CurrentOccupancy>11</CurrentOccupancy>
    <MaxOccupancy>10</MaxOccupancy>
    <RoomDescription>sample string 4</RoomDescription>
    <RoomNumber>sample string 3</RoomNumber>
    <RoomType>sample string 5</RoomType>
    <Session>sample string 8</Session>
    <Year>9</Year>
  </Room>
</ArrayOfRoom>