Handle compliance report generation. It includes endpoints for initiating compliance report jobs and monitoring their status.
Start a job to build selected reports. Depending on the report you request, you need to run a Screening or Whitelist job first.
With the build
toggle you can control which report is generated or not.
Every report may have specific additional configuration options which are explained in detail below.
cmd
OK
Created
Unauthorized
Forbidden
Not Found
{- "reportsConfiguration": {
- "sanctionWatchlistMatching": {
- "screeningJobId": "<JOB_ID>",
- "storageId": "<STORAGE_ID>",
- "build": true
}
}
}
{- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "name": "Process vendor data.",
- "description": "I started this job to improve quality of our data.",
- "status": "RUNNING",
- "statusMessage": "The job failed because storage is empty.",
- "createdAt": "2024-12-21T01:35:24Z",
- "user": "742429-234242-4343-232323",
- "progress": "77",
- "attachments": [
- {
- "url": "customer-upload/user/file.xlsx",
- "tags": [
- "Reporting"
]
}
], - "sanctionWatchlistMatching": {
- "screeningJobId": "6be92567-4327-4463-813f-a8c990410d79",
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "build": "true"
}, - "whitelist": {
- "whitelistJobId": "6be92567-4327-4463-813f-a8c990410d79",
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "build": "true"
}
}
After you have started a Compliance Reports job, you will receive a job id in the response. ´´´ {
"id" : "attachments
in the response.
OK
Unauthorized
Forbidden
Not Found
{- "id": "35f23c03-1c22-45fe-9484-3ffe769325de",
- "name": "Process vendor data.",
- "description": "I started this job to improve quality of our data.",
- "status": "RUNNING",
- "statusMessage": "The job failed because storage is empty.",
- "createdAt": "2024-12-21T01:35:24Z",
- "user": "742429-234242-4343-232323",
- "progress": "77",
- "attachments": [
- {
- "url": "customer-upload/user/file.xlsx",
- "tags": [
- "Reporting"
]
}
], - "sanctionWatchlistMatching": {
- "screeningJobId": "6be92567-4327-4463-813f-a8c990410d79",
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "build": "true"
}, - "whitelist": {
- "whitelistJobId": "6be92567-4327-4463-813f-a8c990410d79",
- "storageId": "72d6900fce6b326088f5d9d91049e3e6",
- "build": "true"
}
}