Add a person to monitoring
Once monitoring rules are set up, you can add a person(-s) to the monitoring worklist.
🧑🦱 🧑 🧑🦱 Add multiple persons to the monitoring worklist
If you want to add several persons to monitoring, call the following endpoint:
PUT /worklists/{worklistId}/individuals
- add/update multiple persons, up to 25 000.
Request data
{worklistId}
- worklist Id, into which persons will be added.
Name | Description | Mandatory/Optional | |
---|---|---|---|
1 | id | The unique Id of monitored person set by the user. | MANDATORY |
2 | name | The full name of the person to be monitored. | MANDATORY |
3 | countries | The list of countries related to person in ISO2 format. | MANDATORY |
4 | dob | Person’s date of birth in ISO format YYYY-MM-DD. | OPTIONAL |
5 | gender | Possible enum values:
| OPTIONAL |
🗒️ Example
Response data
In the response, you’ll get the results array with status codes:
Name | Description | |
---|---|---|
1 | hasErrors | Indicates if any of processed records has erros. |
2 | results | The array with status codes of added records. |
3 | results. | The status code of record. |
4 | results. | Object with information about errors. |
5 | results.error. | Error identifier. |
6 | results.error. | Error description. |
🗒️ Example
🧑🦱 Add a single person to the monitoring worklist
If you want to add a single person to monitoring, call the following endpoint:
PUT /worklists/{worklistId}/individuals/{monitorRecordId}
- add/update single person, providing it’s Id.
Request data
{worklistId}
- worklist Id, into which persons will be added.
{monitorRecordId}
- the unique Id of the person, who will be monitored.
Name | Description | Mandatory/Optional | |
---|---|---|---|
1 | name | The full name of the person to be monitored. | MANDATORY |
2 | countries | The list of countries related to person in ISO2 format. | MANDATORY |
3 | dob | Person’s date of birth in ISO format YYYY-MM-DD. | OPTIONAL |
4 | gender | Possible enum values:
| OPTIONAL |
🗒️ Example
Response data
After successfully adding a person(-s) to the monitoring worklist you’ll get a response with success code 201: Created
.
Update monitoring record
The monitored person can be updated by calling the same endpoints as for adding a person to monitoring :
PUT /worklists/{worklistId}/individuals
- to update multiple persons, up to 25 000.
or
PUT /worklists/{worklistId}/individuals/{monitorRecordId}
- to update a single person, providing it’s Id.
Update multiple persons record
Request data
In query parameter {worklistId}
pass Id of the worklist inside which persons will be updated.
The request structure is the same as for adding to monitoring. You can change the current values of a particular field by providing new ones:
Current
{ "monitorRecords": [ { "id": "HighRiskProfile300", "name": "Boyko Borissov", "countries": [ "US" ], "dob": "1994-08-22", "gender": "male" } ] }
Updated
{ "monitorRecords": [ { "id": "HighRiskProfile300", "name": "Alan Alanavicius", "countries": [ "US", "LT" ], "dob": "1994-10-11" } ] }
Response data
After successfully updating multiple persons monitoring records you’ll get the same response as for adding persons to monitoring, described here.
Update a single person record
Request data
In query parameter
{worklistId}
pass Id of the worklist inside which persons will be updated.In query parameter
{monitorRecordId}
pass Id of the person who will be updated.
The request structure is the same as for adding to monitoring. You can change the current values of a particular field by providing new ones:
Current
{ "name": "Boyko Borissov", "countries": [ "US" ], "dob": "1994-08-22", "gender": "male" }
Updated
{ "name": "Alan Alanavicius", "countries": [ "US", "LT" ], "dob": "1991" }
Response data
After successfully updating a single person monitoring record you’ll get the response with success code 200: Ok
.
Retrieve monitoring record
Specific person by Id
To retrieve a specific person, call the endpoint:
GET /worklists/{worklistId}/individuals/{monitorRecordId}
- get a person by Id.
Request data
{worklistId}
- Id of the worklist you want to retrieve.
{monitorRecordId}
- the unique Id of the person, who will be retrieved.
Response data
Name | Description | |
---|---|---|
1 | name | The full name of the retrieved person. |
2 | countries | The list of countries related to person in ISO2 format. |
3 | dob | Person’s date of birth in ISO format YYYY-MM-DD. |
4 | gender | Possible enum values:
|
5 | id | the unique Id of the retrieved person. |
6 | openCount | The number of open matches for the retrieved person. |
7 | falsePositiveCount | The number of matches already closed as false positive. |
8 | truePositiveCount | The number of matches already closed as true positive. |
9 | discardedCount | The number of matches already discarded. |
10 | createdDateTimeISO | The timestamp when the person was firstly added to monitoring. |
11 | lastUpdatedDateTimeISO | The last time the person record was updated by the user. |
🗒️ Example
All persons
To retrieve all persons, call the endpoint:
GET /worklists/{worklistId}/individuals
- get all persons.
Request data
{worklistId}
- Id of the worklist from which persons will be retrieved.
Name | Description | Mandatory/Optional | |
---|---|---|---|
1 | nextToken | Token of the next page. Leaving this blank will return the first page. | OPTIONAL |
2 | pageSize | Number of worklists per page. Leaving blank will return up to 1 MB data. | OPTIONAL |
3 | status | Filters monitor records by status. Possible enum values:
If not selected, all persons will be returned. | OPTIONAL |
Response data
Name | Description | |
---|---|---|
1 | monitorRecords | List of monitorRecords. |
2 | monitorRecords. | Same as in specific person by id section. |
3 | monitorRecords. | |
4 | monitorRecords. | |
5 | monitorRecords. | |
6 | monitorRecords. | |
7 | monitorRecords. | |
8 | monitorRecords. | |
9 | monitorRecords. | |
10 | monitorRecords. | |
11 | monitorRecords. | |
12 | monitorRecords. | |
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 |
🗒️ Example
Delete monitoring record
Business
Add a record to monitoring worklist
Once monitoring rules are set up, you can add business(-es) to the monitoring worklist.
🏛️ 🏢 🏘️ Add multiple businesses to the monitoring worklist
If you want to add several businesses to monitoring, call the following endpoint:
PUT /worklists/{worklistId}/businesses
- add/update multiple businesses, up to 25.
{worklistId}
- worklist Id, into which businesses will be added.
Request data
Name | Description | Mandatory/Optional | |
---|---|---|---|
1 | id | The unique Id of monitored business set by the user. | MANDATORY |
2 | name | The full name of the business to be monitored. | MANDATORY |
3 | countries | The list of countries related to the business in ISO2 format. | MANDATORY |
🗒️ Example
Response data
In the response, you’ll get the results array with status codes, the same as for persons.
🏢 Add a single business to the monitoring worklist
If you want to add a single business to monitoring, call the following endpoint:
PUT /worklists/{worklistId}/businesses/{monitorRecordId}
- add/update single business, providing it's Id.
{worklistId}
- worklist Id, into which persons will be added.
{monitorRecordId}
- the unique Id of the business, who will be monitored.
Request data
Name | Description | Mandatory/Optional | |
---|---|---|---|
1 | name | The full name of the business to be monitored. | MANDATORY |
2 | countries | The list of countries related to business in ISO2 format. | MANDATORY |
🗒️ Example
Response data
After successfully adding a business to the monitoring worklist you’ll get a response with success code 201: Created
.
0 Comments