GET api/Room/SearchAvailable?SearchLatitude={SearchLatitude}&SearchLongtitude={SearchLongtitude}&MeetingStart={MeetingStart}&MeetingFinish={MeetingFinish}&Attendance={Attendance}&MeetingDate={MeetingDate}&PageSize={PageSize}&PageNumber={PageNumber}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SearchLatitude

decimal number

Required

SearchLongtitude

decimal number

Required

MeetingStart

time interval

Required

MeetingFinish

time interval

Required

Attendance

integer

Required

MeetingDate

date

Required

PageSize

integer

None.

PageNumber

integer

None.

Body Parameters

None.

Response Information

Resource Description

SearchAvailableResponse
NameDescriptionTypeAdditional information
Result

ApiResult

None.

SearchResult

Collection of SearchRoom

None.

Page

RoomPageInfo

None.

Response Formats

application/json, text/json

Sample:
{
  "result": {
    "resultCode": 1,
    "resultMessage": "sample string 2"
  },
  "searchResult": [
    {
      "roomId": 1,
      "roomName": "sample string 2",
      "venueName": "sample string 3",
      "address": "sample string 4",
      "distance": 5,
      "capacity": 6,
      "imageUrl": "sample string 7",
      "hourlyRate": 8,
      "grandTotalRate": "sample string 9",
      "grandTotalRateAmount": 10
    },
    {
      "roomId": 1,
      "roomName": "sample string 2",
      "venueName": "sample string 3",
      "address": "sample string 4",
      "distance": 5,
      "capacity": 6,
      "imageUrl": "sample string 7",
      "hourlyRate": 8,
      "grandTotalRate": "sample string 9",
      "grandTotalRateAmount": 10
    }
  ],
  "page": {
    "pageNumber": 1,
    "count": 2
  }
}

text/html

Sample:
{"result":{"resultCode":1,"resultMessage":"sample string 2"},"searchResult":[{"roomId":1,"roomName":"sample string 2","venueName":"sample string 3","address":"sample string 4","distance":5,"capacity":6,"imageUrl":"sample string 7","hourlyRate":8,"grandTotalRate":"sample string 9","grandTotalRateAmount":10},{"roomId":1,"roomName":"sample string 2","venueName":"sample string 3","address":"sample string 4","distance":5,"capacity":6,"imageUrl":"sample string 7","hourlyRate":8,"grandTotalRate":"sample string 9","grandTotalRateAmount":10}],"page":{"pageNumber":1,"count":2}}

application/xml, text/xml

Sample:
<RoomController.SearchAvailableResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers">
  <Page>
    <Count>2</Count>
    <PageNumber>1</PageNumber>
  </Page>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
    <d2p1:ResultCode>1</d2p1:ResultCode>
    <d2p1:ResultMessage>sample string 2</d2p1:ResultMessage>
  </Result>
  <SearchResult xmlns:d2p1="http://schemas.datacontract.org/2004/07/EB.Service.Repositories">
    <d2p1:SearchRoom>
      <d2p1:Address>sample string 4</d2p1:Address>
      <d2p1:Capacity>6</d2p1:Capacity>
      <d2p1:Distance>5</d2p1:Distance>
      <d2p1:GrandTotalRate>sample string 9</d2p1:GrandTotalRate>
      <d2p1:GrandTotalRateAmount>10</d2p1:GrandTotalRateAmount>
      <d2p1:HourlyRate>8</d2p1:HourlyRate>
      <d2p1:ImageUrl>sample string 7</d2p1:ImageUrl>
      <d2p1:RoomId>1</d2p1:RoomId>
      <d2p1:RoomName>sample string 2</d2p1:RoomName>
      <d2p1:VenueName>sample string 3</d2p1:VenueName>
    </d2p1:SearchRoom>
    <d2p1:SearchRoom>
      <d2p1:Address>sample string 4</d2p1:Address>
      <d2p1:Capacity>6</d2p1:Capacity>
      <d2p1:Distance>5</d2p1:Distance>
      <d2p1:GrandTotalRate>sample string 9</d2p1:GrandTotalRate>
      <d2p1:GrandTotalRateAmount>10</d2p1:GrandTotalRateAmount>
      <d2p1:HourlyRate>8</d2p1:HourlyRate>
      <d2p1:ImageUrl>sample string 7</d2p1:ImageUrl>
      <d2p1:RoomId>1</d2p1:RoomId>
      <d2p1:RoomName>sample string 2</d2p1:RoomName>
      <d2p1:VenueName>sample string 3</d2p1:VenueName>
    </d2p1:SearchRoom>
  </SearchResult>
</RoomController.SearchAvailableResponse>