Hi Team, I need to fetch sanctioned results for an Induvidual, say Jane Doe from WC1 API. Therefore, is it necessary to make service calls as per below steps?
1.Get Group(s)
2.Create a Case of Individual/Organization/Vessel type, under above fetched Group(s),
3.Send case into asynchronous screening queues
4.Validate screening if is finished, by sending Audit events of type SCREENED_CASE.
5.Fetch results after completion of screenings
6.Fetch complete details of each profile present in above results.
The sequence which you have mentioned is correct. If you want to sort the profiles based on the sanctions, you can do so using the "category": "SANCTIONS" from the Step 5.
Note :
It is recommended to use the API call “Get my top-level groups”, so that you get the latest modified settings of the groups.