POST api/Search/Find

Request Information

URI Parameters

None.

Body Parameters

SearchFilterViewModel
NameDescriptionTypeAdditional information
SelectedVenueTypes

Collection of string

None.

EventTypeId

integer

None.

CityId

integer

None.

PackageTypeId

integer

None.

Budget

decimal number

None.

CapacityArrangementId

integer

None.

MaxAttendee

integer

None.

ArrangementType

ArrangementTypeEnum

None.

CloseToBtsMrt

boolean

None.

VenueName

string

None.

AreaId

integer

None.

PageNum

integer

None.

PlaceId

string

None.

SearchAreaType

SearchAreaType

None.

ImageWidth

integer

None.

ImageHeight

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "selectedVenueTypes": [
    "sample string 1",
    "sample string 2"
  ],
  "eventTypeId": 1,
  "cityId": 1,
  "packageTypeId": 1,
  "budget": 1.1,
  "capacityArrangementId": 1,
  "maxAttendee": 1,
  "arrangementType": 1,
  "closeToBtsMrt": true,
  "venueName": "sample string 1",
  "areaId": 1,
  "pageNum": 1,
  "placeId": "sample string 2",
  "searchAreaType": 0,
  "imageWidth": 1,
  "imageHeight": 1
}

text/html

Sample:
{"selectedVenueTypes":["sample string 1","sample string 2"],"eventTypeId":1,"cityId":1,"packageTypeId":1,"budget":1.1,"capacityArrangementId":1,"maxAttendee":1,"arrangementType":1,"closeToBtsMrt":true,"venueName":"sample string 1","areaId":1,"pageNum":1,"placeId":"sample string 2","searchAreaType":0,"imageWidth":1,"imageHeight":1}

application/xml, text/xml

Sample:
<SearchFilterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Models">
  <AreaId>1</AreaId>
  <ArrangementType>Sit</ArrangementType>
  <Budget>1.1</Budget>
  <CapacityArrangementId>1</CapacityArrangementId>
  <CityId>1</CityId>
  <CloseToBtsMrt>true</CloseToBtsMrt>
  <EventTypeId>1</EventTypeId>
  <ImageHeight>1</ImageHeight>
  <ImageWidth>1</ImageWidth>
  <MaxAttendee>1</MaxAttendee>
  <PackageTypeId>1</PackageTypeId>
  <PageNum>1</PageNum>
  <PlaceId>sample string 2</PlaceId>
  <SearchAreaType>ResultNotFound</SearchAreaType>
  <SelectedVenueTypes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </SelectedVenueTypes>
  <VenueName>sample string 1</VenueName>
</SearchFilterViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiSearchVenueView
NameDescriptionTypeAdditional information
TotalVenues

integer

None.

HasNext

boolean

None.

NextPage

integer

None.

Venues

Collection of ApiSearchVenueCardView

None.

Response Formats

application/json, text/json

Sample:
{
  "totalVenues": 1,
  "hasNext": true,
  "nextPage": 1,
  "venues": [
    {
      "venueId": 1,
      "venueName": "sample string 2",
      "closeToBts": "sample string 3",
      "distanceToBts": 1.1,
      "closeToMrt": "sample string 4",
      "distanceToMrt": 1.1,
      "venueTypes": "sample string 5",
      "thumbnailImage": "sample string 6",
      "packageTypes": "sample string 7",
      "maxPrice": 1.1,
      "minPrice": 1.1,
      "sitMax": 1,
      "sitMin": 1,
      "standMax": 1,
      "standMin": 1,
      "images": [
        "sample string 1",
        "sample string 2"
      ],
      "areaName": "sample string 8"
    },
    {
      "venueId": 1,
      "venueName": "sample string 2",
      "closeToBts": "sample string 3",
      "distanceToBts": 1.1,
      "closeToMrt": "sample string 4",
      "distanceToMrt": 1.1,
      "venueTypes": "sample string 5",
      "thumbnailImage": "sample string 6",
      "packageTypes": "sample string 7",
      "maxPrice": 1.1,
      "minPrice": 1.1,
      "sitMax": 1,
      "sitMin": 1,
      "standMax": 1,
      "standMin": 1,
      "images": [
        "sample string 1",
        "sample string 2"
      ],
      "areaName": "sample string 8"
    }
  ]
}

text/html

Sample:
{"totalVenues":1,"hasNext":true,"nextPage":1,"venues":[{"venueId":1,"venueName":"sample string 2","closeToBts":"sample string 3","distanceToBts":1.1,"closeToMrt":"sample string 4","distanceToMrt":1.1,"venueTypes":"sample string 5","thumbnailImage":"sample string 6","packageTypes":"sample string 7","maxPrice":1.1,"minPrice":1.1,"sitMax":1,"sitMin":1,"standMax":1,"standMin":1,"images":["sample string 1","sample string 2"],"areaName":"sample string 8"},{"venueId":1,"venueName":"sample string 2","closeToBts":"sample string 3","distanceToBts":1.1,"closeToMrt":"sample string 4","distanceToMrt":1.1,"venueTypes":"sample string 5","thumbnailImage":"sample string 6","packageTypes":"sample string 7","maxPrice":1.1,"minPrice":1.1,"sitMax":1,"sitMin":1,"standMax":1,"standMin":1,"images":["sample string 1","sample string 2"],"areaName":"sample string 8"}]}

application/xml, text/xml

Sample:
<ApiSearchVenueView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Service.Contracts.Api">
  <HasNext>true</HasNext>
  <NextPage>1</NextPage>
  <TotalVenues>1</TotalVenues>
  <Venues>
    <ApiSearchVenueCardView>
      <AreaName>sample string 8</AreaName>
      <CloseToBts>sample string 3</CloseToBts>
      <CloseToMrt>sample string 4</CloseToMrt>
      <DistanceToBts>1.1</DistanceToBts>
      <DistanceToMrt>1.1</DistanceToMrt>
      <Images xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Images>
      <MaxPrice>1.1</MaxPrice>
      <MinPrice>1.1</MinPrice>
      <PackageTypes>sample string 7</PackageTypes>
      <SitMax>1</SitMax>
      <SitMin>1</SitMin>
      <StandMax>1</StandMax>
      <StandMin>1</StandMin>
      <ThumbnailImage>sample string 6</ThumbnailImage>
      <VenueId>1</VenueId>
      <VenueName>sample string 2</VenueName>
      <VenueTypes>sample string 5</VenueTypes>
    </ApiSearchVenueCardView>
    <ApiSearchVenueCardView>
      <AreaName>sample string 8</AreaName>
      <CloseToBts>sample string 3</CloseToBts>
      <CloseToMrt>sample string 4</CloseToMrt>
      <DistanceToBts>1.1</DistanceToBts>
      <DistanceToMrt>1.1</DistanceToMrt>
      <Images xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </Images>
      <MaxPrice>1.1</MaxPrice>
      <MinPrice>1.1</MinPrice>
      <PackageTypes>sample string 7</PackageTypes>
      <SitMax>1</SitMax>
      <SitMin>1</SitMin>
      <StandMax>1</StandMax>
      <StandMin>1</StandMin>
      <ThumbnailImage>sample string 6</ThumbnailImage>
      <VenueId>1</VenueId>
      <VenueName>sample string 2</VenueName>
      <VenueTypes>sample string 5</VenueTypes>
    </ApiSearchVenueCardView>
  </Venues>
</ApiSearchVenueView>