GET api/Search/GetFilters?advance={advance}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
advance

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

SearchFilterView
NameDescriptionTypeAdditional information
EventTypes

Collection of SearchFilterEventTypeView

None.

VenueTypes

Collection of SearchFilterVenueTypeView

None.

PackageTypes

Collection of SearchFilterPackageTypeView

None.

Cities

Collection of SearchFilterCityView

None.

ArrangementTypes

Collection of SearchFilterArrangementTypeView

None.

RecommendedVenueTypes

Collection of SearchFilterRecommendedVenueTypeView

None.

Response Formats

application/json, text/json

Sample:
{
  "eventTypes": [
    {
      "eventTypeId": 1,
      "nameTh": "sample string 2",
      "nameEn": "sample string 3"
    },
    {
      "eventTypeId": 1,
      "nameTh": "sample string 2",
      "nameEn": "sample string 3"
    }
  ],
  "venueTypes": [
    {
      "venueTypeId": 1,
      "nameTh": "sample string 2",
      "nameEn": "sample string 3"
    },
    {
      "venueTypeId": 1,
      "nameTh": "sample string 2",
      "nameEn": "sample string 3"
    }
  ],
  "packageTypes": [
    {
      "typeId": 1,
      "typeTh": "sample string 2",
      "typeEn": "sample string 3",
      "packages": [
        {
          "packageId": 1,
          "nameTh": "sample string 2",
          "nameEn": "sample string 3"
        },
        {
          "packageId": 1,
          "nameTh": "sample string 2",
          "nameEn": "sample string 3"
        }
      ]
    },
    {
      "typeId": 1,
      "typeTh": "sample string 2",
      "typeEn": "sample string 3",
      "packages": [
        {
          "packageId": 1,
          "nameTh": "sample string 2",
          "nameEn": "sample string 3"
        },
        {
          "packageId": 1,
          "nameTh": "sample string 2",
          "nameEn": "sample string 3"
        }
      ]
    }
  ],
  "cities": [
    {
      "cityId": 1,
      "nameTh": "sample string 2",
      "nameEn": "sample string 3"
    },
    {
      "cityId": 1,
      "nameTh": "sample string 2",
      "nameEn": "sample string 3"
    }
  ],
  "arrangementTypes": [
    {
      "arrangementTypeId": 1,
      "nameTh": "sample string 2",
      "nameEn": "sample string 3"
    },
    {
      "arrangementTypeId": 1,
      "nameTh": "sample string 2",
      "nameEn": "sample string 3"
    }
  ],
  "recommendedVenueTypes": [
    {
      "name": "sample string 1",
      "venueTypes": [
        {
          "venueTypeId": 1,
          "nameTh": "sample string 2",
          "nameEn": "sample string 3"
        },
        {
          "venueTypeId": 1,
          "nameTh": "sample string 2",
          "nameEn": "sample string 3"
        }
      ]
    },
    {
      "name": "sample string 1",
      "venueTypes": [
        {
          "venueTypeId": 1,
          "nameTh": "sample string 2",
          "nameEn": "sample string 3"
        },
        {
          "venueTypeId": 1,
          "nameTh": "sample string 2",
          "nameEn": "sample string 3"
        }
      ]
    }
  ]
}

text/html

Sample:
{"eventTypes":[{"eventTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"eventTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}],"venueTypes":[{"venueTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"venueTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}],"packageTypes":[{"typeId":1,"typeTh":"sample string 2","typeEn":"sample string 3","packages":[{"packageId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"packageId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}]},{"typeId":1,"typeTh":"sample string 2","typeEn":"sample string 3","packages":[{"packageId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"packageId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}]}],"cities":[{"cityId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"cityId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}],"arrangementTypes":[{"arrangementTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"arrangementTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}],"recommendedVenueTypes":[{"name":"sample string 1","venueTypes":[{"venueTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"venueTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}]},{"name":"sample string 1","venueTypes":[{"venueTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"},{"venueTypeId":1,"nameTh":"sample string 2","nameEn":"sample string 3"}]}]}

application/xml, text/xml

