POST api/search/{searchId}/preview Authentication required

Use this method to fetch a partial preview of records returned by a search. The will return first page of records (max 100) so you can preview the output result.

Request

URI Parameters

NameDescriptionTypeAdditional information
searchId

Id of the search

integer

Required

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 preview of records.

    Output : array of objects (See Model)

    Ouput Sample

  • application/json, text/json :
  • [ { "dataType": "Business", "uniqueID": "0888783282", "universalPublicationId": "BE100005416", "businessName": "Kapitol", "companyName": "Kapitol", "tradeName": "", "directoryName": "Kapitol sa", "address1": "Chaussée de Saint-Job 506", "address2": "", "postCode": "1180", "city": "Uccle", "province": "Bruxelles Capitale", "country": "Belgium", "countryCode": "BE", "phone": "02 379 29 40", "dncmPhone": false, "fax": "02 379 29 88", "mobile": "", "dncmMobile": false, "email": "", "website": "http://www.infobel.com", "geoLevel": 3, "geoLevelDescription": "House", "longitude": "4.3585220", "latitude": "50.7920368", "internationalCategories": [ { "code": "7379", "name": "Computer related services, nec", "type": "International", "level": 1 } ], "internationalCode01": "7379", "internationalCode02": "", "internationalCode03": "", "internationalCode04": "", "internationalCode05": "", "internationalCode06": "", "infobelCategories": [ { "code": "016118", "name": "Publishing Of Telephone Directories", "type": "Infobel", "parentCode": "016100", "level": 3 }, { "code": "113220", "name": "It: Computers And Mini Computers", "type": "Infobel", "parentCode": "113200", "level": 3 } ], "infobelCode01": "016118", "infobelCode02": "113220", "infobelCode03": "", "infobelCode04": "", "infobelCode05": "", "infobelCode06": "", "infobelCode07": "", "infobelCode08": "", "infobelCode09": "", "infobelCode10": "", "localCategories": [ { "code": "62020", "name": "Computer consultancy activities", "type": "Local", "level": 1 } ], "localCode01": "62020", "localCode02": "", "localCode03": "", "localCode04": "", "localCode05": "", "localCode06": "", "localCode07": "", "localCode08": "", "localCode09": "", "localCode10": "", "localCode11": "", "localCode12": "", "localCode13": "", "localCode14": "", "localCode15": "", "language": "FRE", "nationalID": "BE0453604761", "ceoName": "", "ceoTitle": "", "primaryLocalActivityCode": "62020", "localActivityCodeType": "BELGIUM NACE CODE 2008 ", "yearStarted": "2013", "salesVolume": "2286300", "currency": "EUR", "employeesHere": "10", "employeesTotal": "10", "statusCode": "0", "statusCodeName": "SingleLocation", "salesVolumeReliabilityCode": 3, "salesVolumeReliabilityCodeDescription": "Modeled", "employeesHereReliabilityCode": 0, "employeesHereReliabilityCodeDescription": "Actual", "employeesTotalReliabilityCode": 0, "employeesTotalReliabilityCodeDescription": "Actual", "reportDate": "2018-11-07", "importExportAgentCode": "G", "importExportAgentCodeDescription": "None or Not Available", "legalStatusCode": 3, "legalStatusCodeDescription": "Corporation", "familyMembers": 0, "marketingFlag": "0" }, { "dataType": "Business", "uniqueID": "0888783282", "universalPublicationId": "BE100005416", "businessName": "Kapitol", "companyName": "Kapitol", "tradeName": "", "directoryName": "Kapitol sa", "address1": "Chaussée de Saint-Job 506", "address2": "", "postCode": "1180", "city": "Uccle", "province": "Bruxelles Capitale", "country": "Belgium", "countryCode": "BE", "phone": "02 379 29 40", "dncmPhone": false, "fax": "02 379 29 88", "mobile": "", "dncmMobile": false, "email": "", "website": "http://www.infobel.com", "geoLevel": 3, "geoLevelDescription": "House", "longitude": "4.3585220", "latitude": "50.7920368", "internationalCategories": [ { "code": "7379", "name": "Computer related services, nec", "type": "International", "level": 1 } ], "internationalCode01": "7379", "internationalCode02": "", "internationalCode03": "", "internationalCode04": "", "internationalCode05": "", "internationalCode06": "", "infobelCategories": [ { "code": "016118", "name": "Publishing Of Telephone Directories", "type": "Infobel", "parentCode": "016100", "level": 3 }, { "code": "113220", "name": "It: Computers And Mini Computers", "type": "Infobel", "parentCode": "113200", "level": 3 } ], "infobelCode01": "016118", "infobelCode02": "113220", "infobelCode03": "", "infobelCode04": "", "infobelCode05": "", "infobelCode06": "", "infobelCode07": "", "infobelCode08": "", "infobelCode09": "", "infobelCode10": "", "localCategories": [ { "code": "62020", "name": "Computer consultancy activities", "type": "Local", "level": 1 } ], "localCode01": "62020", "localCode02": "", "localCode03": "", "localCode04": "", "localCode05": "", "localCode06": "", "localCode07": "", "localCode08": "", "localCode09": "", "localCode10": "", "localCode11": "", "localCode12": "", "localCode13": "", "localCode14": "", "localCode15": "", "language": "FRE", "nationalID": "BE0453604761", "ceoName": "", "ceoTitle": "", "primaryLocalActivityCode": "62020", "localActivityCodeType": "BELGIUM NACE CODE 2008 ", "yearStarted": "2013", "salesVolume": "2286300", "currency": "EUR", "employeesHere": "10", "employeesTotal": "10", "statusCode": "0", "statusCodeName": "SingleLocation", "salesVolumeReliabilityCode": 3, "salesVolumeReliabilityCodeDescription": "Modeled", "employeesHereReliabilityCode": 0, "employeesHereReliabilityCodeDescription": "Actual", "employeesTotalReliabilityCode": 0, "employeesTotalReliabilityCodeDescription": "Actual", "reportDate": "2018-11-07", "importExportAgentCode": "G", "importExportAgentCodeDescription": "None or Not Available", "legalStatusCode": 3, "legalStatusCodeDescription": "Corporation", "familyMembers": 0, "marketingFlag": "0" } ]
  • application/xml, text/xml :
  • <ArrayOfRecord xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Record> <Address1>Chaussée de Saint-Job 506</Address1> <Address2></Address2> <BusinessName>Kapitol</BusinessName> <CEOName></CEOName> <CEOTitle></CEOTitle> <City>Uccle</City> <CompanyName>Kapitol</CompanyName> <Country>Belgium</Country> <CountryCode>BE</CountryCode> <Currency>EUR</Currency> <DNCMMobile>false</DNCMMobile> <DNCMPhone>false</DNCMPhone> <DataType>Business</DataType> <DirectoryName>Kapitol sa</DirectoryName> <DomesticLinkage xmlns:d3p1="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Tools.Model" i:nil="true" /> <Email></Email> <EmployeesHere>10</EmployeesHere> <EmployeesHereReliabilityCode>0</EmployeesHereReliabilityCode> <EmployeesHereReliabilityCodeDescription>Actual</EmployeesHereReliabilityCodeDescription> <EmployeesTotal>10</EmployeesTotal> <EmployeesTotalReliabilityCode>0</EmployeesTotalReliabilityCode> <EmployeesTotalReliabilityCodeDescription>Actual</EmployeesTotalReliabilityCodeDescription> <FamilyMembers>0</FamilyMembers> <Fax>02 379 29 88</Fax> <GeoLevel>3</GeoLevel> <GeoLevelDescription>House</GeoLevelDescription> <GlobalLinkage xmlns:d3p1="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Tools.Model" i:nil="true" /> <ImportExportAgentCode>G</ImportExportAgentCode> <ImportExportAgentCodeDescription>None or Not Available</ImportExportAgentCodeDescription> <InfobelCategories> <Category> <Code>016118</Code> <CountryCode i:nil="true" /> <Level>3</Level> <Name>Publishing Of Telephone Directories</Name> <ParentCode>016100</ParentCode> <Type>Infobel</Type> </Category> <Category> <Code>113220</Code> <CountryCode i:nil="true" /> <Level>3</Level> <Name>It: Computers And Mini Computers</Name> <ParentCode>113200</ParentCode> <Type>Infobel</Type> </Category> </InfobelCategories> <InfobelCode01>016118</InfobelCode01> <InfobelCode02>113220</InfobelCode02> <InfobelCode03></InfobelCode03> <InfobelCode04></InfobelCode04> <InfobelCode05></InfobelCode05> <InfobelCode06></InfobelCode06> <InfobelCode07></InfobelCode07> <InfobelCode08></InfobelCode08> <InfobelCode09></InfobelCode09> <InfobelCode10></InfobelCode10> <InternationalCategories> <Category> <Code>7379</Code> <CountryCode i:nil="true" /> <Level>1</Level> <Name>Computer related services, nec</Name> <ParentCode i:nil="true" /> <Type>International</Type> </Category> </InternationalCategories> <InternationalCode01>7379</InternationalCode01> <InternationalCode02></InternationalCode02> <InternationalCode03></InternationalCode03> <InternationalCode04></InternationalCode04> <InternationalCode05></InternationalCode05> <InternationalCode06></InternationalCode06> <Language>FRE</Language> <Latitude>50.7920368</Latitude> <LegalStatusCode>3</LegalStatusCode> <LegalStatusCodeDescription>Corporation</LegalStatusCodeDescription> <LocalActivityCodeType>BELGIUM NACE CODE 2008 </LocalActivityCodeType> <LocalCategories> <Category> <Code>62020</Code> <CountryCode i:nil="true" /> <Level>1</Level> <Name>Computer consultancy activities</Name> <ParentCode i:nil="true" /> <Type>Local</Type> </Category> </LocalCategories> <LocalCode01>62020</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> <Longitude>4.3585220</Longitude> <MailingAddress xmlns:d3p1="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Tools.Model" i:nil="true" /> <MarketingFlag>0</MarketingFlag> <Mobile></Mobile> <NationalID>BE0453604761</NationalID> <ParentLinkage xmlns:d3p1="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Tools.Model" i:nil="true" /> <Phone>02 379 29 40</Phone> <PostCode>1180</PostCode> <PrimaryLocalActivityCode>62020</PrimaryLocalActivityCode> <Province>Bruxelles Capitale</Province> <ReportDate>2018-11-07</ReportDate> <SalesVolume>2286300</SalesVolume> <SalesVolumeReliabilityCode>3</SalesVolumeReliabilityCode> <SalesVolumeReliabilityCodeDescription>Modeled</SalesVolumeReliabilityCodeDescription> <StatusCode>0</StatusCode> <StatusCodeName>SingleLocation</StatusCodeName> <TradeName></TradeName> <UniqueID>0888783282</UniqueID> <UniversalPublicationId>BE100005416</UniversalPublicationId> <Website>http://www.infobel.com</Website> <YearStarted>2013</YearStarted> </Record> <Record> <Address1>Chaussée de Saint-Job 506</Address1> <Address2></Address2> <BusinessName>Kapitol</BusinessName> <CEOName></CEOName> <CEOTitle></CEOTitle> <City>Uccle</City> <CompanyName>Kapitol</CompanyName> <Country>Belgium</Country> <CountryCode>BE</CountryCode> <Currency>EUR</Currency> <DNCMMobile>false</DNCMMobile> <DNCMPhone>false</DNCMPhone> <DataType>Business</DataType> <DirectoryName>Kapitol sa</DirectoryName> <DomesticLinkage xmlns:d3p1="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Tools.Model" i:nil="true" /> <Email></Email> <EmployeesHere>10</EmployeesHere> <EmployeesHereReliabilityCode>0</EmployeesHereReliabilityCode> <EmployeesHereReliabilityCodeDescription>Actual</EmployeesHereReliabilityCodeDescription> <EmployeesTotal>10</EmployeesTotal> <EmployeesTotalReliabilityCode>0</EmployeesTotalReliabilityCode> <EmployeesTotalReliabilityCodeDescription>Actual</EmployeesTotalReliabilityCodeDescription> <FamilyMembers>0</FamilyMembers> <Fax>02 379 29 88</Fax> <GeoLevel>3</GeoLevel> <GeoLevelDescription>House</GeoLevelDescription> <GlobalLinkage xmlns:d3p1="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Tools.Model" i:nil="true" /> <ImportExportAgentCode>G</ImportExportAgentCode> <ImportExportAgentCodeDescription>None or Not Available</ImportExportAgentCodeDescription> <InfobelCategories> <Category> <Code>016118</Code> <CountryCode i:nil="true" /> <Level>3</Level> <Name>Publishing Of Telephone Directories</Name> <ParentCode>016100</ParentCode> <Type>Infobel</Type> </Category> <Category> <Code>113220</Code> <CountryCode i:nil="true" /> <Level>3</Level> <Name>It: Computers And Mini Computers</Name> <ParentCode>113200</ParentCode> <Type>Infobel</Type> </Category> </InfobelCategories> <InfobelCode01>016118</InfobelCode01> <InfobelCode02>113220</InfobelCode02> <InfobelCode03></InfobelCode03> <InfobelCode04></InfobelCode04> <InfobelCode05></InfobelCode05> <InfobelCode06></InfobelCode06> <InfobelCode07></InfobelCode07> <InfobelCode08></InfobelCode08> <InfobelCode09></InfobelCode09> <InfobelCode10></InfobelCode10> <InternationalCategories> <Category> <Code>7379</Code> <CountryCode i:nil="true" /> <Level>1</Level> <Name>Computer related services, nec</Name> <ParentCode i:nil="true" /> <Type>International</Type> </Category> </InternationalCategories> <InternationalCode01>7379</InternationalCode01> <InternationalCode02></InternationalCode02> <InternationalCode03></InternationalCode03> <InternationalCode04></InternationalCode04> <InternationalCode05></InternationalCode05> <InternationalCode06></InternationalCode06> <Language>FRE</Language> <Latitude>50.7920368</Latitude> <LegalStatusCode>3</LegalStatusCode> <LegalStatusCodeDescription>Corporation</LegalStatusCodeDescription> <LocalActivityCodeType>BELGIUM NACE CODE 2008 </LocalActivityCodeType> <LocalCategories> <Category> <Code>62020</Code> <CountryCode i:nil="true" /> <Level>1</Level> <Name>Computer consultancy activities</Name> <ParentCode i:nil="true" /> <Type>Local</Type> </Category> </LocalCategories> <LocalCode01>62020</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> <Longitude>4.3585220</Longitude> <MailingAddress xmlns:d3p1="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Tools.Model" i:nil="true" /> <MarketingFlag>0</MarketingFlag> <Mobile></Mobile> <NationalID>BE0453604761</NationalID> <ParentLinkage xmlns:d3p1="http://schemas.datacontract.org/2004/07/Kapitol.Registered.Tools.Model" i:nil="true" /> <Phone>02 379 29 40</Phone> <PostCode>1180</PostCode> <PrimaryLocalActivityCode>62020</PrimaryLocalActivityCode> <Province>Bruxelles Capitale</Province> <ReportDate>2018-11-07</ReportDate> <SalesVolume>2286300</SalesVolume> <SalesVolumeReliabilityCode>3</SalesVolumeReliabilityCode> <SalesVolumeReliabilityCodeDescription>Modeled</SalesVolumeReliabilityCodeDescription> <StatusCode>0</StatusCode> <StatusCodeName>SingleLocation</StatusCodeName> <TradeName></TradeName> <UniqueID>0888783282</UniqueID> <UniversalPublicationId>BE100005416</UniversalPublicationId> <Website>http://www.infobel.com</Website> <YearStarted>2013</YearStarted> </Record> </ArrayOfRecord>