review_screening
POST /v1/screenings/{id}/review: records a reviewer's decision on a screening's findings: `confirmed` or `false_positive`, for the findings in `finding_ids` or all of them.
Records a reviewer's decision on a screening's findings: confirmed or false_positive, for the findings in finding_ids or all of them. The screening's state follows: confirmed when a finding is confirmed, false_positive when every finding is dismissed. A decision carries to a later screening of the same record and kind while the input and the finding are unchanged.
Request body
application/json
| Field | Type | Description |
|---|---|---|
decisionrequired | confirmed, false_positive | |
finding_ids | array of string | |
note | string |
Responses
The screening.
| Field | Type | Description |
|---|---|---|
id | string |
|
subject_type | business, object, null | |
subject_id | string or null | |
business_id | string or null | |
kind | string | A screening kind, such as |
state | pending, clear, needs_review, confirmed, false_positive, inconclusive |
|
reason | string or null | Why it's |
input | object | What was screened. |
findings | array of object | |
score | integer or null | |
result | object | What else the kind says, such as the sanctions |
review_note | string or null | |
reviewed_at | string or null | |
superseded_at | string or null | |
created_at | string | |
completed_at | string or null |
| Field | Type | Description |
|---|---|---|
id | string | |
code | string | What was found, such as |
severity | info, low, medium, high |
|
summary | string | |
details | object | |
fingerprint | string | |
decision | confirmed, false_positive, null |
| Status | Type and when |
|---|---|
400 |
|
401 |
|
404 |
|
Every error has the same shape; see Errors.
Examples
curl -X POST 'https://api.finic.ai/v1/screenings/string/review' \ -H "Authorization: Bearer $FINIC_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "decision": "false_positive", "note": "Different date of birth and country."}'{ "id": "string", "subject_type": "business", "subject_id": "string", "business_id": "string", "kind": "string", "state": "pending", "reason": "string", "input": {}, "findings": [ { "id": "string", "code": "string", "severity": "info", "summary": "string", "details": {}, "fingerprint": "string", "decision": "confirmed" } ], "score": 0, "result": {}, "review_note": "string", "reviewed_at": "2019-08-24T14:15:22Z", "superseded_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "completed_at": "2019-08-24T14:15:22Z"}