Sample:
<SearchController.SearchFilterView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EB.Api.Controllers">
  <ArrangementTypes>
    <SearchController.SearchFilterArrangementTypeView>
      <ArrangementTypeId>1</ArrangementTypeId>
      <NameEn>sample string 3</NameEn>
      <NameTh>sample string 2</NameTh>
    </SearchController.SearchFilterArrangementTypeView>
    <SearchController.SearchFilterArrangementTypeView>
      <ArrangementTypeId>1</ArrangementTypeId>
      <NameEn>sample string 3</NameEn>
      <NameTh>sample string 2</NameTh>
    </SearchController.SearchFilterArrangementTypeView>
  </ArrangementTypes>
  <Cities>
    <SearchController.SearchFilterCityView>
      <CityId>1</CityId>
      <NameEn>sample string 3</NameEn>
      <NameTh>sample string 2</NameTh>
    </SearchController.SearchFilterCityView>
    <SearchController.SearchFilterCityView>
      <CityId>1</CityId>
      <NameEn>sample string 3</NameEn>
      <NameTh>sample string 2</NameTh>
    </SearchController.SearchFilterCityView>
  </Cities>
  <EventTypes>
    <SearchController.SearchFilterEventTypeView>
      <EventTypeId>1</EventTypeId>
      <NameEn>sample string 3</NameEn>
      <NameTh>sample string 2</NameTh>
    </SearchController.SearchFilterEventTypeView>
    <SearchController.SearchFilterEventTypeView>
      <EventTypeId>1</EventTypeId>
      <NameEn>sample string 3</NameEn>
      <NameTh>sample string 2</NameTh>
    </SearchController.SearchFilterEventTypeView>
  </EventTypes>
  <PackageTypes>
    <SearchController.SearchFilterPackageTypeView>
      <Packages>
        <SearchController.SearchFilterPackageView>
          <NameEn>sample string 3</NameEn>
          <NameTh>sample string 2</NameTh>
          <PackageId>1</PackageId>
        </SearchController.SearchFilterPackageView>
        <SearchController.SearchFilterPackageView>
          <NameEn>sample string 3</NameEn>
          <NameTh>sample string 2</NameTh>
          <PackageId>1</PackageId>
        </SearchController.SearchFilterPackageView>
      </Packages>
      <TypeEn>sample string 3</TypeEn>
      <TypeId>1</TypeId>
      <TypeTh>sample string 2</TypeTh>
    </SearchController.SearchFilterPackageTypeView>
    <SearchController.SearchFilterPackageTypeView>
      <Packages>
        <SearchController.SearchFilterPackageView>
          <NameEn>sample string 3</NameEn>
          <NameTh>sample string 2</NameTh>
          <PackageId>1</PackageId>
        </SearchController.SearchFilterPackageView>
        <SearchController.SearchFilterPackageView>
          <NameEn>sample string 3</NameEn>
          <NameTh>sample string 2</NameTh>
          <PackageId>1</PackageId>
        </SearchController.SearchFilterPackageView>
      </Packages>
      <TypeEn>sample string 3</TypeEn>
      <TypeId>1</TypeId>
      <TypeTh>sample string 2</TypeTh>
    </SearchController.SearchFilterPackageTypeView>
  </PackageTypes>
  <RecommendedVenueTypes>
    <SearchController.SearchFilterRecommendedVenueTypeView>
      <Name>sample string 1</Name>
      <VenueTypes>
        <SearchController.SearchFilterVenueTypeView>
          <NameEn>sample string 3</NameEn>
          <NameTh>sample string 2</NameTh>
          <VenueTypeId>1</VenueTypeId>
        </SearchController.SearchFilterVenueTypeView>
        <SearchController.SearchFilterVenueTypeView>
          <NameEn>sample string 3</NameEn>
          <NameTh>sample string 2</NameTh>
          <VenueTypeId>1</VenueTypeId>
        </SearchController.SearchFilterVenueTypeView>
      </VenueTypes>
    </SearchController.SearchFilterRecommendedVenueTypeView>
    <SearchController.SearchFilterRecommendedVenueTypeView>
      <Name>sample string 1</Name>
      <VenueTypes>
        <SearchController.SearchFilterVenueTypeView>
          <NameEn>sample string 3</NameEn>
          <NameTh>sample string 2</NameTh>
          <VenueTypeId>1</VenueTypeId>
        </SearchController.SearchFilterVenueTypeView>
        <SearchController.SearchFilterVenueTypeView>
          <NameEn>sample string 3</NameEn>
          <NameTh>sample string 2</NameTh>
          <VenueTypeId>1</VenueTypeId>
        </SearchController.SearchFilterVenueTypeView>
      </VenueTypes>
    </SearchController.SearchFilterRecommendedVenueTypeView>
  </RecommendedVenueTypes>
  <VenueTypes>
    <SearchController.SearchFilterVenueTypeView>
      <NameEn>sample string 3</NameEn>
      <NameTh>sample string 2</NameTh>
      <VenueTypeId>1</VenueTypeId>
    </SearchController.SearchFilterVenueTypeView>
    <SearchController.SearchFilterVenueTypeView>
      <NameEn>sample string 3</NameEn>
      <NameTh>sample string 2</NameTh>
      <VenueTypeId>1</VenueTypeId>
    </SearchController.SearchFilterVenueTypeView>
  </VenueTypes>
</SearchController.SearchFilterView>