Person AML Monitoring
Table of Contents
- 1 Introduction
- 2 Manage Person Records
- 2.1 Start monitoring a person
- 2.2 Bulk add persons to the monitoring
- 2.3 Stop monitoring a person
- 2.4 Bulk remove persons from monitoring
- 2.5 Update person monitoring record
- 2.6 Bulk update person monitoring records
- 2.7 Retrieve a specific person monitoring record
- 2.8 Retrieve all person monitoring records
- 3 Retrieve Person Matches
- 4 Get Monitored Person Match Details
- 5 Code Examples
- 5.1 Start monitoring a person
- 5.2 Bulk add multiple persons to the monitoring
- 5.3 Bulk remove persons from monitoring
- 5.4 Update person monitoring record
- 5.5 Bulk update person monitoring records
- 5.6 Retrieve a specific person monitoring record
- 5.7 Retrieve all person monitoring records
- 5.8 Retrieve all matches of the person
- 5.9 Retrieve a specific match of the person
- 5.10 Get monitored person match details
Introduction
Once monitoring rules in the worklist are set up, you can do the following actions with persons:
Manage person records:
Add a person to monitoring
Remove person from monitoring
Update person record
Get person records
Retrieve person matches
Get monitored personโs details
Manage Person Records
Start monitoring a person
To start monitoring a person, add it to the monitoring worklist.
To do this, call the following endpoint:
POST /v1/worklists/{worklistId}/natural-entity-records
This endpoint only capable to add 1 person at a time. To add multiple persons in one request, please check out the next section.
Headers
Parameter | Type | Required | Description |
---|---|---|---|
worklistId | string | YES | The unique Id of the worklist. |
Correlation-Id | string | NO | A unique identifier assigned to the request. |
Application-Id | string | NO | Your application Id. Please contact support@ondato.com you donโt have one. |
Access token | string | YES | Described in the Authentication part |
Request body
Field | Type | Required | Description |
---|---|---|---|
| string | YES | The name of the person. |
| string | NO | Date of birth of the person. Format: YYYY-MM-DD or YYYY. |
| string | NO | Gender of the person. |
| string | NO | A unique identifier for the personโes reference in the system. |
| string | NO | User created reference for the person in the system, for example "My Reference". |
Response
After successfully creating a person record youโll get a response with success code 201: Created
and recordId
of the person for subsequent calls.
Field | Type | Description |
---|---|---|
| string | The |
Bulk add persons to the monitoring
You can add multiple persons to the monitoring with one call.
To do this, call the following endpoint:
POST /v1/worklists/{worklistId}/natural-entity-records/batch
This endpoint capable to add up to 25 records with one call.
POST /v1/worklists/{worklistId}/natural-entity-records/batch-async
This endpoint capable to add up to 10.000 records with one call. Records added through this endpoint will take longer to be processed and appear in the worklist.
Headers
Parameter | Type | Required | Description |
---|---|---|---|
worklistId | string | YES | The unique Id of the worklist. |
Correlation-Id | string | NO | A unique identifier assigned to the request. |
Application-Id | string | NO | Your application Id. Please contact support@ondato.com you donโt have one. |
Access token | string | YES | Described in the Authentication part |
Request body
Field | Type | Required | Description |
---|---|---|---|
| array<object> | - | An array of objects representing the person records. |
naturalEntityRecords. | string | YES | The name of the person. |
naturalEntityRecords. | string | NO | Date of birth of the person. Format: YYYY-MM-DD or YYYY. |
naturalEntityRecords. | string | NO | Gender of the person. |
naturalEntityRecords. | string | NO | A unique identifier for the personโes reference in the system. |
naturalEntityRecords. | string | NO | User created reference for the person in the system, for example "My Reference". |
Response
After successfully creating a person records youโll get a response with success code 200: Success
with fields:
Field | Type | Description |
---|---|---|
| boolean | A boolean value indicating whether there are any errors in the response. If there are errors, the records array may contain error objects. |
| array | An array of objects representing the records in the response. |
records. | string | The unique identifier for the record in the system. |
records. | string | The date and time when the record was created in ISO 8601 format. |
records. | string | The name of the person. |
records. | string | Date of birth of the person. Format: YYYY-MM-DD or YYYY. |
records. | string | Gender of the person. |
records. | string | A unique identifier for the personโes reference in the system. |
records. | string | User created reference for the person in the system, for example "My Reference". |
records. | object | An optional object containing information about any errors associated with the record. |
records.error. | string | A string code identifying the type of error that occurred. |
records.error. | string | A human-readable message describing the error that occurred. |
Stop monitoring a person
To stop monitoring the person, remove it from the monitoring worklist.
To do this, call the following endpoint:
DELETE /v1/worklists/{worklistId}/natural-entity-records/{recordId}
This endpoint only capable to remove 1 person at a time. To remove multiple persons in one request, please check out the section below.
Headers
Parameter | Type | Required | Description |
---|---|---|---|
worklistId | string | YES | The unique Id of the worklist. |
recordId | string | YES | The unique Id of the person to update. |
Correlation-Id | string | NO | A unique identifier assigned to the request. |
Application-Id | string | NO | Your application Id. Please contact support@ondato.com you donโt have one. |
Access token | string | YES | Described in the Authentication part |
Response
After successfully deleting the person record from monitoring, youโll get a response with success code 204: No Content
.
Bulk remove persons from monitoring
You can remove multiple persons from the monitoring with one call.
To do this, call the following endpoint:
DELETE /v1/worklists/{worklistId}/natural-entity-records/batch
This endpoint capable to remove up to 25 records with one call.
Headers
Parameter | Type | Required | Description |
---|---|---|---|
worklistId | string | YES | The unique Id of the worklist. |
Correlation-Id | string | NO | A unique identifier assigned to the request. |
Application-Id | string | NO | Your application Id. Please contact support@ondato.com you donโt have one. |
Access token | string | YES | Described in the Authentication part |
Request body
Field | Type | Required | Description |
---|---|---|---|
| array<object> | - | An array of objects representing idโs of person records. |
naturalEntityRecords. | string | ย | The |
Response
After successfully deleting person records from monitoring, youโll get a response with success code 200: Success
with fields:
Field | Type | Description |
---|---|---|
| boolean | A boolean value indicating whether there are any errors in the response. If there are errors, the records array may contain error objects. |
| array | An array of objects representing the records in the response. |
deletedRecords. | string | The |
deletedRecords. | object | An optional object containing information about any errors associated with the record. |
deletedRecords.error. | string | A string code identifying the type of error that occurred. |
deletedRecords.error. | string | A human-readable message describing the error that occurred. |
Update person monitoring record
You can update existing person record.
To do this, call the following endpoint:
PUT /v1/worklists/{worklistId}/natural-entity-records/{recordId}
This endpoint only capable to update 1 person at a time. To update multiple persons in one request, please see the next section.
Headers
Parameter | Type | Required | Description |
---|---|---|---|
worklistId | string | YES | The unique Id of the worklist. |
recordId | string | YES | The unique Id of the person to update. |
Correlation-Id | string | NO | A unique identifier assigned to the request. |
Application-Id | string | NO | Your application Id. Please contact support@ondato.com you donโt have one. |
Access token | string | YES | Described in the Authentication part |
Request body
Field | Type | Required | Description |
---|---|---|---|
| string | YES | The updated name of the person. |
records. | string | NO | Date of birth of the person. Format: YYYY-MM-DD or YYYY. |
records. | string | NO | Gender of the person. |
| string | NO | An updated identifier for the personโes reference in the system. |
| string | NO | An updated reference for the person in the system. |
Response
After successfully updating a person record, youโll get a response with success code 204: No Content
.
Bulk update person monitoring records
You can update multiple persons with one call.
To do this, call the following endpoint:
PUT /v1/worklists/{worklistId}/natural-entity-records/batch
This endpoint capable to update up to 25 records with one call.
Headers
Parameter | Type | Required | Description |
---|---|---|---|
worklistId | string | YES | The unique Id of the worklist. |
Correlation-Id | string | NO | A unique identifier assigned to the request. |
Application-Id | string | NO | Your application Id. Please contact support@ondato.com you donโt have one. |
Access token | string | YES | Described in the Authentication part |
Request body
Field | Type | Required | Description |
---|---|---|---|
| array<object> | - | An array of objects representing the person records. |
naturalEntityRecords. | string | YES | The updated name of the person. |
naturalEntityRecords. | string | NO | Date of birth of the person. Format: YYYY-MM-DD or YYYY. |
naturalEntityRecords. | string | NO | Gender of the person. |
naturalEntityRecords. | string | NO | An updated identifier for the personโes reference in the system. |
naturalEntityRecords. | string | NO | Updated reference for the person in the system. |
naturalEntityRecords. | string | YES | The unique Id of the person which will be updated. |
Response
After successfully updating person records, youโll get a response with success code 200: Success
with fields:
Field | Type | Description |
---|---|---|
| boolean | A boolean value indicating whether there are any errors in the response. If there are errors, the records array may contain error objects. |
| array | An array of objects representing the records in the response. |
records. | string | The unique identifier for the record in the system. |
records. | string | The date and time when the record was created in ISO 8601 format. |
records. | string | The name of the person. |
records. | string | Date of birth of the person. Format: YYYY-MM-DD or YYYY. |
records. | string | Gender of the person. |
records. | string | A unique identifier for the personโes reference in the system. |
records. | string | User created reference for the person in the system, for example "My Reference". |
records. | object | An optional object containing information about any errors associated with the record. |
records.error. | string | A string code identifying the type of error that occurred. |
records.error. | string |