GET api/search/{searchId}/records/{page}?languageCode={languageCode}&internationalPhoneFormat={internationalPhoneFormat} Authentication required

Use this method to fetch records returned by a search. Please note that a page can only be fetched when all previous ones were already fetched.

Request

URI Parameters

NameDescriptionTypeAdditional information
searchId

Id of the search

integer

Required

page

Page number, starting at 1 (By default you are limited to 20 pages, to access more please contact us)

integer

Required

languageCode

[Optional] Language represented by its ISO 639-1 Code (2 chars long). Provide this if you wish to receive the labels in another language

string

Default value is

internationalPhoneFormat

[Optional] Default if false. Set this to true if you want phone number formatted as international phone number (Starting with +xxx prefix)

boolean

Default value is False

Response

Returns the wanted page of records. Count of records depends on pageSize defined in the search.

Output : object (See Model)

Ouput Sample

  • application/json, text/json :
  • { "searchId": 1, "page": 1, "recordCount": 1, "totalRecordCount": 0, "records": [ { "uniqueID": "BE2002422826", "universalPublicationId": "BE2002422826", "isPublished": true, "isBusiness": true, "businessName": "AMBAR B.V.B.A.", "address1": "Dorp-Oost 2 A", "postCode": "9080", "city": "Lochristi", "cityCode": "44034", "locality": "", "localityCode": "", "province": "Oost Vlaanderen", "provinceCode": "40000", "region": "Vlaanderen", "regionCode": "02000", "country": "Belgium", "countryCode": "BE", "phoneOrMobile": "09 356 70 44", "phone": "09 356 70 44", "fax": "", "mobile": "", "email": "", "website": "http://www.tavernereinaert.be/contact/", "geoLevel": 3, "geoLevelDescription": "House", "longitude": "3.8339350", "latitude": "51.0964290", "infobelCategories": [ { "code": "017116", "name": "Restaurants", "type": "Infobel", "parentCode": "017100", "level": 3 } ], "infobelCode01": "017116", "infobelCode02": "", "infobelCode03": "", "infobelCode04": "", "infobelCode05": "", "infobelCode06": "", "infobelCode07": "", "infobelCode08": "", "infobelCode09": "", "infobelCode10": "", "infobelLabel01": "Restaurants", "language": "DUT", "nationalID": "BE2148379952", "marketingFlag": "1", "nativeInfos": { "lastName1": "AMBAR", "cityName": "Lochristi" } } ] }
  • application/xml, text/xml :
  • <FetchResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Page>1</Page> <RecordCount>1</RecordCount> <Records> <Record> <AdditionalInfos xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" /> <Address1>Dorp-Oost 2 A</Address1> <Address2 i:nil="true" /> <AddressBoxNumber i:nil="true" /> <AddressHouseNum i:nil="true" /> <AddressStreet i:nil="true" /> <BusinessName>AMBAR B.V.B.A.</BusinessName> <City>Lochristi</City> <CityCode>44034</CityCode> <CompanyName i:nil="true" /> <Country>Belgium</Country> <CountryCode>BE</CountryCode> <DNCMMobile i:nil="true" /> <DNCMPhone i:nil="true" /> <DirectoryName i:nil="true" /> <Email></Email> <Fax></Fax> <GeoLevel>3</GeoLevel> <GeoLevelDescription>House</GeoLevelDescription> <InfobelCategories> <Category> <Code>017116</Code> <CountryCode i:nil="true" /> <Level>3</Level> <Name>Restaurants</Name> <ParentCode>017100</ParentCode> <Type>Infobel</Type> </Category> </InfobelCategories> <InfobelCode01>017116</InfobelCode01> <InfobelCode02></InfobelCode02> <InfobelCode03></InfobelCode03> <InfobelCode04></InfobelCode04> <InfobelCode05></InfobelCode05> <InfobelCode06></InfobelCode06> <InfobelCode07></InfobelCode07> <InfobelCode08></InfobelCode08> <InfobelCode09></InfobelCode09> <InfobelCode10></InfobelCode10> <InfobelLabel01>Restaurants</InfobelLabel01> <InfobelLabel02 i:nil="true" /> <InfobelLabel03 i:nil="true" /> <InfobelLabel04 i:nil="true" /> <InfobelLabel05 i:nil="true" /> <InfobelLabel06 i:nil="true" /> <InfobelLabel07 i:nil="true" /> <InfobelLabel08 i:nil="true" /> <InfobelLabel09 i:nil="true" /> <InfobelLabel10 i:nil="true" /> <IsBusiness>true</IsBusiness> <IsPublished>true</IsPublished> <IsResidential i:nil="true" /> <Language>DUT</Language> <Latitude>51.0964290</Latitude> <Locality></Locality> <LocalityCode></LocalityCode> <Longitude>3.8339350</Longitude> <MarketingFlag>1</MarketingFlag> <Mobile></Mobile> <NationalID>BE2148379952</NationalID> <NativeInfos xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringstring> <d4p1:Key>LastName1</d4p1:Key> <d4p1:Value>AMBAR</d4p1:Value> </d4p1:KeyValueOfstringstring> <d4p1:KeyValueOfstringstring> <d4p1:Key>CityName</d4p1:Key> <d4p1:Value>Lochristi</d4p1:Value> </d4p1:KeyValueOfstringstring> </NativeInfos> <Phone>09 356 70 44</Phone> <PhoneOrMobile>09 356 70 44</PhoneOrMobile> <PostCode>9080</PostCode> <Province>Oost Vlaanderen</Province> <ProvinceCode>40000</ProvinceCode> <Region>Vlaanderen</Region> <RegionCode>02000</RegionCode> <TradeName i:nil="true" /> <UniqueID>BE2002422826</UniqueID> <UniversalPublicationId>BE2002422826</UniversalPublicationId> <Website>http://www.tavernereinaert.be/contact/</Website> </Record> </Records> <SearchId>1</SearchId> <TotalRecordCount>0</TotalRecordCount> </FetchResult>