Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel7

1. Create worklist

Before starting the monitoring you have to set up monitoring rules. This can be done by setting up a monitoring worklist.

To do this, call the following endpoint:

POST /v1/worklists

Headers

Parameter

Type

Required

Description

Correlation-Id

string

NO

A unique identifier assigned to the request.

Application-Id

string

YES

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

Name of the worklist.

threshold

integer

YES

Minimum matching score.

Results with lower score than the entered threshold will not be returned in the response.

Default value: 85.

frequency

string

YES

...

Monitoring frequency.

Possible enum values:

  1. Daily

  2. Weekly

  3. Monthly

  4. HalfAYear

  5. Annual

datasets

array

YES

Datasets to monitor against.

Available datasets are the same as described in AML Search API. They can be found here.

scheduleDayOfTheWeek

string

Note

It is required and allowed only when the frequency is set to weekly.

A day of the week on which screening should be done.

Possible enum values:

  1. Monday

  2. Tuesday

  3. Wednesday

  4. Thursday

  5. Friday

  6. Saturday

  7. Sunday

scheduleDayOfTheMonth

integer

Note

It is required and allowed only when the frequency is set to monthly, HalfAYear or Annual.

A day of the month on which screening should be done.

A value between 1 and 31.

scheduleMonth

string

Note

It is required and allowed only when the frequency is set to halfAYear or annual.

A month on which screening should be done.

Possible enum values:

  1. January

  2. February

  3. March

  4. April

  5. May

  6. June

  7. July

  8. August

  9. September

  10. October

  11. November

  12. December

Response

After successfully creating a worklist you’ll get a response with success code 201: Created and Id of the worklist to use in subsequent requests.

Field

Type

Description

id

string

The unique Id of the worklist to use in subsequent requests.

Code Examples

Example request

Expand
titleExpand to see the example request
Code Block
languagejson
{
  "name": "HighRiskProfile",
  "threshold": 85,
  "frequency": "Daily",
  "dataSets": [
    "ExternalPep",
    "ExternalSanctions"
  ],
  "scheduleDayOfTheWeek": "Monday",
  "scheduleDayOfTheMonth": 5,
  "scheduleMonth": "January"
}

Example response

Expand
titleExpand to see the example response
Code Block
languagejson
{
  "id": "d130c94865404447933dcc324fe8599d0e767722b8824ac78e03e54e01f0fa29"
}

...

2. Delete worklist

To delete a worklist, call the endpoint:

DELETE /v1/worklists/{worklistId}

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

Response

After successfully deleting a worklist you’ll get a response with success code 204: No Content.

Code Examples

Example request

Expand
titleExpand to see the example request
Code Block
languagejson
DELETE /v1/worklists/d130c94865404447933dcc324fe8599d0e767722b8824ac78e03e54e01f0fa29

...

3. Update worklist

To update a worklist, call the endpoint:

PUT /v1/worklists/{worklistId}

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

name

string

YES

Name of the worklist.

threshold

integer

YES

Minimum matching score.

Results with lower score than the entered threshold will not be returned in the response.

Default value: 85.

frequency

string

YES

...

Monitoring frequency.

Possible enum values:

  1. Daily

  2. Weekly

  3. Monthly

  4. HalfAYear

  5. Annual

datasets

array

YES

Datasets to monitor against.

Available datasets are the same as described in AML Search API. They can be found here.

scheduleDayOfTheWeek

string

Note

It is required and allowed only when the frequency is set to weekly.

A day of the week on which screening should be done.

Possible enum values:

  1. Monday

  2. Tuesday

  3. Wednesday

  4. Thursday

  5. Friday

  6. Saturday

  7. Sunday

scheduleDayOfTheMonth

integer

Note

It is required and allowed only when the frequency is set to monthly, HalfAYear or Annual.

A day of the month on which screening should be done.

A value between 1 and 31.

scheduleMonth

string

Note

It is required and allowed only when the frequency is set to halfAYear or annual.

A month on which screening should be done.

Possible enum values:

  1. January

  2. February

  3. March

  4. April

  5. May

  6. June

  7. July

  8. August

  9. September

  10. October

  11. November

  12. December

Response

After successfully

...

Field

...

Type

...

Description

...

id

...

string

...

deleting a worklist you’ll get a response with success code

...

204: No Content.

Code Examples

Example request

Expand
titleExpand to see the example request
Code Block
languagejson
{
  "name": "

...

HighRiskProfileUpdated",
  "threshold": 

...

75,
  "frequency": "

...

Weekly",
  "dataSets": [
    "ExternalPep",
    "ExternalSanctions"

...

,
  

...

Example response

Expand
titleExpand to see the example response
Code Block
languagejson
{
  "id": "d130c94865404447933dcc324fe8599d0e767722b8824ac78e03e54e01f0fa29"
}

The worklist can be updated by calling the same endpoint as for worklist creation:

Panel
bgColor#FFBDAD

PUT /worklists/{worklistId} - create/update a worklist.

Request data

In query parameter {worklistId} pass Id of the worklist you want to update.

The request structure is the same as for worklist creation. You can change the current values of a particular field by providing new ones:

Current

Code Block
languagejson
{
  "dobMatching": "sameYear",
  "name": "Same Worklist - 1",
  "threshold": 85,
  "frequency": "daily",
  "datasets": [
    "OndatoSanctions",
    "ExternalPep"
  ]
}

Updated

...

languagejson

...

  "OndatoPep"
  ],
  "

...

scheduleDayOfTheWeek": "

...

Monday",
  

...

"

...

scheduleDayOfTheMonth": 

...

5

...

,
  "

...

scheduleMonth":

...

 "

...

January"

...


}

