How to update a single result in a case to be positive using REST API

meteli
meteli Newcomer
edited April 22 in World-Check One

Hi,

I can create a case using API ok and there are some WC entities in the case as a result of the screening.

Then I have at group level/toolkit resolutions like these ones below

"resolutionFields": {
"statuses": [{
"id": "5jb6wv300b171g1ul7wm1df49",
"label": "POSITIVE",
"type": "POSITIVE"
},
{
"id": "5jb6wv300b171g1ul7wm1df4e",
"label": "POSSIBLE",
"type": "POSSIBLE"
}
]
}

How can I update one of the WC entries in the case to be POSITIVE (match) using the REST API?
What would be the right API call and what should the payload body contain?

Thanks,
Kari

Answers

  • Hi @meteli,

    Apologies for the delayed response. To resolve the matches of a case, you need to use the PUT [SEQ-case-investigate-results-resolve] endpoint, providing the case-system-id of the case you want to resolve, along with the relevant result-ID, status ID, risk ID, and reason ID. To identify possible values for statusId, riskId, and reasonId, you can use the GET [SEQ-pre-group-resolution-toolkit] endpoint. Once you have identified the appropriate resolution rule, you can pass these values in Resolve results endpoint to resolve the matches.

    For additional guidance on resolving or reviewing matches, you can refer to the tutorials available at - Tutorials | Devportal

    Thanks,
    Ram.