POST api/search/{searchId}/preview?languageCode={languageCode}&internationalPhoneFormat={internationalPhoneFormat} 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

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

    Output : array of objects (See Model)

    Ouput Sample

  • application/json, text/json :
  • [ { "uniqueID": "BE107323021", "universalPublicationId": "BE107323021", "isPublished": true, "businessName": "Infobel", "companyName": "Infobel", "tradeName": "KAPITOL", "directoryName": "Infobel", "addressStreet": "Avenue Louise", "addressHouseNumber": "231", "address1": "Avenue Louise 231", "address2": "", "postCode": "1050", "city": "Ixelles", "cityCode": "21009", "locality": "", "localityCode": "", "province": "Bruxelles Capitale", "provinceCode": "99999990001", "region": "Bruxelles Capitale", "regionCode": "04000", "country": "Belgium", "countryCode": "BE", "phoneOrMobile": "02 379 29 40", "phone": "02 379 29 40", "dncmPhone": false, "fax": "02 379 29 88", "mobile": "", "dncmMobile": false, "email": "info@kapitol.com", "website": "https://www.infobelpro.com/", "websiteUUID": "0x7E75AAD93CD1FDD7FC9A02B3D2A6B30B05AE328291096888381446F8C37F7696", "websiteCrawlDate": "2026-01-27", "websiteStatusFlag": 1, "websiteStatusFlagDescription": "Active", "webDomain": "infobelpro.com", "webDomainUUID": "0x490F845DFBF9CD4B11C5D616829D3CEADA2414FF56D49C27EE11FD95CD25BB21", "geoLevel": 4, "geoLevelDescription": "RoofTop", "longitude": "4.3650613000000007", "latitude": "50.8255774", "internationalCategories": [ { "code": "7376", "name": "Computer facilities management", "language": "EN", "type": "International", "level": 1 }, { "code": "7379", "name": "Computer related services, nec", "language": "EN", "type": "International", "level": 1 } ], "internationalCode01": "7376", "internationalCode02": "7379", "internationalCode03": "", "internationalCode04": "", "internationalCode05": "", "internationalCode06": "", "internationalLabel01": "Computer facilities management", "internationalLabel02": "Computer related services, nec", "infobelCategories": [ { "code": "017210", "name": "Tourism Offices And Tourist Information Bureaus", "language": "EN", "type": "Infobel", "parentCode": "017200", "level": 3 }, { "code": "018513", "name": "Shopping Centres And Large Stores", "language": "EN", "type": "Infobel", "parentCode": "018500", "level": 3 } ], "infobelCode01": "017210", "infobelCode02": "018513", "infobelCode03": "", "infobelCode04": "", "infobelCode05": "", "infobelCode06": "", "infobelCode07": "", "infobelCode08": "", "infobelCode09": "", "infobelCode10": "", "infobelLabel01": "Tourism Offices And Tourist Information Bureaus", "infobelLabel02": "Shopping Centres And Large Stores", "localCode01": "62200", "localCode02": "", "localCode03": "", "localCode04": "", "localCode05": "", "localCode06": "", "localCode07": "", "localCode08": "", "localCode09": "", "localCode10": "", "localCode11": "", "localCode12": "", "localCode13": "", "localCode14": "", "localCode15": "", "language": "FRE", "nationalID": "BE0453604761", "localActivityCodeType": "Belgium NACE 2025", "publishingStrength": 47.16, "genericSocialLinks": [], "nativeInfos": { "stdCityCode": "21009", "stdCityName": "Ixelles", "stdProvinceCode": "99999990001", "stdProvinceName": "Bruxelles Capitale", "stdRegionCode": "04000", "stdRegionName": "Bruxelles Capitale", "stdStreetCode": "001050000002100", "stdStreetName": "Avenue Louise", "stdStreetPostCode": "1050", "stdStreetSegmentID": "10560000095809", "altLanguage": "DUT", "altStdCityCode": "21009", "altStdCityName": "Elsene", "altStdProvinceCode": "99999990001", "altStdProvinceName": "Brussel Hoofdstad", "altStdRegionCode": "04000", "altStdRegionName": "Brussel Hoofdstad", "altStdStreetCode": "001050000002100", "altStdStreetName": "Louizalaan" }, "additionalInfos": { "internationalCodeType": "SIC87", "busFlag": "Y", "namingMethod": "GMaps", "isQualified": "1", "lastUpdateDate": "Mar 28 2026 5:45AM", "nrOfReviews": "30", "averageRating": "3.0", "genericOpeningHours": { "openingHoursSets": [ { "openingLabel": "", "daysList": [ { "weekDay": "Monday", "intervals": [ { "openHour": "08:00", "closeHour": "18:00", "intervalNote": "" } ] }, { "weekDay": "Tuesday", "intervals": [ { "openHour": "08:00", "closeHour": "18:00", "intervalNote": "" } ] }, { "weekDay": "Wednesday", "intervals": [ { "openHour": "08:00", "closeHour": "18:00", "intervalNote": "" } ] }, { "weekDay": "Thursday", "intervals": [ { "openHour": "08:00", "closeHour": "18:00", "intervalNote": "" } ] }, { "weekDay": "Friday", "intervals": [ { "openHour": "08:00", "closeHour": "18:00", "intervalNote": "" } ] }, { "weekDay": "Saturday", "intervals": [ { "openHour": "", "closeHour": "", "intervalNote": "Closed" } ] }, { "weekDay": "Sunday", "intervals": [ { "openHour": "", "closeHour": "", "intervalNote": "Closed" } ] } ] } ] }, "currentLocalTime": "Tuesday @ 22:06 (3/31/2026 10:06:58 PM +02:00)", "openCloseStatus": "Closed" } }, { "uniqueID": "BE107323021", "universalPublicationId": "BE107323021", "isPublished": true, "businessName": "Infobel", "companyName": "Infobel", "tradeName": "KAPITOL", "directoryName": "Infobel", "addressStreet": "Avenue Louise", "addressHouseNumber": "231", "address1": "Avenue Louise 231", "address2": "", "postCode": "1050", "city": "Ixelles", "cityCode": "21009", "locality": "", "localityCode": "", "province": "Bruxelles Capitale", "provinceCode": "99999990001", "region": "Bruxelles Capitale", "regionCode": "04000", "country": "Belgium", "countryCode": "BE", "phoneOrMobile": "02 379 29 40", "phone": "02 379 29 40", "dncmPhone": false, "fax": "02 379 29 88", "mobile": "", "dncmMobile": false, "email": "info@kapitol.com", "website": "https://www.infobelpro.com/", "websiteUUID": "0x7E75AAD93CD1FDD7FC9A02B3D2A6B30B05AE328291096888381446F8C37F7696", "websiteCrawlDate": "2026-01-27", "websiteStatusFlag": 1, "websiteStatusFlagDescription": "Active", "webDomain": "infobelpro.com", "webDomainUUID": "0x490F845DFBF9CD4B11C5D616829D3CEADA2414FF56D49C27EE11FD95CD25BB21", "geoLevel": 4, "geoLevelDescription": "RoofTop", "longitude": "4.3650613000000007", "latitude": "50.8255774", "internationalCategories": [ { "code": "7376", "name": "Computer facilities management", "language": "EN", "type": "International", "level": 1 }, { "code": "7379", "name": "Computer related services, nec", "language": "EN", "type": "International", "level": 1 } ], "internationalCode01": "7376", "internationalCode02": "7379", "internationalCode03": "", "internationalCode04": "", "internationalCode05": "", "internationalCode06": "", "internationalLabel01": "Computer facilities management", "internationalLabel02": "Computer related services, nec", "infobelCategories": [ { "code": "017210", "name": "Tourism Offices And Tourist Information Bureaus", "language": "EN", "type": "Infobel", "parentCode": "017200", "level": 3 }, { "code": "018513", "name": "Shopping Centres And Large Stores", "language": "EN", "type": "Infobel", "parentCode": "018500", "level": 3 } ], "infobelCode01": "017210", "infobelCode02": "018513", "infobelCode03": "", "infobelCode04": "", "infobelCode05": "", "infobelCode06": "", "infobelCode07": "", "infobelCode08": "", "infobelCode09": "", "infobelCode10": "", "infobelLabel01": "Tourism Offices And Tourist Information Bureaus", "infobelLabel02": "Shopping Centres And Large Stores", "localCode01": "62200", "localCode02": "", "localCode03": "", "localCode04": "", "localCode05": "", "localCode06": "", "localCode07": "", "localCode08": "", "localCode09": "", "localCode10": "", "localCode11": "", "localCode12": "", "localCode13": "", "localCode14": "", "localCode15": "", "language": "FRE", "nationalID": "BE0453604761", "localActivityCodeType": "Belgium NACE 2025", "publishingStrength": 47.16, "genericSocialLinks": [], "nativeInfos": { "stdCityCode": "21009", "stdCityName": "Ixelles", "stdProvinceCode": "99999990001", "stdProvinceName": "Bruxelles Capitale", "stdRegionCode": "04000", "stdRegionName": "Bruxelles Capitale", "stdStreetCode": "001050000002100", "stdStreetName": "Avenue Louise", "stdStreetPostCode": "1050", "stdStreetSegmentID": "10560000095809", "altLanguage": "DUT", "altStdCityCode": "21009", "altStdCityName": "Elsene", "altStdProvinceCode": "99999990001", "altStdProvinceName": "Brussel Hoofdstad", "altStdRegionCode": "04000", "altStdRegionName": "Brussel Hoofdstad", "altStdStreetCode": "001050000002100", "altStdStreetName": "Louizalaan" }, "additionalInfos": { "internationalCodeType": "SIC87", "busFlag": "Y", "namingMethod": "GMaps", "isQualified": "1", "lastUpdateDate": "Mar 28 2026 5:45AM", "nrOfReviews": "30", "averageRating": "3.0", "genericOpeningHours": { "openingHoursSets": [ { "openingLabel": "", "daysList": [ { "weekDay": "Monday", "intervals": [ { "openHour": "08:00", "closeHour": "18:00", "intervalNote": "" } ] }, { "weekDay": "Tuesday", "intervals": [ { "openHour": "08:00", "closeHour": "18:00", "intervalNote": "" } ] }, { "weekDay": "Wednesday", "intervals": [ { "openHour": "08:00", "closeHour": "18:00", "intervalNote": "" } ] }, { "weekDay": "Thursday", "intervals": [ { "openHour": "08:00", "closeHour": "18:00", "intervalNote": "" } ] }, { "weekDay": "Friday", "intervals": [ { "openHour": "08:00", "closeHour": "18:00", "intervalNote": "" } ] }, { "weekDay": "Saturday", "intervals": [ { "openHour": "", "closeHour": "", "intervalNote": "Closed" } ] }, { "weekDay": "Sunday", "intervals": [ { "openHour": "", "closeHour": "", "intervalNote": "Closed" } ] } ] } ] }, "currentLocalTime": "Tuesday @ 22:06 (3/31/2026 10:06:58 PM +02:00)", "openCloseStatus": "Closed" } } ]
  • application/xml :
  • An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Type 'OpeningHoursJsonParser.Model.OpeningHours' with data contract name 'OpeningHours:http://schemas.datacontract.org/2004/07/OpeningHoursJsonParser.Model' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.
  • text/xml :
  • An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Type 'OpeningHoursJsonParser.Model.OpeningHours' with data contract name 'OpeningHours:http://schemas.datacontract.org/2004/07/OpeningHoursJsonParser.Model' is not expected. Consider using a DataContractResolver if you are using DataContractSerializer or add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to the serializer.