Zum Inhalt

Match

Match

Methode: POST

Endpoint: /v3/matches

Beispiel Request

{
  "ProductCode": "2901CMSCOR",
  "SearchedAddress": {
    "FirstName": "Roter",
    "Name": "Red",
    "AddressLine1": "Teufener Strasse",
    "HouseNr": "38",
    "PostalCode": "9000",
    "City": "St. Gallen",
    "Country": "CH"
    }
  ,
  "SearchFilter": {
    "ArchiveType": [
      "Consumer"
    ],
    "MatchLevel": "Regular"
  },
  "ReasonOfInquiry": "Claim"
}

Die Wahl des korrekten Produktes (Consumer/Business) ist nicht relevant, da die Matchprodukte automatisch den richtigen Produkttyp ausählen.

Beispiel Response

{
   "CrefoId": "425316436",
   "Uid": null,
   "HrNr": null,
   "Status": "Alive",
   "ArchiveType":    [
      "Consumer",
      "MainArchive",
      "Active"
   ],
   "Address":    {
      "Id": null,
      "CrefoId": "425316436",
      "Uid": "",
      "HrNr": "",
      "AddressType": "Consumer",
      "Gender": "Male",
      "Salutation": null,
      "FirstName": "Roter",
      "Name": "Red",
      "DateOfBirth": null,
      "YearOfBirth": null,
      "AddressLine1": "Teufener Strasse",
      "AddressLine2": "",
      "HouseNr": "38",
      "PostalCode": "9000",
      "City": "St. Gallen",
      "Canton": "SG",
      "Country": "CH",
      "Communication":       {
         "Phone1": "",
         "Phone2": "",
         "Phone3": null,
         "Fax": "",
         "Email": "",
         "Url": ""
      }
   },
   "PreviousAddress": null,
   "ReportContents":    [
            {
         "Key": "CreatedDate",
         "Value": "20.10.2020 00:00:00"
      },
            {
         "Key": "Signal",
         "Value": "Red"
      }
   ]
}