POST RISK COMMENTS UPDATE GDA/PPE
Ce webhook de l'API permet d’envoyer un événement sur une url fournie par le client à chaque fois qu’un commentaire est ajouté ou supprimé sur un dossier ou sur une correspondance d’un dossier de risque.
Cet événement retrace les données du dossier de risque (identité, adresse…), l’historique des statuts du dossier, les différents commentaires sur le dossier et les correspondances ainsi que le détail de chaque correspondance du dossier.
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 commentaire est ajouté sur un dossier de risque GDA au statut “Risque Potentiel” :
{
"eventId": "1fa1851f-c841-4141-aff9-1a4f1eb51550",
"type": "BLACKLIST_PEP_RISK_COMMENTS_UPDATE",
"data": {
"riskFolder": {
"id": "64a2fc389a31af002d1e123f",
"type": "BLACKLIST",
"personIdentity": "- UNIVERSITY",
"manuallyAddedInformation": {
"postalAddress": {},
"additionalInformation": {},
"proofOfId": {}
},
"externalRef": {
"sourceKey": "CLIENTS",
"externalRefId": "Recherche_PM_10174"
},
"comments": [
{
"id": "65830fc3c6794f65c96cc6d7",
"text": "Demande de qualification vers N2 - Lee-Chao-Shit Térence",
"timestamp": "2023-12-20T16:01:07.300Z",
"author": "admin - Terence"
}
],
"statuses": [
{
"state": "POTENTIAL_RISK",
"date": "2023-07-03T16:50:00.162Z",
"authorLogin": "user@beclm.com",
"maxMatchingScore": 100
}
],
"lastControlDate": "2024-01-09T11:07:04.725Z",
"lastFlowId": "63d10fb5dfd505646e715be2",
"lastFlowName": "FLUX_STOCK",
"lastStatus": {
"state": "POTENTIAL_RISK",
"date": "2023-07-03T16:50:00.162Z",
"authorLogin": "user@beclm.com",
"maxMatchingScore": 100
}
},
"lastMatchingRecords": [
{
"appliedScores": [
{
"score": 100,
"name": "Score1",
"propertyName": "lastName",
"isIgnored": false,
"weight": 0.7,
"personValue": " UNIVERSITY",
"recordValue": "Sharif University of Technology",
"priority": false,
"normalizedPersonValue": " UNIVERSITY",
"normalizedRecordValue": "Sharif University of Technology"
},
{
"name": "Score13",
"propertyName": "lastName",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
"weight": 0.3,
"personValue": " UNIVERSITY",
"recordValue": "",
"priority": false,
"normalizedPersonValue": " UNIVERSITY",
"normalizedRecordValue": ""
},
{
"score": 50,
"name": "Score32",
"propertyName": "nameMetaphoneCodes",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.ignored.best.score.on.property",
"weight": 0.1,
"personValue": "ANFRST",
"recordValue": "XRFNFRSTFT",
"priority": false,
"normalizedPersonValue": "ANFRST",
"normalizedRecordValue": "XRFNFRSTFT"
}
],
"record": {
"id": "61dc6a825fad77552d224c12",
"externalRef": {
"sourceKey": "FR_Morales",
"externalRefId": "2026"
},
"name": "Sharif University of Technology",
"lastName": "Sharif University of Technology",
"standardizedBirthDates": [],
"proofsOfId": [],
"aliases": [],
"fullDescription": "La Sharif University of Technology (SUT) a passé un certain nombre d’accords de coopération avec des entités du gouvernement iranien qui sont désignées par les Nations unies et/ou l’Union européenne et qui opèrent dans le domaine militaire ou dans des domaines connexes, en particulier la production et l’achat de missiles balistiques. On peut citer: un accord avec l’Aerospace Industries Organisation [Organisation des Industries Aérospatiales] (AIO), désignée par l’Union, notamment pour la production de satellites; la coopération avec le ministère iranien de la défense et le Corps des gardiens de la révolution islamique (IRGC) concernant des concours pour bateaux \"intelligents\"; un accord plus large avec les forces aériennes de l’IRGC couvrant le développement et le renforcement de leurs relations ainsi que la coopération stratégique et organisationnelle. L’ensemble de ces éléments témoigne d’un niveau important d’engagement auprès du gouvernement de l’Iran dans le domaine militaire ou dans des domaines connexes, qui constitue un soutien au gouvernement de l’Iran.",
"address": "Azadi Ave/Street, PO Box 11365-11155, Téhéran",
"country": "IRAN",
"dataSourceType": "BLACKLIST"
},
"matchingScore": 100,
"comments": []
},
{
"appliedScores": [
{
"score": 100,
"name": "Score1",
"propertyName": "lastName",
"isIgnored": false,
"weight": 0.7,
"personValue": " UNIVERSITY",
"recordValue": "Shahid Beheshti University",
"priority": false,
"normalizedPersonValue": " UNIVERSITY",
"normalizedRecordValue": "Shahid Beheshti University"
},
{
"name": "Score13",
"propertyName": "lastName",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
"weight": 0.3,
"personValue": " UNIVERSITY",
"recordValue": "",
"priority": false,
"normalizedPersonValue": " UNIVERSITY",
"normalizedRecordValue": ""
},
{
"score": 10,
"name": "Score32",
"propertyName": "nameMetaphoneCodes",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.ignored.best.score.on.property",
"weight": 0.1,
"personValue": "ANFRST",
"recordValue": "XHTPHXTNFR",
"priority": false,
"normalizedPersonValue": "ANFRST",
"normalizedRecordValue": "XHTPHXTNFR"
}
],
"record": {
"id": "61dc6a825fad77552d22344b",
"externalRef": {
"sourceKey": "FR_Morales",
"externalRefId": "1959"
},
"name": "Shahid Beheshti University",
"lastName": "Shahid Beheshti University",
"standardizedBirthDates": [],
"proofsOfId": [],
"aliases": [],
"fullDescription": "La Shahid Beheshti University est une entité publique placée sous le contrôle du ministère des sciences, de la recherche et des technologies - effectue des recherches scientifiques liées à la mise au point d'armes nucléaires.",
"address": "Daneshju Blvd., Yaman St., Chamran Blvd., P.O. Box 19839-63113, Téhéran",
"country": "IRAN",
"dataSourceType": "BLACKLIST"
},
"matchingScore": 100,
"comments": []
},
{
"appliedScores": [
{
"score": 100,
"name": "Score1",
"propertyName": "lastName",
"isIgnored": false,
"weight": 0.7,
"personValue": " UNIVERSITY",
"recordValue": "Malek Ashtar University",
"priority": false,
"normalizedPersonValue": " UNIVERSITY",
"normalizedRecordValue": "Malek Ashtar University"
},
{
"score": 90,
"name": "Score13",
"propertyName": "lastName",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.ignored.best.score.on.property",
"weight": 0.3,
"personValue": " UNIVERSITY",
"recordValue": "Univerza za obrambno tehnologijo Malek Ashtar Università Malek Ashtar Πανεπιστήμιο Malek Ashtar Univerzita Maleka Aštara Malek Ashtar-Universität Univerzita Malek Ashtar Université Malek Ashtar Университет Malek Ashtar Malek Ashtar universitetas Università Malek Ashtar Universidade Malek Ashtar Universitatea Malek Ashtar",
"priority": false,
"normalizedPersonValue": " UNIVERSITY",
"normalizedRecordValue": "Univerza za obrambno tehnologijo Malek Ashtar Università Malek Ashtar Πανεπιστήμιο Malek Ashtar Univerzita Maleka Aštara Malek Ashtar-Universität Univerzita Malek Ashtar Université Malek Ashtar Университет Malek Ashtar Malek Ashtar universitetas Università Malek Ashtar Universidade Malek Ashtar Universitatea Malek Ashtar"
},
{
"name": "Score32",
"propertyName": "nameMetaphoneCodes",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
"weight": 0.1,
"personValue": "ANFRST",
"priority": false,
"normalizedPersonValue": "ANFRST"
}
],
"record": {
"id": "622b9662235ae06b5ff06a2d",
"externalRef": {
"sourceKey": "UE_Morales",
"externalRefId": "5286:300"
},
"name": "Malek Ashtar University",
"standardizedBirthDates": [],
"proofsOfId": [],
"aliases": [
"Univerza za obrambno tehnologijo Malek Ashtar",
"Università Malek Ashtar",
"Πανεπιστήμιο Malek Ashtar",
"Univerzita Maleka Aštara",
"Malek Ashtar-Universität",
"Univerzita Malek Ashtar",
"Université Malek Ashtar",
"Университет Malek Ashtar",
"Malek Ashtar universitetas",
"Università Malek Ashtar",
"Universidade Malek Ashtar",
"Universitatea Malek Ashtar"
],
"dataSourceType": "BLACKLIST"
},
"matchingScore": 100,
"comments": []
},
{
"appliedScores": [
{
"score": 100,
"name": "Score1",
"propertyName": "lastName",
"isIgnored": false,
"weight": 0.7,
"personValue": " UNIVERSITY",
"recordValue": "Sharif University of Technology",
"priority": false,
"normalizedPersonValue": " UNIVERSITY",
"normalizedRecordValue": "Sharif University of Technology"
},
{
"score": 69,
"name": "Score13",
"propertyName": "lastName",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.ignored.best.score.on.property",
"weight": 0.3,
"personValue": " UNIVERSITY",
"recordValue": "Sharif technologijos universitetas Universitatea de tehnologie Sharif",
"priority": false,
"normalizedPersonValue": " UNIVERSITY",
"normalizedRecordValue": "Sharif technologijos universitetas Universitatea de tehnologie Sharif"
},
{
"name": "Score32",
"propertyName": "nameMetaphoneCodes",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
"weight": 0.1,
"personValue": "ANFRST",
"priority": false,
"normalizedPersonValue": "ANFRST"
}
],
"record": {
"id": "6217b39ee7e19336438c53e4",
"externalRef": {
"sourceKey": "UE_Morales",
"externalRefId": "7195:141395"
},
"name": "Sharif University of Technology",
"standardizedBirthDates": [],
"proofsOfId": [],
"aliases": [
"Sharif technologijos universitetas",
"Universitatea de tehnologie Sharif"
],
"fullDescription": "Sharif University of Technology (SUT) has a number of cooperation agreements with Iranian Government organisations which are designated by the UN and/or the EU and which operate in military or military-related fields, particularly in the field of ballistic missile production and procurement.",
"dataSourceType": "BLACKLIST"
},
"matchingScore": 100,
"comments": [
{
"id": "65b122d3613b48533046da5e",
"text": "Commentaire au niveau d'une correspondance - CNI à vérifier",
"timestamp": "2024-01-24T14:46:43.792Z",
"author": "Prénom - NOM"
}
]
},
{
"appliedScores": [
{
"score": 100,
"name": "Score1",
"propertyName": "lastName",
"isIgnored": false,
"weight": 0.7,
"personValue": " UNIVERSITY",
"recordValue": "Shahid Beheshti University",
"priority": false,
"normalizedPersonValue": " UNIVERSITY",
"normalizedRecordValue": "Shahid Beheshti University"
},
{
"name": "Score13",
"propertyName": "lastName",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
"weight": 0.3,
"personValue": " UNIVERSITY",
"recordValue": "",
"priority": false,
"normalizedPersonValue": " UNIVERSITY",
"normalizedRecordValue": ""
},
{
"name": "Score32",
"propertyName": "nameMetaphoneCodes",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
"weight": 0.1,
"personValue": "ANFRST",
"priority": false,
"normalizedPersonValue": "ANFRST"
}
],
"record": {
"id": "61dd5d615fad77552d7007d0",
"externalRef": {
"sourceKey": "UE_Morales",
"externalRefId": "6334:310"
},
"name": "Shahid Beheshti University",
"standardizedBirthDates": [],
"proofsOfId": [],
"aliases": [],
"dataSourceType": "BLACKLIST"
},
"matchingScore": 100,
"comments": []
}
],
"mostRecentStatus": {
"state": "POTENTIAL_RISK",
"date": "2023-07-03T16:50:00.162Z",
"authorLogin": "user@beclm.com",
"maxMatchingScore": 100
}
}
}
Exemple d'événement obtenu si un commentaire est supprimé sur la correspondance d'un dossier de risque PPE au statut “Ne sait pas” :
{
"eventId": "0dbe17f5-d1e1-4df9-97a6-5dbf28a39396",
"type": "BLACKLIST_PEP_RISK_COMMENTS_UPDATE",
"data": {
"riskFolder": {
"id": "649c246e3a3d187370e827de",
"type": "PEP",
"personIdentity": "Xavier BRETON",
"personType": "PROSPECT",
"manuallyAddedInformation": {
"postalAddress": {},
"additionalInformation": {},
"proofOfId": {}
},
"externalRef": {
"sourceKey": "CLIENTS",
"externalRefId": "Test9877_Import_015"
},
"comments": [],
"statuses": [
{
"state": "UNKNOWN",
"date": "2023-06-28T12:21:33.034Z",
"authorLogin": "admin",
"maxMatchingScore": 100
},
{
"state": "POTENTIAL_RISK",
"date": "2023-06-28T12:15:42.990Z",
"authorLogin": "admin",
"maxMatchingScore": 100
}
],
"lastControlDate": "2023-06-28T12:28:07.524Z",
"lastFlowId": "614099278492bc3af9455bd7",
"lastFlowName": "FLUX_NEW",
"lastStatus": {
"state": "UNKNOWN",
"date": "2023-06-28T12:21:33.034Z",
"authorLogin": "admin",
"maxMatchingScore": 100
}
},
"lastMatchingRecords": [
{
"appliedScores": [
{
"score": 100,
"name": "Score11",
"propertyName": "firstName",
"isIgnored": false,
"weight": 0.1,
"personValue": "Xavier",
"recordValue": "Xavier",
"priority": true,
"normalizedPersonValue": "XAVIER",
"normalizedRecordValue": "XAVIER"
},
{
"score": 100,
"name": "Score12",
"propertyName": "lastName",
"isIgnored": false,
"weight": 0.6,
"personValue": "BRETON",
"recordValue": "Breton",
"priority": false,
"normalizedPersonValue": "BRETON",
"normalizedRecordValue": "BRETON"
},
{
"name": "Score14",
"propertyName": "birthDate",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
"weight": 0.3,
"recordValue": "25/11/1962",
"priority": false,
"normalizedRecordValue": "25 11 1962"
},
{
"name": "Score24",
"propertyName": "birthDate",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
"weight": 0.3,
"recordValue": "1962-11-25",
"priority": false,
"normalizedRecordValue": "1962 11 25"
}
],
"record": {
"id": "63a418cad4f1b31275d6ac70",
"externalRef": {
"sourceKey": "FR_LEADER",
"externalRefId": "Breton_Xavier_25-11-1962_Personne_Politique"
},
"name": "Xavier Breton",
"firstName": "Xavier",
"lastName": "Breton",
"birthDate": "25/11/1962",
"standardizedBirthDates": [
"1962-11-25"
],
"birthPlace": "Darney",
"birthCountry": "France",
"proofsOfId": [],
"aliases": [],
"fullDescription": "député du 20-6-2007 au 19-6-2012 / député du 20-6-2012 au 20-6-2017 / / / / / / / / / / / / / / / / / /",
"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": "UNKNOWN",
"matchingScore": 100,
"comments": [
{
"id": "65b12370613b48533046da5f",
"text": "Commentaire au niveau d'une correspondance - CNI à vérifier",
"timestamp": "2024-01-24T14:49:20.640Z",
"author": "Prénom - NOM"
}
]
},
{
"appliedScores": [
{
"score": 100,
"name": "Score11",
"propertyName": "firstName",
"isIgnored": false,
"weight": 0.1,
"personValue": "Xavier",
"recordValue": "Xavier",
"priority": true,
"normalizedPersonValue": "XAVIER",
"normalizedRecordValue": "XAVIER"
},
{
"score": 100,
"name": "Score12",
"propertyName": "lastName",
"isIgnored": false,
"weight": 0.6,
"personValue": "BRETON",
"recordValue": "BRETON",
"priority": false,
"normalizedPersonValue": "BRETON",
"normalizedRecordValue": "BRETON"
},
{
"name": "Score14",
"propertyName": "birthDate",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
"weight": 0.3,
"recordValue": "25/11/1962",
"priority": false,
"normalizedRecordValue": "25 11 1962"
},
{
"name": "Score24",
"propertyName": "birthDate",
"isIgnored": true,
"ignoredReasonCode": "score.matchingScore.reason.uncomputed.score.missing.value",
"weight": 0.3,
"recordValue": "1962-11-25",
"priority": false,
"normalizedRecordValue": "1962 11 25"
}
],
"record": {
"id": "6480bb4ba9ca5f6a32ea5c52",
"externalRef": {
"sourceKey": "FR_DEPUTIES",
"externalRefId": "BRETON_Xavier_25-11-1962_Député"
},
"name": "Xavier BRETON",
"firstName": "Xavier",
"lastName": "BRETON",
"birthDate": "25/11/1962",
"standardizedBirthDates": [
"1962-11-25"
],
"birthPlace": "",
"birthCountry": "",
"proofsOfId": [],
"aliases": [],
"fullDescription": "Ain - 1Ère Circonscription",
"address": "",
"zip": "",
"city": "",
"country": "",
"profession": "Cadre de la fonction publique",
"function": "Député",
"organization": "",
"startDate": "2022-06-22",
"officialNewspaper": "",
"highAuthority": "",
"infoGreffe": "",
"representativeProfile": "",
"dataSourceType": "PEP"
},
"matchingScore": 100,
"comments": []
}
],
"secondToLastMostRecentStatus": {
"state": "POTENTIAL_RISK",
"date": "2023-06-28T12:15:42.990Z",
"authorLogin": "admin",
"maxMatchingScore": 100
},
"mostRecentStatus": {
"state": "UNKNOWN",
"date": "2023-06-28T12:21:33.034Z",
"authorLogin": "admin",
"maxMatchingScore": 100
}
}
}