Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Table of Contents
minLevel1
maxLevel

...

1. Create worklist

2
outlinefalse
typelist
printablefalse

...

1️⃣ Create worklist

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#F4F5F7
  • 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

Status
colourGreen
titleNO

A unique identifier assigned to the request.

Application-Id

string

Status
colourGreen
titleNO

Your application Id. Please contact support@ondato.com you don’t have one.

Access token

string

Status
colourRed
titleYES

Described in the Authentication part

...

🎯 Request body

Field

Type

Required

Description

name

string

Status
colourRed
titleYES

The name of the business.

referenceId

string

Status
colourGreen
titleNO

A unique identifier for the person's reference in the system.

Format: UUID

referenceType

string

Status
colourGreen
titleNO

User created reference for the person in the system, for example "My Reference".

...

🥫 Response

After successfully creating a worklist, you will receive a response with the success code 201: Created and the Id of the record for subsequent calls.

Field

Type

Description

id

string

The recordId of the business to use in subsequent requests.

...

2️⃣ Delete worklist

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#F4F5F7
  • To delete a worklist, call the endpoint:

    • DELETE /v1/worklists/{worklistId}

...

🔠 Headers

Parameter

Type

Required

Description

worklistId

string

Status
colourRed
titleYES

The unique Id of the worklist.

Correlation-Id

string

Status
colourGreen
titleNO

A unique identifier assigned to the request.

Application-Id

string

Status
colourGreen
titleNO

Your application Id. Please contact support@ondato.com you don’t have one.

Access token

string

Status
colourRed
titleYES

Described in the Authentication part

...

🥫 Response

After successfully deleting a worklist, you will receive a response with the success code 204: No Content.

...

3️⃣ Update worklist

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#F4F5F7
  • To update a worklist, call the endpoint:

    • PUT /v1/worklists/{worklistId}

...

🔠 Headers

Parameter

Type

Required

Description

worklistId

string

Status
colourRed
titleYES

The unique Id of the worklist.

Correlation-Id

string

Status
colourGreen
titleNO

A unique identifier assigned to the request.

Application-Id

string

Status
colourGreen
titleNO

Your application Id. Please contact support@ondato.com you don’t have one.

Access token

string

Status
colourRed
titleYES

Described in the Authentication part

...

🎯 Request body

Field

Type

Required

Description

name

string

Status
colourRed
titleYES

Name of the worklist.

threshold

integer

Status
colourRed
titleYES

Minimum matching score.

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

Default value: 85.

frequency

string

Status
colourRed
titleYES

...

Monitoring frequency.

Possible enum values:

  1. Daily

  2. Weekly

  3. Monthly

  4. HalfAYear

  5. Annual

...

datasets

...

array

...

YES

Datasets to monitor against.

...

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

...

deleting a worklist

...

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. Update worklist

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

Code Block
languagejson
{
  "dobMatching": "sameYear",
  "name": "New worklist name",
  "threshold": 70,
  "frequency": "monthly",
  "scheduleDayOfTheMonth": "5"
  "datasets": [
    "All"
  ]
}

Response data

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

Retrieve worklist

After creating a worklist, you can retrieve it. You can retrieve a specific worklist by it’s Id, or all worklists.

Specific worklist by Id

To retrieve a specific worklist, call the endpoint:

Panel
bgColor#DEEBFF

GET /worklists/{worklistId} - get worklist by Id.

Request data

{worklistId} - Id of the worklist you want to retrieve.

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.

...

name

...

Name of the worklist.

...

threshold

...

Minimum matching score. Matches below this score will not be shown.

...

frequency

...

Screening frequency.

...

, you will receive a response with the success code

...

204: No Content.

...

4️⃣ Get worklist

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#F4F5F7
  • After creating a worklist, you can get its info.

  • To retrieve a specific worklist, call the endpoint:

    • GET /v1/worklists/{worklistId}

...

🔠 Headers

Parameter

Type

Required

Description

worklistId

string

Status
colourRed
titleYES

The unique Id of the worklist.

Correlation-Id

string

Status
colourGreen
titleNO

A unique identifier assigned to the request.

Application-Id

string

Status
colourGreen
titleNO

Your application Id. Please contact support@ondato.com you don’t have one.

Access token

string

Status
colourRed
titleYES

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.

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.

🗒️ Example

Expand
titleExample
Code Block
languagejson
{
  "id": "HighRiskProfiles1",
  "lastScreenedDateIso": "2022-06-11",
  "dobMatching": "withinThreeYears",
  "name": "High Risk Profiles - 1",
  "threshold": 85,
  "frequency": "daily",
  "datasets": [
    "PEP"
  ],
  "businessTruePositiveMatchesCount": 0,
  "businessDiscardedMatchesCount": 0,
  "businessOpenMonitorRecordsCount": 0,
  "businessOpenMatchesCount": 0,
  "individualFalsePositiveMatchesCount": 0,
  "individualOpenMatchesCount": 0,
  "individualTruePositiveMatchesCount": 0,
  "individualDiscardedMatchesCount": 0,
  "businessFalsePositiveMatchesCount": 0,
  "businessMonitorRecordsCount": 0,
  "individualOpenMonitorRecordsCount": 0,
  "individualMonitorRecordsCount": 0
}

All worklists

To retrieve all worklists, call the 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.

...

5️⃣ Search worklists

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#F4F5F7
  • To do this, call the following endpoint:

    • POST /v1/worklists

...

🔠 Headers

Parameter

Type

Required

Description

Correlation-Id

string

Status
colourGreen
titleNO

A unique identifier assigned to the request.

Application-Id

string

Status
colourGreen
titleNO

Your application Id. Please contact support@ondato.com you don’t have one.

Access token

string

Status
colourRed
titleYES

Described in the Authentication part

...

🎯 Request body

Field

Type

Required

Description

name

string

Status
colourGreen
titleNO

Name of the worklist.

from

string

Status
colourGreen
title

...

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

...

NO

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

to

string

Status
colourGreen
titleNO

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

...

🥫 Response

The response will return a list of worklists that were created within the submitted date interval or 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

1️⃣ Create worklist

🗒️ 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

🗒️ Example request

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

...

3️⃣ Update worklist

🗒️ Example request

Expand
titleExpand to see the example request
Code Block
languagejson
{
  "name": "HighRiskProfileUpdated",
  "threshold": 75,
  "frequency": "

...

Weekly",
  

...

"

...

dataSets": [
    "ExternalPep",
    "

...

ExternalSanctions",
    "OndatoPep"
  ],
  "scheduleDayOfTheWeek": "Monday",
  "

...

scheduleDayOfTheMonth": 

...

5,
  "scheduleMonth": "January"

...

}

...

4️⃣ Get worklist

🗒️ Example response

Expand
titleExpand 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
}

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

...

5️⃣ Search worklists

🗒️ 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": 10
}

...