Table of Contents
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
...
Field | Type | Description |
---|---|---|
| string | The |
...
2️⃣
...
Stop monitoring a business
Info |
---|
|
Note |
---|
This endpoint capable to add up to 25 records with one callonly capable to remove 1 business at a time. To remove multiple businesses 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 |
NO
YES | The unique Id of the business 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
...
legalEntityRecords
...
array<object>
...
-
...
An array of objects representing the business records.
...
legalEntityRecords.name
...
string
...
YES
...
The name of the business.
...
legalEntityRecords.referenceId
...
string
...
NO
...
A unique identifier for the business’es reference in the system.
...
legalEntityRecords.referenceType
...
string
...
NO
...
User created reference for the business in the system, for example "My Reference".
🥫 Response
After successfully creating a business records you’ll get a response with success code 200: Success
with fields:
...
Field
...
Type
...
Description
...
hasErrors
...
boolean
...
A boolean value indicating whether there are any errors in the response. If there are errors, the records array may contain error objects.
...
records
...
array
...
An array of objects representing the records in the response.
...
records.id
...
string
...
The unique identifier for the record in the system.
...
records.createdAt
...
string
...
The date and time when the record was created in ISO 8601 format.
...
records.name
...
string
...
The name of the business.
...
records.referenceId
...
string
...
A unique identifier for the business’es reference in the system.
...
records.referenceType
...
string
...
User created reference for the business in the system, for example "My Reference".
...
records.error
...
object
...
An optional object containing information about any errors associated with the record.
...
records.error.code
...
string
...
A string code identifying the type of error that occurred.
...
records.error.message
...
string
...
A human-readable message describing the error that occurred.
3️⃣ Stop monitoring a business
Info |
---|
|
Note |
---|
This endpoint only capable to remove 1 business at a time. To remove multiple businesses 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 business 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 business record from monitoring, you’ll get a response with success code 204: No Content
.
4️⃣ Bulk remove businesses from monitoring
...
🥫 Response
After successfully deleting the business record from monitoring, you’ll get a response with success code 204: No Content
.
...
3️⃣ Update business monitoring record
Info |
---|
|
Note |
---|
This endpoint only capable to update 1 business at a time. To update multiple businesses 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 business 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 business. |
| string | NO | An updated identifier for the business’es reference in the system. |
| string | NO | An updated reference for the business in the system. |
...
🥫 Response
After successfully updating a business record, you’ll get a response with success code 204: No Content
.
...
4️⃣ Retrieve a specific business monitoring record
Info |
---|
|
Note |
---|
This endpoint only capable to retrieve 1 business at a time. To retrive multiple businesses 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 business to retrieve. |
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 retrieving a business record you’ll get a response with success code 200: Success
with fields:
Field | Type | Description |
---|---|---|
| string | The unique identifier for the record in the system. |
| string | Date and time when the response was created. |
| string | The name of the business associated with the response. |
| string | A unique identifier for the business’es reference in the system. |
| string | User created reference for the business in the system, for example "My Reference". |
| integer | The number of open matches for the monitor record |
| integer | The number of matches already closed as false positive |
| integer | The number of matches already closed as true positive. |
| integer | The number of matches already discarded. |
| string | Date and time when the business record was first created. |
| string | Date and time when the business record was last updated. |
...
5️⃣ Retrieve all business monitoring records
Info |
---|
This endpoint capable to remove up to 25 records with one call.
|
Note |
|
...
🔠 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
Note |
---|
All request fields are optional. They can be passed to narrow the search. |
Field | Type | Required | Description |
---|
legalEntityRecords
|
id
string |
-
An array of objects representing id’s of business records.
NO | The unique identifier for the record in the system. | ||
| string | NO | The |
recordId
name of the business |
. |
🥫 Response
After successfully deleting business records from monitoring, you’ll get a response with success code 200: Success
with fields:
...
Field
...
Type
...
Description
...
hasErrors
...
boolean
...
A boolean value indicating whether there are any errors in the response. If there are errors, the records array may contain error objects.
...
deletedRecords
...
array
...
An array of objects representing the records in the response.
...
deletedRecords.id
...
string
...
The recordId
of the removed business.
...
deletedRecords.error
...
object
...
An optional object containing information about any errors associated with the record.
...
deletedRecords.error.code
...
string
...
A string code identifying the type of error that occurred.
...
deletedRecords.error.message
...
string
...
A human-readable message describing the error that occurred.
5️⃣ Update business monitoring record
Info |
---|
|
Note |
---|
This endpoint only capable to update 1 business at a time. To update multiple businesses 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 business 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
...
name
...
string
...
YES
...
The updated name of the business.
...
referenceId
...
string
...
NO
...
An updated identifier for the business’es reference in the system.
...
referenceType
...
string
...
NO
...
An updated reference for the business in the system.
🥫 Response
After successfully updating a business record, you’ll get a response with success code 204: No Content
.
6️⃣ Bulk update business monitoring records
...
| string | NO | A unique identifier for the business’es reference in the system. |
| string | NO | User created reference for the business in the system, for example "My Reference". |
| string | NO | Date FROM when business record was added to worklist. Response will return business records added after this date. |
| string | NO | Date TO when business record was added to worklist. Response will return business records added before this date. |
...
🥫 Response
After successfully retrieving a business 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 business. |
records. | string | A unique identifier for the business’es reference in the system. |
records. | string | User created reference for the business 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. |
...
🛒 Retrieve Business Matches
If any of your monitored business records gets a match in our AML datasets, you can retrieve it.
...
1️⃣ Retrieve all matches of the business
Info |
---|
This endpoint capable to update up to 25 records with one call.
|
Note |
|
...
🔠 Headers
Parameter | Type | Required | Description |
---|---|---|---|
worklistId | string | YES | The unique Id of the worklist. |
recordId | string | YES | The unique Id of the business record to retrieve. |
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 retrieving the business matches you’ll get a response with success code 201: Created
with fields:
Field | Type |
---|
Description |
---|
legalEntityRecords
|
array<object>
-
integer | Total number of matches. | |
| array<object> | An array of objects representing the |
match information. |
matches. |
name
| string |
YES
Current status of the business match. |
legalEntityRecords.referenceId
string
NO
An updated identifier for the business’es reference in the system.
legalEntityRecords.referenceType
string
NO
Updated reference for the business in the system.
legalEntityRecords.id
string
YES
The unique Id of the business which will be updated.
🥫 Response
After successfully updating business records, you’ll get a response with success code 200: Success
with fields:
...
Field
...
Type
...
Description
...
hasErrors
...
boolean
...
A boolean value indicating whether there are any errors in the response. If there are errors, the records array may contain error objects.
...
records
...
array
...
An array of objects representing the records in the response.
...
records.id
...
string
...
The unique identifier for the record in the system.
...
records.createdAt
...
string
...
The date and time when the record was created in ISO 8601 format.
...
records.name
...
string
...
The name of the business.
...
records.referenceId
...
string
...
A unique identifier for the business’es reference in the system.
...
records.referenceType
...
string
...
User created reference for the business in the system, for example "My Reference".
...
records.error
...
object
...
An optional object containing information about any errors associated with the record.
...
records.error.code
...
string
...
A string code identifying the type of error that occurred.
...
records.error.message
...
string
...
A human-readable message describing the error that occurred.
7️⃣ Retrieve a specific business monitoring record
Info |
---|
|
Note |
---|
This endpoint only capable to retrieve 1 business at a time. To retrive multiple businesses 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 business to retrieve.
Correlation-Id
string
NO
Possible enum values:
| ||
matches. | string | The unique Id of the business match. |
matches. | integer | Can be used to detect when the profile has changed. |
matches. | string | The unique id that can be used to retrieve the detailed information about business profile via |
matches. | integer | The match score. This means how accurate the found business match the monitored business. E.g. Possible values from |
matches. | string | The business name that has been matched in the monitoring. |
matches. | string | The name of the found business. |
matches. | string | The list of countries from the addresses and nationalities of the profile. |
matches. | string | Active datasets where business is tagged in. Possible enum values are any of the described datasets here. |
matches. | integer | This value can be used for version control. |
...
2️⃣ Retrieve a specific match of the business
Info |
---|
|
...
🔠 Headers
Parameter | Type | Required | Description |
---|---|---|---|
worklistId | string | YES | The unique Id of the worklist. |
recordId | string | YES | The unique Id of the business record to retrieve. |
matchId | string | YES | The unique Id of the business match to retrieve. |
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 retrieving a business record match you’ll get a response with success code 200: Success
with fields:
Field | Type | Description |
---|
id
| string |
The unique identifier for the record in the system.
createdAt
string
Date and time when the response was created.
name
string
The name of the business associated with the response.
referenceId
string
A unique identifier for the business’es reference in the system.
referenceType
string
User created reference for the business in the system, for example "My Reference".
openCount
integer
The number of open matches for the monitor record
falsePositiveCount
integer
The number of matches already closed as false positive
truePositiveCount
integer
The number of matches already closed as true positive.
discardedCount
integer
The number of matches already discarded.
createdDateTimeIso
string
Date and time when the business record was first created.
lastUpdatedDateTimeIso
string
Date and time when the business record was last updated.
8️⃣ Retrieve all business monitoring records
...
You can retrieve information about all business records in the worklist.
To do this, call the following endpoint:
...
Current status of the business match. Possible enum values:
| ||
| string | The unique Id of the business match. |
| string | Can be used to detect when the profile has changed. |
| string | The unique id that can be used to retrieve the detailed information about business profile via |
| string | The match score. This means how accurate the found business match the monitored business. E.g. Possible values from |
| integer | The business name that has been matched in the monitoring. |
| integer | The name of the found business. |
| integer | The list of countries from the addresses and nationalities of the profile. |
| integer | Active datasets where business is tagged in. Possible enum values are any of the described datasets here. |
| string | This value can be used for version control. |
...
📥 Get Monitored Business Match Details
Info |
---|
|
...
🔠 Headers
Parameter | Type | Required | Description |
---|
resourceId | string | YES | The unique Id of |
the matched business profile to retrieve the detailed information. | |||
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
Note |
---|
All request fields are optional. They can be passed to narrow the search. |
...
Field
...
Type
...
Required
...
Description
...
id
...
string
...
NO
...
The unique identifier for the record in the system.
...
name
...
string
...
NO
...
The name of the business.
...
referenceId
...
string
...
NO
...
A unique identifier for the business’es reference in the system.
...
referenceType
...
string
...
NO
...
User created reference for the business in the system, for example "My Reference".
...
from
...
string
...
NO
...
Date FROM when business record was added to worklist.
Response will return business records added after this date.
...
to
...
string
...
NO
...
Date TO when business record was added to worklist.
Response will return business records added before this date.
🥫 Response
After successfully retrieving a business records, you’ll get a response with success code 200: Success
with fields:
...
Field
...
Type
...
Description
...
hasErrors
...
boolean
...
A boolean value indicating whether there are any errors in the response. If there are errors, the records array may contain error objects.
...
records
...
array
...
An array of objects representing the records in the response.
...
records.id
...
string
...
The unique identifier for the record in the system.
...
records.createdAt
...
string
...
The date and time when the record was created in ISO 8601 format.
...
records.name
...
string
...
The name of the business.
...
records.referenceId
...
string
...
A unique identifier for the business’es reference in the system.
...
records.referenceType
...
string
...
User created reference for the business in the system, for example "My Reference".
...
records.error
...
object
...
An optional object containing information about any errors associated with the record.
...
records.error.code
...
string
...
A string code identifying the type of error that occurred.
...
records.error.message
...
string
...
A human-readable message describing the error that occurred.
...
🛒 Retrieve Business Matches
If any of your monitored business records gets a match in our AML datasets, you can retrieve it.
1️⃣ Retrieve all matches of the business
Info |
---|
|
🔠 Headers
...
Parameter
...
Type
...
Required
...
Description
...
worklistId
...
string
...
YES
...
The unique Id of the worklist.
...
recordId
...
string
...
YES
...
The unique Id of the business record to retrieve.
...
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 retrieving the business matches you’ll get a response with success code 201: Created
with fields:
...
Field
...
Type
...
Description
...
totalCount
...
integer
...
Total number of matches.
...
matches
...
array<object>
...
An array of objects representing the match information.
...
matches.currentStatus
...
string
...
Current status of the business match.
Possible enum values:
Open
- match requires review.TruePositive
- match closed as true positiveFalsePositive
- match closed as false positiveDiscarded
- match was discarded
...
matches.matchId
...
string
...
The unique Id of the business match.
...
matches.version
...
integer
...
Can be used to detect when the profile has changed.
...
matches.resourceId
...
string
...
The unique id that can be used to retrieve the detailed information about business profile via GET /v1/legal-entity-details/{resourceId}
endpoint.
...
matches.score
...
integer
...
The match score. This means how accurate the found business match the monitored business.
E.g. "score": 100
means that the found business is the exact match to the provided in the monitoring.
Possible values from 75
to 100
...
matches.match
...
string
...
The business name that has been matched in the monitoring.
...
matches.name
...
string
...
The name of the found business.
...
matches.countries
...
string
...
The list of countries from the addresses and nationalities of the profile.
...
matches.dataSets
...
string
...
Active datasets where business is tagged in.
Possible enum values are any of the described datasets here.
...
matches.matchVersion
...
integer
...
This value can be used for version control.
2️⃣ Retrieve a specific match of the business
Info |
---|
|
🔠 Headers
...
Parameter
...
Type
...
Required
...
Description
...
worklistId
...
string
...
YES
...
The unique Id of the worklist.
...
recordId
...
string
...
YES
...
The unique Id of the business record to retrieve.
...
matchId
...
string
...
YES
...
The unique Id of the business match to retrieve.
...
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 retrieving a business match you’ll get a response with success code 200: Success
with fields:
...
Field
...
Type
...
Description
...
currentStatus
...
string
...
Current status of the business match.
Possible enum values:
Open
- match requires review.TruePositive
- match closed as true positiveFalsePositive
- match closed as false positiveDiscarded
- match was discarded
...
matchId
...
string
...
The unique Id of the business match.
...
version
...
string
...
Can be used to detect when the profile has changed.
...
resourceId
...
string
...
The unique id that can be used to retrieve the detailed information about business profile via GET /v1/legal-entity-details/{resourceId}
endpoint.
...
score
...
string
...
The match score. This means how accurate the found business match the monitored business.
E.g. "score": 100
means that the found business is the exact match to the provided in the monitoring.
Possible values from 75
to 100
...
match
...
integer
...
The business name that has been matched in the monitoring.
...
name
...
integer
...
The name of the found business.
...
countries
...
integer
...
The list of countries from the addresses and nationalities of the profile.
...
dataSets
...
integer
...
Active datasets where business is tagged in.
Possible enum values are any of the described datasets here.
...
matchVersion
...
string
...
This value can be used for version control.
📥 Get Monitored Business Match Details
Info |
---|
|
🔠 Headers
...
Parameter
...
Type
...
Required
...
Description
...
resourceId
...
string
...
YES
...
The unique Id of the matched business profile to retrieve the detailed information.
...
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 retrieving details of the matched business profile, you’ll get a response with success code 200: Success
and the response.
Info |
---|
The response structure is the same as for our AML Screening response. You can check it out here: https://ondato.atlassian.net/wiki/spaces/PUB/pages/2379743233/Business+AML+Screening#2%EF%B8%8F%E2%83%A3-Response-data.1 |
🗂️ Code Examples
1️⃣ Start monitoring a business
🗒️ Example request
Expand | |||||
---|---|---|---|---|---|
| |||||
|
🗒️ Example response
Expand | |||||
---|---|---|---|---|---|
| |||||
|
2️⃣ Bulk add multiple businesses to the monitoring
🗒️ Example request
Expand | |||||
---|---|---|---|---|---|
| |||||
|
🗒️ Example response
Expand | |||||
---|---|---|---|---|---|
| |||||
|
3️⃣ Bulk remove businesses from monitoring
🗒️ Example request
Expand | |||||
---|---|---|---|---|---|
| |||||
|
🗒️ Example response
Expand | |||||
---|---|---|---|---|---|
| |||||
|
4️⃣ Update business monitoring record
🗒️ Example request
Expand | |||||
---|---|---|---|---|---|
| |||||
|
5️⃣ Bulk update business monitoring records
🗒️ Example request
Expand | |||||
---|---|---|---|---|---|
| |||||
|
🗒️ Example response
...
title | Expand to see the example response |
---|
...
language | json |
---|
...
🥫 Response
After successfully retrieving details of the matched business profile, you’ll get a response with success code 200: Success
and the response.
Info |
---|
The response structure is the same as for our AML Screening response. You can check it out here: https://ondato.atlassian.net/wiki/spaces/PUB/pages/2379743233/Business+AML+Screening#2%EF%B8%8F%E2%83%A3-Response-data.1 |
...
🗂️ Code Examples
1️⃣ Start monitoring a business
🗒️ Example request
Expand | |||||
---|---|---|---|---|---|
| |||||
|
🗒️ Example response
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
2️⃣ Update business monitoring record
🗒️ Example request
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
|
...
3️⃣ Retrieve a specific business monitoring record
🗒️ Example response
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
7️⃣ 4️⃣ Retrieve all business monitoring records
🗒️ Example request
Expand | |||||
---|---|---|---|---|---|
| |||||
|
🗒️ Example response
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
8️⃣ 5️⃣ Retrieve all matches of the business
🗒️ Example response
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
9️⃣ 6️⃣ Retrieve a specific match of the business
🗒️ Example response
Expand | |||||
---|---|---|---|---|---|
| |||||
|
...
🔟 7️⃣ Get monitored business match details
...