GET /cases/{caseSystemId}/results returns code 200 but results are empty

We are requesting a collection of results for a Case by caseSystemId in Pilot but although the status is ok, the response is empty:
System.HttpRequest[Endpoint=https://rms-world-check-one-api-pilot.thomsonreuters.com/v1/cases/0a3687d0-636b-19be-98e1-d4e40008c3af/results, Method=GET]
System.HttpResponse[Status=OK, StatusCode=200]
Is there a problem with this service or we need to adjust something?
Best Answer
-
@plamenj
There are two scenario where you would see a blank response with the response code 200 OK when you call the endpoint results.
1. If there are no matches for the given case system Id.
2. If the case has not been screened.
You can find out if the case has been screened or not by calling the API "SEQ-8: Retrieve the audit log for a case" and looking for the key "actionType" and its value "SCREENED_CASE" in its response body.
If you do not find the value of the attribute "actionType" as SCREENED_CASE or if the response body of the API "SEQ-8: Retrieve the audit log for a case" is empty, this means the case has not been screened.
Kindly let me know if you need further assistance on this.
0
Answers
-
I just checked the audit event for the case system Id 0a3687d0-636b-19be-98e1-d4e40008c3af and I can confirm that the case has been screened.
So in this case, there are no matches for the case system Id 0a3687d0-636b-19be-98e1-d4e40008c3af. This is why you are seeing a blank response with the status code 200 OK.
You can confirm this by checking the WC1 UI too.
0 -
Thans Irfan,
Is there a safe time period after which we can assume that it's option 1. and not 2. withouth calling SEQ-8?
0 -
It is always recommended to call the API "SEQ-8: Retrieve the audit log for a case" after the screening request API has been screened to be sure that the case has been screened.
As the screening request is async request so it adds the case to the queue to be screened later. The time period for the same may vary as this depends on the available capacity of the WC1 system.
I would advise you to call the API "SEQ-8: Retrieve the audit log for a case" before fetching the results. This is the best way to zero in to the point that the case has no matches.
0 -
Thanks a lot @Irfan.Khan One more question - in case the response does not have actionType "SCREENED_CASE" is there a recommended time period after which we should make another "Retrieve the audit log for a case" call?
0 -
0
-
I believe if the response doesn't contain action Type as "SCREENED_CASE" you'll have to wait for some time as this scenario depends on 2 factors-
1. Available Capacity of the WC1 system as it gets added to the queue(async call).
2. Depending upon the profile you're screening. Eg: Screening request for Donald Trump would fetch a faster result as it is a much specific request compared to a much common name John Smith as the system would need to go through all the matches from the database.
The time to screen may be longer than expected.
You should try to find the right balance in a way that, If the Action Type is not "SCREENED_CASE", I'd recommend you to wait for 1-5 minutes and make another "Retrieve the audit log for a case" call. Hope this answers your query.
If the issue still occurs on multiple instances please let us know the name that you're trying to screen, we will try to replicate and investigate the same at our end!
Let us know if we can help you in any further way!
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 690 Datastream
- 1.5K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 560 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 281 Open PermID
- 46 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 724 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