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

Use this method to fetch partial records returned by a search. Submit the fields (as an array of strings) you want to be returned by the api. Please note that using this method with only the fields you need may increase the performance and decrease the response time of the api.

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

Body Parameters

List of fields to extract : simply put the fields names as strings

Input : array of String

Input Sample

  • application/json, text/json :
  • [ "sample string 1", "sample string 2" ]
  • application/xml, text/xml :
  • <ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <string>sample string 1</string> <string>sample string 2</string> </ArrayOfstring>

    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": [ { "relevanceScore": 2.0, "uniqueID": "BE100155552", "universalPublicationId": "BE100155552", "isPublished": true, "businessName": "David Martine", "companyName": "David Martine", "tradeName": "", "directoryName": "", "addressStreet": "Rue Roi Chevalier", "addressHouseNumber": "11", "address1": "Rue Roi Chevalier 11", "address2": "", "postCode": "5024", "city": "Marche-les-Dames", "cityCode": "92094", "locality": "", "localityCode": "", "province": "", "provinceCode": "", "region": "", "regionCode": "", "country": "Belgium", "countryCode": "BE", "phoneOrMobile": "081260694", "phone": "081260694", "dncmPhone": false, "fax": "", "mobile": "", "dncmMobile": false, "email": "laferaugiere@gmail.com", "website": "", "geoLevel": 4, "geoLevelDescription": "RoofTop", "longitude": "4.9626168", "latitude": "50.48126955", "internationalCode01": "", "internationalCode02": "", "internationalCode03": "", "internationalCode04": "", "internationalCode05": "", "internationalCode06": "", "infobelCategories": [ { "code": "017116", "name": "Restaurants", "language": "EN", "type": "Infobel", "parentCode": "017100", "level": 3 }, { "code": "017116", "name": "Restaurants", "language": "EN", "type": "Infobel", "parentCode": "017100", "level": 3 } ], "infobelCode01": "017116", "infobelCode02": "017116", "infobelCode03": "", "infobelCode04": "", "infobelCode05": "", "infobelCode06": "", "infobelCode07": "", "infobelCode08": "", "infobelCode09": "", "infobelCode10": "", "infobelLabel01": "Restaurants", "infobelLabel02": "Restaurants", "localCode01": "", "localCode02": "", "localCode03": "", "localCode04": "", "localCode05": "", "localCode06": "", "localCode07": "", "localCode08": "", "localCode09": "", "localCode10": "", "localCode11": "", "localCode12": "", "localCode13": "", "localCode14": "", "localCode15": "", "language": "FRE", "nationalID": "0726330555", "genericSocialLinks": [], "nativeInfos": { "stdCityCode": "92094", "stdCityName": "Marche-les-Dames", "stdStreetCode": "005024000090003", "stdStreetName": "Rue Roi Chevalier", "stdStreetPostCode": "5024", "stdStreetSegmentID": "10560001938944" }, "additionalInfos": { "busFlag": "0", "namingMethod": "", "isQualified": "", "lastUpdateDate": "Apr 24 2023 3:21PM" } } ] }
  • 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"> <d4p1:KeyValueOfstringanyType> <d4p1:Key>BusFlag</d4p1:Key> <d4p1:Value xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string">0</d4p1:Value> </d4p1:KeyValueOfstringanyType> <d4p1:KeyValueOfstringanyType> <d4p1:Key>NamingMethod</d4p1:Key> <d4p1:Value xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string"></d4p1:Value> </d4p1:KeyValueOfstringanyType> <d4p1:KeyValueOfstringanyType> <d4p1:Key>IsQualified</d4p1:Key> <d4p1:Value xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string"></d4p1:Value> </d4p1:KeyValueOfstringanyType> <d4p1:KeyValueOfstringanyType> <d4p1:Key>LastUpdateDate</d4p1:Key> <d4p1:Value xmlns:d6p1="http://www.w3.org/2001/XMLSchema" i:type="d6p1:string">Apr 24 2023 3:21PM</d4p1:Value> </d4p1:KeyValueOfstringanyType> </AdditionalInfos> <Address1>Rue Roi Chevalier 11</Address1> <Address2></Address2> <AddressBoxNumber i:nil="true" /> <AddressHouseNumber>11</AddressHouseNumber> <AddressStreet>Rue Roi Chevalier</AddressStreet> <BusinessName>David Martine</BusinessName> <City>Marche-les-Dames</City> <CityCode>92094</CityCode> <CompanyName>David Martine</CompanyName> <Country>Belgium</Country> <CountryCode>BE</CountryCode> <DNCMMobile>false</DNCMMobile> <DNCMPhone>false</DNCMPhone> <DirectoryName></DirectoryName> <Email>laferaugiere@gmail.com</Email> <Fax></Fax> <GenericSocialLinks xmlns:d4p1="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Tools.Model" /> <GeoLevel>4</GeoLevel> <GeoLevelDescription>RoofTop</GeoLevelDescription> <InfobelCategories> <Category> <Code>017116</Code> <CountryCode i:nil="true" /> <Language>EN</Language> <Level>3</Level> <Name>Restaurants</Name> <ParentCode>017100</ParentCode> <Type>Infobel</Type> </Category> <Category> <Code>017116</Code> <CountryCode i:nil="true" /> <Language>EN</Language> <Level>3</Level> <Name>Restaurants</Name> <ParentCode>017100</ParentCode> <Type>Infobel</Type> </Category> </InfobelCategories> <InfobelCode01>017116</InfobelCode01> <InfobelCode02>017116</InfobelCode02> <InfobelCode03></InfobelCode03> <InfobelCode04></InfobelCode04> <InfobelCode05></InfobelCode05> <InfobelCode06></InfobelCode06> <InfobelCode07></InfobelCode07> <InfobelCode08></InfobelCode08> <InfobelCode09></InfobelCode09> <InfobelCode10></InfobelCode10> <InfobelLabel01>Restaurants</InfobelLabel01> <InfobelLabel02>Restaurants</InfobelLabel02> <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" /> <InternationalCategories i:nil="true" /> <InternationalCode01></InternationalCode01> <InternationalCode02></InternationalCode02> <InternationalCode03></InternationalCode03> <InternationalCode04></InternationalCode04> <InternationalCode05></InternationalCode05> <InternationalCode06></InternationalCode06> <InternationalLabel01 i:nil="true" /> <InternationalLabel02 i:nil="true" /> <InternationalLabel03 i:nil="true" /> <InternationalLabel04 i:nil="true" /> <InternationalLabel05 i:nil="true" /> <InternationalLabel06 i:nil="true" /> <IsPublished>true</IsPublished> <Language>FRE</Language> <Latitude>50.48126955</Latitude> <LocalActivityCodeType i:nil="true" /> <LocalCategories i:nil="true" /> <LocalCode01></LocalCode01> <LocalCode02></LocalCode02> <LocalCode03></LocalCode03> <LocalCode04></LocalCode04> <LocalCode05></LocalCode05> <LocalCode06></LocalCode06> <LocalCode07></LocalCode07> <LocalCode08></LocalCode08> <LocalCode09></LocalCode09> <LocalCode10></LocalCode10> <LocalCode11></LocalCode11> <LocalCode12></LocalCode12> <LocalCode13></LocalCode13> <LocalCode14></LocalCode14> <LocalCode15></LocalCode15> <LocalLabel01 i:nil="true" /> <LocalLabel02 i:nil="true" /> <LocalLabel03 i:nil="true" /> <LocalLabel04 i:nil="true" /> <LocalLabel05 i:nil="true" /> <LocalLabel06 i:nil="true" /> <LocalLabel07 i:nil="true" /> <LocalLabel08 i:nil="true" /> <LocalLabel09 i:nil="true" /> <LocalLabel10 i:nil="true" /> <LocalLabel11 i:nil="true" /> <LocalLabel12 i:nil="true" /> <LocalLabel13 i:nil="true" /> <LocalLabel14 i:nil="true" /> <LocalLabel15 i:nil="true" /> <Locality></Locality> <LocalityCode></LocalityCode> <Longitude>4.9626168</Longitude> <Mobile></Mobile> <NationalID>0726330555</NationalID> <NativeInfos xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:KeyValueOfstringstring> <d4p1:Key>StdCityCode</d4p1:Key> <d4p1:Value>92094</d4p1:Value> </d4p1:KeyValueOfstringstring> <d4p1:KeyValueOfstringstring> <d4p1:Key>StdCityName</d4p1:Key> <d4p1:Value>Marche-les-Dames</d4p1:Value> </d4p1:KeyValueOfstringstring> <d4p1:KeyValueOfstringstring> <d4p1:Key>StdStreetCode</d4p1:Key> <d4p1:Value>005024000090003</d4p1:Value> </d4p1:KeyValueOfstringstring> <d4p1:KeyValueOfstringstring> <d4p1:Key>StdStreetName</d4p1:Key> <d4p1:Value>Rue Roi Chevalier</d4p1:Value> </d4p1:KeyValueOfstringstring> <d4p1:KeyValueOfstringstring> <d4p1:Key>StdStreetPostCode</d4p1:Key> <d4p1:Value>5024</d4p1:Value> </d4p1:KeyValueOfstringstring> <d4p1:KeyValueOfstringstring> <d4p1:Key>StdStreetSegmentID</d4p1:Key> <d4p1:Value>10560001938944</d4p1:Value> </d4p1:KeyValueOfstringstring> </NativeInfos> <Phone>081260694</Phone> <PhoneOrMobile>081260694</PhoneOrMobile> <PostCode>5024</PostCode> <Province></Province> <ProvinceCode></ProvinceCode> <PublishingStrength i:nil="true" /> <Region></Region> <RegionCode></RegionCode> <RelevanceScore>2</RelevanceScore> <TradeName></TradeName> <UniqueID>BE100155552</UniqueID> <UniversalPublicationId>BE100155552</UniversalPublicationId> <WebDomain i:nil="true" /> <WebSocialLinks xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" /> <Website></Website> </Record> </Records> <SearchId>1</SearchId> <TotalRecordCount>0</TotalRecordCount> </FetchResult>