statusCode
Hi,
can you post the enum for statusCode of the Audit message?
the documentation unfortunately does not provide more detail then:
statusCoderequiredStatus code of the screening operation (ie COMPLETED)string
Best Answer
-
Hello @Andreas.Neidhart,
Thank you for the clarification.
The statusCode has only one enum value, i.e, COMPLETED. It cannot have any other value and its only applicable for "ScreenCaseAuditDetails". So you would not find "statusCode" present in any other audit event other than screened case audit event.
If the client wants to know if the case has been screened or not, he should call the API "SEQ-8: Retrieve the audit log for a case" and check for the key "actionType" and its value. If the key "actionType" has the value "SCREENED_CASE", it means that the case has been screened.
An excerpt of the response body of the API "Retrieve the audit log for a case" is given below.
{
"id": "0a3687cf-61fc-110b-9893-47000c2402",
"objectId": "0a3687d0-61fc-1a893-46a00002148d",
"eventDate": "2018-03-22T09:50:42.377Z",
"actionedByUserId": "0a387cf-611f-1466-5974000011c2",
"actionedByUserName": "Irfan Khan",
"note": null,
"entityType": "CASE",
"actionType": "SCREENED_CASE",
"auditEventToDate": null,
"details": {
"detailsType": "ScreenCaseAuditDetails",
"userId": null,
"statusCode": "COMPLETED",
"screeningState": "INITIAL",
"noOfNewResults": 4,
"noOfReviewRequiredResults": 0,
"noOfExcludedResults": 0,
"noOfAutoResolvedResults": 0,
"providerTypes": [
"WATCHLIST"
],
"caseScreenRequestor": null,
"caseSystemId": "0a3687d0-69893-46a00002148d"
}You need to check for the key "actionType" and its value as "Screened Case" in the response body to be sure that the case has been screened. If you do not see the value of "actionType" as Screened Case or if the response of the API "Retrieve the audit log for a case" is empty, it means that the case has not been screened yet.
Let me explain this in a bit more detail.
If the case has not been screened, the response from the API is empty if the user is using the below filter in the request body.
{ "query" : "actionType==SCREENED_CASE;actionedByUserId=={{user-id}};eventDate>2010-01-01T00:00:00Z;eventDate<2020-01-01T00:00:00Z" }
If the case has not been screened and if the user uses the below filter in the response body, the response from the API may not be empty but it never have the actionType value as SCREENED_CASE
{ "query" : "actionType==SCREENED_CASE;actionedByUserId=={{user-id}};eventDate>2010-01-01T00:00:00Z;eventDate<2020-01-01T00:00:00Z" }
In short if the API response has SCREENED_CASE as the actionType value then the value of "statusCode" will always be COMPLETE.
0
Answers
-
Hello @Andreas.Neidhart ,
Can you elaborate your query so that I can answer this?
I understand you are calling the API "SEQ-8: Retrieve the audit log for a case" which returns a response consisting of collection of audit events and referring to the screenshot attached.
0 -
Hi @Irfan.Khan,
yes your understanding is correct. the customer would like to know which statusCodes to expect for which screening state / audit event.
thanks
0
Categories
- All Categories
- 6 AHS
- 37 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 59 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