Response data

After successfully updating a worklist you’ll get a response with success code 200: Ok.

...

4. Get worklist

After creating a worklist, you can

...

Specific worklist by Id

get its info.

To retrieve a specific worklist, call the endpoint:

...

GET /v1/worklists/{worklistId}

...

Request data

...

Headers

Parameter

Type

Required

Description

worklistId

string

YES

The unique Id of the worklist

...

Response data

...

Name

...

Description

...

id

...

Worklist Id.

...

lastScreenedDateIso

...

Date of the last completed screening

...

dobMatching

...

Accuracy of date of birth matching.

The only possible value is sameYear.

...

.

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

Field

Type

Description

id

string

Worklist Id.

name

string

Name of the worklist.

...

threshold

...

integer

Minimum matching score.

...

Results with lower score than the entered threshold will not be

...

returned in the response.

...

frequency

...

string

...

Monitoring frequency.

...

Possible enum values:

  1. Daily

  2. Weekly

  3. Monthly

  4. HalfAYear

  5. Annual

datasets

array

Datasets to monitor against.

Available datasets are the same as described in AML Search API. They can be found here.

scheduleDayOfTheWeek

string

A day of the week on which screening should be done.

...

businessMonitorRecordsCount

Possible enum values:

  1. Monday

  2. Tuesday

  3. Wednesday

  4. Thursday

  5. Friday

  6. Saturday

  7. Sunday

scheduleDayOfTheMonth

integer

A day of the month on which screening should be done.

A value between 1 and 31.

scheduleMonth

string

A month on which screening should be done.

Possible enum values:

  1. January

  2. February

  3. March

  4. April

  5. May

  6. June

  7. July

  8. August

  9. September

  10. October

  11. November

  12. December

lastScreenedDate

string

Date of the last completed screening.

businessMonitorRecordsCount

integer

Number of businesses in the worklist.

...

businessTruePositiveMatchesCount

...

integer

Number of true-positive business matches in the worklist.

...

businessFalsePositiveMatchesCount

...

integer

Number of false-positive business matches in the worklist.

...

businessDiscardedMatchesCount

...

integer

Number of discarded by the user business matches in the worklist.

...

businessOpenMonitorRecordsCount

...

integer

Number of business monitor records, waiting for review.

...

businessOpenMatchesCount

...

integer

Number of business monitor matches, waiting for review.

...

individualMonitorRecordsCount

...

integer

Number of persons in the worklist.

...

individualTruePositiveMatchesCount

...

integer

Number of true-positive person matches in the worklist.

...

individualFalsePositiveMatchesCount

...

integer

Number of true-positive person matches in the worklist.

...

individualDiscardedMatchesCount

...

integer

Number of discarded by the user person matches in the worklist.

...

individualOpenMonitorRecordsCount

...

integer

Number of person monitor records, waiting for review.

...

individualOpenMatchesCount

...

integer

Number of person monitor matches, waiting for review.

Code Examples

...

Example response

Expand
title

...

Expand to see the example response
Code Block
languagejson
{
  "id": "

...

8506b0a7dee248fd866ce1bb1db6031b8906ec808a1b45e4b3c335a53a4ed16a",
  "

...

name": "

...

HighRiskProfile",
  "

...

threshold": 

...

85,
  "

...

frequency": "Daily"

...

,
  "dataSets": [
    "

...

All"

...


  

...

],
  "

...

scheduleDayOfTheWeek": "

...

Monday",
  "

...

scheduleDayOfTheMonth": 

...

2,
  

...

"scheduleMonth": "

...

January",
  

...

"lastScreenedDate": "2022-06-11",
  "

...

individualMonitorRecordsCount": 

...

2,
  "

...

individualOpenMonitorRecordsCount": 

...

2,
  "

...

individualOpenMatchesCount": 

...

2,
  "

...

individualFalsePositiveMatchesCount": 

...

2,
  "

...

individualTruePositiveMatchesCount": 

...

2,
  "

...

individualDiscardedMatchesCount": 

...

2,
  "

...

businessMonitorRecordsCount": 

...

20,
  "

...

businessOpenMonitorRecordsCount": 

...

2,
  "

...

businessOpenMatchesCount": 

...

2,
  "

...

businessFalsePositiveMatchesCount": 

...

2,
  "

...

businessTruePositiveMatchesCount": 

...

2,
  "

...

businessDiscardedMatchesCount": 

...

2
}

...

5. Search worklists

To

...

do this, call the following endpoint:

Panel
bgColor#DEEBFF

GET /worklists/ - get all worklists.

Request data

...

Name

...

Description

