Skip to content

WhatWhereSearch

GetWhatWhereSearchResult

Methode: GET

Endpoint: /v3/hitlistitems/whatwheresearch

Parameter Description Explanation
SearchRequest.What Name e.g. company, first and last name, date of birth, year of birth, CrefoID, VAT ID
SearchRequest.Where Location Location, postcode
SearchRequest.Country Country (ISO code) - CH <br />- LI <br />To search in other countries, use AddressSearch.
SearchFilter.ArchiveType.Types Filter archive types Restriction of the search. ArchiveType.Types can be listed multiple times.<br />Void <br />Active / Inactive <br />MainArchive / SubArchive <br />Consumer / Business
SearchFilter.MatchLevel.Level Filter match level Matching hits:<br />High /Regular / Low

Items listed in bold are mandatory.

Example Request URL

https://api.crediconnect.ch/v3/hitlistitems/whatwheresearch?SearchRequest.What=Metallbau%20AG&SearchRequest.Where=7000&SearchRequest.Country=CH&SearchFilter.ArchiveType=MainArchive&SearchFilter.ArchiveType=Active&SearchFilter.MatchLevel=Regular

Example Response

{
   "totalCount": 12,
   "data":    [
            {
         "crefoId": "406517347",
         "reportingCrefoId": "406517347",
         "uid": "CHE102632329",
         "hrNr": "CH35030037240",
         "status": "Active",
         "archiveType":          [
            "Business",
            "MainArchive",
            "Active"
         ],
         "address":          {
            "id": null,
            "crefoId": "406517347",
            "uid": "CHE102632329",
            "hrNr": "CH35030037240",
            "addressType": "Business",
            "gender": "Void",
            "salutation": null,
            "firstName": null,
            "name": "Metallbau Fringer AG",
            "dateOfBirth": null,
            "yearOfBirth": null,
            "addressLine1": "Unterseestrasse",
            "addressLine2": "",
            "houseNr": "24",
            "postalCode": "7050",
            "city": "Arosa",
            "canton": "GR",
            "country": "CH",
            "communication":             {
               "phone1": "0813771305",
               "phone2": "0792160188",
               "phone3": null,
               "fax": "0813774288",
               "email": "metallbau@fringer-arosa.ch",
               "url": "www.fringer-arosa.ch"
            }
         },
         "previousAddress": "Metallbau Fringer AG, Poststrasse 5 7050 Arosa"
      },
            {
         "crefoId": "422707892",
         "reportingCrefoId": "422707892",
         "uid": "CHE152998809",
         "hrNr": "CH35030123349",
         "status": "Active",

         ... etc.


            }
}