GET api/search/{searchId}/filters?languageCode={languageCode} Authentication required

Use this method to get the filters specified for a search

Request

URI Parameters

NameDescriptionTypeAdditional information
searchId

Id of the search

integer

Required

languageCode

string

Default value is EN

Response

Returns the filters specified for a search

Output : object (See Model)

Ouput Sample

  • application/json, text/json :
  • { "categories": [ { "code": "017116", "name": "Restaurants", "type": "Infobel" }, { "code": "017116", "name": "Restaurants", "type": "Infobel" } ], "locations": [ { "code": "21004", "name": "Brussel", "type": "City" }, { "code": "21004", "name": "Brussel", "type": "City" } ], "pageSize": 1, "displayLanguage": "sample string 2", "detailedCounts": true, "sortingOrder": [ 0, 0 ], "countryCodes": [ "sample string 1", "sample string 2" ], "businessName": [ "sample string 1", "sample string 2" ], "businessNameExclusive": [ "sample string 1", "sample string 2" ], "languages": [ "sample string 1", "sample string 2" ], "languagesExclusive": [ "sample string 1", "sample string 2" ], "cityCodes": [ "sample string 1", "sample string 2" ], "cityCodesExclusive": [ "sample string 1", "sample string 2" ], "provinceCodes": [ "sample string 1", "sample string 2" ], "provinceCodesExclusive": [ "sample string 1", "sample string 2" ], "regionCodes": [ "sample string 1", "sample string 2" ], "regionCodesExclusive": [ "sample string 1", "sample string 2" ], "internationalCodes": [ "sample string 1", "sample string 2" ], "internationalCodesExclusive": [ "sample string 1", "sample string 2" ], "infobelCodes": [ "sample string 1", "sample string 2" ], "infobelCodesExclusive": [ "sample string 1", "sample string 2" ], "localCodes": [ "sample string 1", "sample string 2" ], "localCodesExclusive": [ "sample string 1", "sample string 2" ], "postCodes": [ "sample string 1", "sample string 2" ], "postCodesExclusive": [ "sample string 1", "sample string 2" ], "hasPhone": true, "hasFax": true, "hasMobile": true, "hasWebsite": true, "hasEmail": true, "hasWebContact": true, "hasContact": true, "hasPhoneDeduplicated": true, "hasEmailDeduplicated": true, "hasMobileDeduplicated": true, "hasContactDeduplicated": true, "filterOnDNCM": true, "coordinateOptions": [ { "latitude": 1.1, "longitude": 2.1, "distance": 3 }, { "latitude": 1.1, "longitude": 2.1, "distance": 3 } ], "coordinateOptionsExclusive": [ { "latitude": 1.1, "longitude": 2.1, "distance": 3 }, { "latitude": 1.1, "longitude": 2.1, "distance": 3 } ], "nationalID": "sample string 16", "phoneNumber": "sample string 17", "streetAddress": "sample string 18", "houseNumber": "sample string 19" }
  • application/xml, text/xml :
  • <SearchInputDetailed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Tools.Model"> <BusinessName xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </BusinessName> <BusinessNameExclusive xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </BusinessNameExclusive> <CityCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </CityCodes> <CityCodesExclusive xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </CityCodesExclusive> <CoordinateOptions> <CoordinateOptions> <Distance>3</Distance> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> </CoordinateOptions> <CoordinateOptions> <Distance>3</Distance> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> </CoordinateOptions> </CoordinateOptions> <CoordinateOptionsExclusive> <CoordinateOptions> <Distance>3</Distance> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> </CoordinateOptions> <CoordinateOptions> <Distance>3</Distance> <Latitude>1.1</Latitude> <Longitude>2.1</Longitude> </CoordinateOptions> </CoordinateOptionsExclusive> <CountryCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </CountryCodes> <DetailedCounts>true</DetailedCounts> <DisplayLanguage>sample string 2</DisplayLanguage> <FilterOnDNCM>true</FilterOnDNCM> <HasContact>true</HasContact> <HasContactDeduplicated>true</HasContactDeduplicated> <HasEmail>true</HasEmail> <HasEmailDeduplicated>true</HasEmailDeduplicated> <HasFax>true</HasFax> <HasMobile>true</HasMobile> <HasMobileDeduplicated>true</HasMobileDeduplicated> <HasPhone>true</HasPhone> <HasPhoneDeduplicated>true</HasPhoneDeduplicated> <HasWebContact>true</HasWebContact> <HasWebsite>true</HasWebsite> <HouseNumber>sample string 19</HouseNumber> <InfobelCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </InfobelCodes> <InfobelCodesExclusive xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </InfobelCodesExclusive> <InternationalCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </InternationalCodes> <InternationalCodesExclusive xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </InternationalCodesExclusive> <Languages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Languages> <LanguagesExclusive xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </LanguagesExclusive> <LocalCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </LocalCodes> <LocalCodesExclusive xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </LocalCodesExclusive> <NationalID>sample string 16</NationalID> <PageSize>1</PageSize> <PhoneNumber>sample string 17</PhoneNumber> <PostCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </PostCodes> <PostCodesExclusive xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </PostCodesExclusive> <ProvinceCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ProvinceCodes> <ProvinceCodesExclusive xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </ProvinceCodesExclusive> <RegionCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </RegionCodes> <RegionCodesExclusive xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </RegionCodesExclusive> <SortingOrder xmlns:d2p1="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Search.Models"> <d2p1:Enums.SortingOrder>UniqueId</d2p1:Enums.SortingOrder> <d2p1:Enums.SortingOrder>UniqueId</d2p1:Enums.SortingOrder> </SortingOrder> <StreetAddress>sample string 18</StreetAddress> <Categories> <Category xmlns=""> <Code>017116</Code> <CountryCode i:nil="true" /> <Name>Restaurants</Name> <Type>Infobel</Type> </Category> <Category xmlns=""> <Code>017116</Code> <CountryCode i:nil="true" /> <Name>Restaurants</Name> <Type>Infobel</Type> </Category> </Categories> <Locations> <Location xmlns=""> <Code>21004</Code> <CountryCode i:nil="true" /> <Name>Brussel</Name> <Type>City</Type> </Location> <Location xmlns=""> <Code>21004</Code> <CountryCode i:nil="true" /> <Name>Brussel</Name> <Type>City</Type> </Location> </Locations> </SearchInputDetailed>