...

Mandatory/Optional

...

nextToken

...

Token of the next page.

Leaving this blank will return the first page.

...

Status
colourGreen
titleOptional

...

pageSize

...

Number of worklists per page.

Leaving blank will return up to 1 MB data.

...

Status
colourGreen
titleOptional

Response data

...

Name

...

Description

...

worklists

...

List of worklists.

...

worklists.id

...

Same as in specific worklist section.

...

worklists.lastScreenedDateIso

...

Same as in specific worklist section.

...

worklists.dobMatching

...

Same as in specific worklist section.

...

worklists.name

...

Same as in specific worklist section.

...

worklists.threshold

...

Same as in specific worklist section.

...

worklists.frequency

...

Same as in specific worklist section.

...

worklists.datasets

...

Same as in specific worklist section.

...

worklists.businessMonitorRecordsCount

...

Same as in specific worklist section.

...

worklists.businessTruePositiveMatchesCount

...

Same as in specific worklist section.

...

worklists.businessFalsePositiveMatchesCount

...

Same as in specific worklist section.

...

worklists.businessDiscardedMatchesCount

...

Same as in specific worklist section.

...

worklists.businessOpenMonitorRecordsCount

...

Same as in specific worklist section.

...

worklists.businessOpenMatchesCount

...

Same as in specific worklist section.

...

worklists.individualMonitorRecordsCount

...

Same as in specific worklist section.

...

worklists.individualTruePositiveMatchesCount

...

Same as in specific worklist section.

...

worklists.individualFalsePositiveMatchesCount

...

Same as in specific worklist section.

...

worklists.individualDiscardedMatchesCount

...

Same as in specific worklist section.

...

worklists.individualOpenMonitorRecordsCount

...

Same as in specific worklist section.

...

worklists.individualOpenMatchesCount

...

Same as in specific worklist section.

...

nextToken

...

Token to iterate over pages.

If this field is not returned, there are no further pages

🗒️ Example

...

POST /v1/worklists

Headers

Parameter

Type

Required

Description

Correlation-Id

string

NO

A unique identifier assigned to the request.

Application-Id

string

YES

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

NO

Name of the worklist.

from

string

NO

Date FROM when worklist was created. Response will return worklists created after this date.

to

string

NO

Dato TO when woklist was created. Response will return worklists created before this date.

Response

The response will return a list of worklists created in the submitted date interval or which have submitted names.

Field

Type

Description

workLists

array

An array containing worklists

workLists[].id

string

The unique identifier for the worklist.

workLists[].name

string

The name of the worklist.

workLists[].threshold

integer

Minimum matching score.

Results with lower score than the entered threshold will not be returned in the response.

workLists[].frequency

string

Monitoring frequency.

Possible enum values:

  1. Daily

  2. Weekly

  3. Monthly

  4. HalfAYear

  5. Annual

workLists[].dataSets

array

Datasets to monitor against.

Available datasets are the same as described in AML Search API. They can be found here: AML Datasets.

workLists[].scheduleDayOfTheWeek

string

A day of the week on which screening should be done.

Possible enum values:

  1. Monday

  2. Tuesday

  3. Wednesday

  4. Thursday

  5. Friday

  6. Saturday

  7. Sunday

workLists[].scheduleDayOfTheMonth

integer

A day of the month on which screening should be done.

A value between 1 and 31.

workLists[].scheduleMonth

string

A month on which screening should be done.

Possible enum values:

  1. January

  2. February

  3. March

  4. April

  5. May

  6. June

  7. July

  8. August

  9. September

  10. October

  11. November

  12. December

totalCount

integer

The total number of worklists that match the requested query parameters.

Code Examples

Example request

Expand
titleExpand to see the example request
Code Block
languagejson
{
  "

...

name": 

...

"string",
  

...

"

...

from": "

...

2023-

...

03-16T12:33:22.004Z",
  

...

"

...

to": "

...

2023-03-16T12:33:22.004Z"
}

Example response

Expand
titleExpand to see the example response
Code Block
languagejson
{
  "

...

workLists": 

...

[

...

 

...

 

...

 

...

 {
   

...

 

...

  

...

"

...

id": "

...

8506b0a7dee248fd866ce1bb1db6031b8906ec808a1b45e4b3c335a53a4ed16a",
      "

...

name": 

...

"HighRiskProfile",
      "

...

threshold": 

...

85,
 

...

     "

...

frequency": 

...

"Daily",
      "

...

dataSets": 

...

[
  

...

 

...

     "

...

All"

...


...

     

...

 

...

],
      "

...

scheduleDayOfTheWeek": 

...

"Monday",
      "

...

scheduleDayOfTheMonth": 

...

2,
    

...

 

...

 

...

"

...

scheduleMonth":

...

 "

...

January"

...


    

...

}

...

  

...

],
  "

...

totalCount": 

...

2. Delete worklist

To delete a worklist, call the endpoint:

DELETE /v1/worklists/{worklistId}

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

Response

After successfully deleting a worklist you’ll get a response with success code 204: No Content.

Code Examples

Example request

...

titleExpand to see the example request

...

languagejson

...

10
}

...