Skip to main content
Skip table of contents

POST RISK STATUS UPDATE GDA/PPE

Ce webhook de l'API permet d’envoyer un événement sur une url fournie par le client à chaque fois que le statut d'un dossier de risque GDA ou PPE est modifié.

Cet événement retrace les données du dossier de risque (identité, adresse…), l’historique des statuts du dossier ainsi que le détail de chaque correspondance du dossier.

Si le contrôle d’une personne mène au changement de statut de deux dossiers de risque (GDA et PPE), deux événements sont envoyés, un pour le dossier GDA, l’autre pour le dossier PPE.

Description

La description complète est accessible sur notre swagger

Méthode

POST

Paramètres

Aucun paramètre requis

Exemple de body

Aucun body à renseigner

Evénement

Exemple d'événement obtenu si un dossier PPE est qualifié en “Non concordant” :

CODE
{
  "eventId": "c1f0de3a-ba75-4143-8880-2f25a8b83f01",
  "type": "BLACKLIST_PEP_RISK_STATUS_UPDATE",
  "data": {
    "riskFolder": {
      "id": "65b12632bc61d5614294ae1d",
      "type": "PEP",
      "personIdentity": "elisabeth borne",
      "personType": "PROSPECT",
      "manuallyAddedInformation": {
        "postalAddress": {},
        "additionalInformation": {},
        "proofOfId": {}
      },
      "externalRef": {
        "sourceKey": "CLIENTS",
        "externalRefId": "BORNE_ELISABETH"
      },
      "comments": [],
      "statuses": [
        {
          "state": "NO_MATCH",
          "date": "2024-01-24T15:10:19.866Z",
          "authorLogin": "user@beclm.com",
          "maxMatchingScore": 100
        },
        {
          "state": "POTENTIAL_RISK",
          "date": "2024-01-24T15:01:06.676Z",
          "authorLogin": "user@beclm.com",
          "maxMatchingScore": 100
        }
      ],
      "lastControlDate": "2024-01-24T15:01:06.676Z",
      "lastFlowId": "64b64f13d578276deef1ae3e",
      "lastFlowName": "FLUX_NEW",
      "lastStatus": {
        "state": "NO_MATCH",
        "date": "2024-01-24T15:10:19.866Z",
        "authorLogin": "user@beclm.com",
        "maxMatchingScore": 100
      }
    },
    "lastMatchingRecords": [
      {
        "appliedScores": [
          {
            "score": 100,
            "name": "Score12",
            "propertyName": "lastName",
            "isIgnored": false,
            "weight": 0.6,
            "personValue": "borne",
            "recordValue": "Borne",
            "priority": false,
            "normalizedPersonValue": "BORNE",
            "normalizedRecordValue": "BORNE"
          },
          {
            "score": 100,
            "name": "Score14",
            "propertyName": "birthDate",
            "isIgnored": false,
            "weight": 0.3,
            "personValue": "18/04/1961",
            "recordValue": "18/04/1961",
            "priority": false,
            "normalizedPersonValue": "18 04 1961",
            "normalizedRecordValue": "18 04 1961"
          },
          {
            "score": 100,
            "name": "Score24",
            "propertyName": "birthDate",
            "isIgnored": true,
            "ignoredReasonCode": "score.matchingScore.reason.ignored.best.score.on.property",
            "weight": 0.3,
            "personValue": "18/04/1961",
            "recordValue": "1961-04-18",
            "priority": false,
            "normalizedPersonValue": "18 04 1961",
            "normalizedRecordValue": "1961 04 18"
          },
          {
            "score": 100,
            "name": "Score11",
            "propertyName": "firstName",
            "isIgnored": false,
            "weight": 0.1,
            "personValue": "elisabeth",
            "recordValue": "Élisabeth",
            "priority": true,
            "normalizedPersonValue": "ELISABETH",
            "normalizedRecordValue": "ELISABETH"
          },
          {
            "score": 100,
            "name": "Score32",
            "propertyName": "nameMetaphoneCodes",
            "isIgnored": true,
            "ignoredReasonCode": "score.matchingScore.reason.ignored.best.score.on.property",
            "weight": 0.1,
            "personValue": "PRN",
            "recordValue": "PRN",
            "priority": false,
            "normalizedPersonValue": "PRN",
            "normalizedRecordValue": "PRN"
          }
        ],
        "record": {
          "id": "63a418aed4f1b31275d6a132",
          "externalRef": {
            "sourceKey": "FR_LEADER",
            "externalRefId": "Borne_Élisabeth_18-04-1961_Personne_Politique"
          },
          "name": "Élisabeth Borne",
          "firstName": "Élisabeth",
          "lastName": "Borne",
          "birthDate": "18/04/1961",
          "standardizedBirthDates": [
            "1961-04-18"
          ],
          "birthPlace": "15e arrondissement de Paris",
          "birthCountry": "France",
          "proofsOfId": [],
          "aliases": [],
          "fullDescription": "Préfet de la Vienne du 30-1-2013 au 23-4-2014 / président-directeur général du 1-5-2015 au 17-5-2017 / ministre de la Transition écologique et solidaire du 16-7-2019 au 6-7-2020 / ministre des Transports du 17-5-2017 au 16-7-2019 / / / / / / / / / / / / / / / /",
          "address": "",
          "zip": "",
          "city": "",
          "country": "",
          "profession": "Dernière fonction active connue dans Wikidata : député français Date de début de la fonction le : 22/6/2022",
          "function": "Personne Politique",
          "organization": "",
          "startDate": "2021-01-01",
          "officialNewspaper": "",
          "highAuthority": "",
          "infoGreffe": "",
          "representativeProfile": "",
          "dataSourceType": "PEP"
        },
        "state": "NO_MATCH",
        "matchingScore": 100,
        "comments": []
      },
      {
        "appliedScores": [
          {
            "score": 100,
            "name": "Score12",
            "propertyName": "lastName",
            "isIgnored": false,
            "weight": 0.6,
            "personValue": "borne",
            "recordValue": "BORNE",
            "priority": false,
            "normalizedPersonValue": "BORNE",
            "normalizedRecordValue": "BORNE"
          },
          {
            "score": 100,
            "name": "Score14",
            "propertyName": "birthDate",
            "isIgnored": false,
            "weight": 0.3,
            "personValue": "18/04/1961",
            "recordValue": "18/04/1961",
            "priority": false,
            "normalizedPersonValue": "18 04 1961",
            "normalizedRecordValue": "18 04 1961"
          },
          {
            "score": 100,
            "name": "Score24",
            "propertyName": "birthDate",
            "isIgnored": true,
            "ignoredReasonCode": "score.matchingScore.reason.ignored.best.score.on.property",
            "weight": 0.3,
            "personValue": "18/04/1961",
            "recordValue": "1961-04-18",
            "priority": false,
            "normalizedPersonValue": "18 04 1961",
            "normalizedRecordValue": "1961 04 18"
          },
          {
            "score": 100,
            "name": "Score11",
            "propertyName": "firstName",
            "isIgnored": false,
            "weight": 0.1,
            "personValue": "elisabeth",
            "recordValue": "Elisabeth",
            "priority": true,
            "normalizedPersonValue": "ELISABETH",
            "normalizedRecordValue": "ELISABETH"
          },
          {
            "score": 100,
            "name": "Score32",
            "propertyName": "nameMetaphoneCodes",
            "isIgnored": true,
            "ignoredReasonCode": "score.matchingScore.reason.ignored.best.score.on.property",
            "weight": 0.1,
            "personValue": "PRN",
            "recordValue": "PRN",
            "priority": false,
            "normalizedPersonValue": "PRN",
            "normalizedRecordValue": "PRN"
          }
        ],
        "record": {
          "id": "6427c4e962d8111d00023c9a",
          "externalRef": {
            "sourceKey": "FR_MINISTERS",
            "externalRefId": "BORNE_Elisabeth_18-04-1961_Ministre"
          },
          "name": "Elisabeth BORNE",
          "firstName": "Elisabeth",
          "lastName": "BORNE",
          "birthDate": "18/04/1961",
          "standardizedBirthDates": [
            "1961-04-18"
          ],
          "birthPlace": "Paris",
          "birthCountry": "France",
          "proofsOfId": [],
          "aliases": [],
          "fullDescription": "Nommée le 17/05/2022 dans la fonction de Première Ministre",
          "address": "",
          "zip": "",
          "city": "",
          "country": "",
          "profession": "Haute-fonctionnaire",
          "function": "Ministre",
          "organization": "Gouvernement",
          "startDate": "2022-05-20",
          "endDate": "2023-12-22",
          "officialNewspaper": "https://www.legifrance.gouv.fr/jorf/id/JORFTEXT000045802692",
          "highAuthority": "",
          "infoGreffe": "",
          "representativeProfile": "",
          "dataSourceType": "PEP"
        },
        "state": "NO_MATCH",
        "matchingScore": 100,
        "comments": []
      },
      {
        "appliedScores": [
          {
            "score": 100,
            "name": "Score12",
            "propertyName": "lastName",
            "isIgnored": false,
            "weight": 0.6,
            "personValue": "borne",
            "recordValue": "Borne",
            "priority": false,
            "normalizedPersonValue": "BORNE",
            "normalizedRecordValue": "BORNE"
          },
          {
            "name": "Score14",
            "propertyName": "birthDate",
            "isIgnored": true,
            "ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
            "weight": 0.3,
            "personValue": "18/04/1961",
            "recordValue": "",
            "priority": false,
            "normalizedPersonValue": "18 04 1961",
            "normalizedRecordValue": ""
          },
          {
            "name": "Score24",
            "propertyName": "birthDate",
            "isIgnored": true,
            "ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
            "weight": 0.3,
            "personValue": "18/04/1961",
            "recordValue": "",
            "priority": false,
            "normalizedPersonValue": "18 04 1961",
            "normalizedRecordValue": ""
          },
          {
            "score": 100,
            "name": "Score11",
            "propertyName": "firstName",
            "isIgnored": false,
            "weight": 0.1,
            "personValue": "elisabeth",
            "recordValue": "Elisabeth",
            "priority": true,
            "normalizedPersonValue": "ELISABETH",
            "normalizedRecordValue": "ELISABETH"
          },
          {
            "score": 100,
            "name": "Score32",
            "propertyName": "nameMetaphoneCodes",
            "isIgnored": true,
            "ignoredReasonCode": "score.matchingScore.reason.ignored.best.score.on.property",
            "weight": 0.1,
            "personValue": "PRN",
            "recordValue": "PRN",
            "priority": false,
            "normalizedPersonValue": "PRN",
            "normalizedRecordValue": "PRN"
          }
        ],
        "record": {
          "id": "5df8b87412f9535bd6e0f4be",
          "externalRef": {
            "sourceKey": "FR_LEADERS_PUBLIC_COMPANIES",
            "externalRefId": "Borne_Elisabeth_Président_(Conseil_d'administration__conseil_de_surveillance__..)"
          },
          "name": "Elisabeth Borne",
          "firstName": "Elisabeth",
          "lastName": "Borne",
          "birthDate": "",
          "standardizedBirthDates": [],
          "birthPlace": "",
          "birthCountry": "",
          "proofsOfId": [],
          "aliases": [],
          "fullDescription": "Président (Conseil d'administration, conseil de surveillance, ..) Entreprise publique : REGIE AUTONOME DES TRANSPORTS PARISIENN° SIREN : 775663438  Qualité du représentant : Président - Greffe du tribunal de  Paris - Date 09/07/2016  Source  Fichier SIREN  = Greffe de : Paris 7501  - Lien vers le JORF  =",
          "country": "",
          "profession": "Président (Conseil d'administration, conseil de surveillance, ..) Entreprise publique : REGIE AUTONOME DES TRANSPORTS PARISIENN° SIREN : 775663438  Qualité du représentant : Président - Greffe du tribunal de  Paris - Date 09/07/2016",
          "function": "Président (Conseil d'administration, conseil de surveillance, ..)",
          "organization": "Entreprise publique",
          "startDate": "2016-07-09",
          "officialNewspaper": "",
          "highAuthority": "",
          "infoGreffe": "",
          "dataSourceType": "PEP"
        },
        "state": "NO_MATCH",
        "matchingScore": 100,
        "comments": []
      },
      {
        "appliedScores": [
          {
            "score": 100,
            "name": "Score12",
            "propertyName": "lastName",
            "isIgnored": false,
            "weight": 0.6,
            "personValue": "borne",
            "recordValue": "BORNE",
            "priority": false,
            "normalizedPersonValue": "BORNE",
            "normalizedRecordValue": "BORNE"
          },
          {
            "name": "Score24",
            "propertyName": "birthDate",
            "isIgnored": true,
            "ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
            "weight": 0.3,
            "personValue": "18/04/1961",
            "recordValue": "",
            "priority": false,
            "normalizedPersonValue": "18 04 1961",
            "normalizedRecordValue": ""
          },
          {
            "score": 100,
            "name": "Score11",
            "propertyName": "firstName",
            "isIgnored": false,
            "weight": 0.2,
            "personValue": "elisabeth",
            "recordValue": "ELISABETH",
            "priority": true,
            "normalizedPersonValue": "ELISABETH",
            "normalizedRecordValue": "ELISABETH"
          },
          {
            "score": 100,
            "name": "Score14",
            "propertyName": "birthDate",
            "isIgnored": false,
            "weight": 0.2,
            "personValue": "18/04/1961",
            "recordValue": "18/04/1961",
            "priority": false,
            "normalizedPersonValue": "18 04 1961",
            "normalizedRecordValue": "18 04 1961"
          },
          {
            "score": 100,
            "name": "Score32",
            "propertyName": "nameMetaphoneCodes",
            "isIgnored": true,
            "ignoredReasonCode": "score.matchingScore.reason.ignored.best.score.on.property",
            "weight": 0.1,
            "personValue": "PRN",
            "recordValue": "PRN",
            "priority": false,
            "normalizedPersonValue": "PRN",
            "normalizedRecordValue": "PRN"
          }
        ],
        "record": {
          "id": "649c2293cd80ef65888abdb7",
          "externalRef": {
            "sourceKey": "LISTE_PPE_PRIVEE",
            "externalRefId": "BORNE_ELISABETH_18-04-1961_France"
          },
          "name": "ELISABETH BORNE",
          "firstName": "ELISABETH",
          "lastName": "BORNE",
          "birthDate": "18/04/1961",
          "standardizedBirthDates": [],
          "birthPlace": "Paris, 15ème",
          "birthCountry": "France",
          "proofsOfId": [],
          "aliases": [],
          "fullDescription": "Première Ministre Française",
          "address": "Matignon",
          "zip": "75000",
          "city": "PARIS",
          "country": "France",
          "profession": "Première Ministre",
          "function": "France",
          "organization": "",
          "endDate": "2023-09-14",
          "officialNewspaper": "1961-04-18",
          "highAuthority": "",
          "infoGreffe": "",
          "representativeProfile": "",
          "dataSourceType": "PEP"
        },
        "state": "NO_MATCH",
        "matchingScore": 100,
        "comments": []
      }
    ],
    "oldStatus": {
      "state": "POTENTIAL_RISK",
      "date": "2024-01-24T15:01:06.676Z",
      "authorLogin": "user@beclm.com",
      "maxMatchingScore": 100
    },
    "newStatus": {
      "state": "NO_MATCH",
      "date": "2024-01-24T15:10:19.866Z",
      "authorLogin": "user@beclm.com",
      "maxMatchingScore": 100
    }
  }
}

Exemple d'événement obtenu si un dossier GDA remonte en “Risque Potentiel” suite à un recalcul :

CODE
{
  "eventId": "f53bfd42-d7c0-4a08-b650-c6af95cf60b8",
  "type": "BLACKLIST_PEP_RISK_STATUS_UPDATE",
  "data": {
    "riskFolder": {
      "id": "64ad27092ab4677463d315a2",
      "type": "BLACKLIST",
      "personIdentity": "Vladimirov POUTINE",
      "personType": "CLIENT",
      "manuallyAddedInformation": {
        "postalAddress": {},
        "additionalInformation": {},
        "proofOfId": {}
      },
      "externalRef": {
        "sourceKey": "CLIENTS",
        "externalRefId": "TNR_151_Compteurs_04"
      },
      "comments": [],
      "statuses": [
        {
          "state": "POTENTIAL_RISK",
          "date": "2024-01-24T15:15:55.575Z",
          "authorLogin": "user@beclm.com",
          "maxMatchingScore": 96
        },
        {
          "state": "MATCH",
          "date": "2023-11-07T16:06:23.446Z",
          "authorLogin": "user@beclm.com",
          "maxMatchingScore": 100
        },
        {
          "state": "POTENTIAL_RISK",
          "date": "2023-08-09T18:01:08.090Z",
          "authorLogin": "admin",
          "maxMatchingScore": 100
        },
        {
          "state": "STRUCK_OFF",
          "date": "2023-07-11T10:16:07.809Z",
          "authorLogin": "admin",
          "maxMatchingScore": 100
        },
        {
          "state": "POTENTIAL_RISK",
          "date": "2023-07-11T09:55:21.987Z",
          "authorLogin": "user@beclm.com",
          "maxMatchingScore": 100
        }
      ],
      "lastControlDate": "2024-01-24T15:15:55.575Z",
      "lastFlowId": "653779150abb4d2c19277d1d",
      "lastFlowName": "FLUX_ACCIDENT",
      "lastStatus": {
        "state": "POTENTIAL_RISK",
        "date": "2024-01-24T15:15:55.575Z",
        "authorLogin": "user@beclm.com",
        "maxMatchingScore": 96
      }
    },
    "lastMatchingRecords": [
      {
        "appliedScores": [
          {
            "score": 100,
            "name": "Score27",
            "propertyName": "lastName",
            "isIgnored": false,
            "weight": 0.75,
            "personValue": "POUTINE",
            "recordValue": "POUTINE",
            "priority": false,
            "normalizedPersonValue": "POUTINE",
            "normalizedRecordValue": "POUTINE"
          },
          {
            "score": 80,
            "name": "Score28",
            "propertyName": "firstName",
            "isIgnored": false,
            "weight": 0.2,
            "personValue": "Vladimirov",
            "recordValue": "Vladimir",
            "priority": false,
            "normalizedPersonValue": "VLADIMIROV",
            "normalizedRecordValue": "VLADIMIR"
          },
          {
            "score": 100,
            "name": "Score32",
            "propertyName": "nameMetaphoneCodes",
            "isIgnored": true,
            "ignoredReasonCode": "score.matchingScore.reason.ignored.best.score.on.property",
            "weight": 0.1,
            "personValue": "PTN",
            "recordValue": "PTN",
            "priority": false,
            "normalizedPersonValue": "PTN",
            "normalizedRecordValue": "PTN"
          }
        ],
        "record": {
          "id": "6499b6c5c6981a7dfd1abe4f",
          "externalRef": {
            "sourceKey": "LISTE_GDA_PRIVEE",
            "externalRefId": "POUTINE_Vladimir_07-10-1952"
          },
          "name": "Vladimir POUTINE",
          "firstName": "Vladimir",
          "lastName": "POUTINE",
          "title": "Président de la Russie",
          "birthDate": "07/10/1952",
          "standardizedBirthDates": [
            "1952-10-10"
          ],
          "birthPlace": "Léningrad, RSFS de Russie, URSS",
          "birthCountry": "RUSSIE",
          "nationality": "RUSSIE",
          "proofsOfId": [],
          "aliases": [
            "Влади́мир Влади́мирович Пу́тин",
            " Vladimir Vladimirovitch Poutine"
          ],
          "fullDescription": "Président de la fédération de Russie",
          "address": "Kremlin",
          "zip": "",
          "city": "MOSCOU",
          "country": "RUSSIE",
          "dataSourceType": "BLACKLIST"
        },
        "matchingScore": 96,
        "comments": []
      }
    ],
    "oldStatus": {
      "state": "MATCH",
      "date": "2023-11-07T16:06:23.446Z",
      "authorLogin": "user@beclm.com",
      "maxMatchingScore": 100
    },
    "newStatus": {
      "state": "POTENTIAL_RISK",
      "date": "2024-01-24T15:15:55.575Z",
      "authorLogin": "user@beclm.com",
      "maxMatchingScore": 96
    }
  }
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.