How can I get auditEventId?

I started trial for world-check-one API. And I want to get audits list of a case (like the case report PDF). As far as I know, I should call "{{protocol}}{{gateway-host}}{{gateway-url}}cases/{{case-system-id}}/auditEvents/{{audit-event-id}}". But I have no auditEventId. How to get auditEventId? Does some api calling get me auditEventIds list of that case?
Best Answer
-
Hi @satom,
While you are initiating the endpoint SEQ-case-audit: Retrieve the audit log for a case, please note that when audit is requested without any date range for eventDate in the query, it returns audit data for the last 168 hours by default.
In order to retrieve the full audit details for a case, in the request body you can pass case created date as eventDate in the query field which will give you full audit details of a case. Please find highlighted below.
0
Answers
-
Hi @satom,
Thanks for reaching out to us!
In order to retrieve the full audit details of a case you can utilize the endpoint SEQ-case-audit: Retrieve the audit log for a case from our postman collection and in the response under results array you will be able to find the "id" value for every audit event logged.
Using the "id" from the above API response you utilize this endpoint [SEQ-case-audit]: Retrieves the specific audit event for a case Copy to retrieve any specific audit event for a case by passing the id value into the {{audit-event-id}} in the URL.
Thanks
Sai
0 -
Hello @sai
Thank you for your corporation.
I tried your indication. But I couldn't get all Audits. I want to get All Audits like the PDF.
First , I called '{{protocol}}{{gateway-host}}{{gateway-url}}cases/{{case-system-id}}/auditEvents' ( SEQ-case-audit: Retrieve the audit log for a case). I got "id" in results. But I got only one "id".
Secound, I called '{{protocol}}{{gateway-host}}{{gateway-url}}cases/{{case-system-id}}/auditEvents/5jb841z8ubz21hztshfr2zs7b' ([SEQ-case-audit]: Retrieves the specific audit event for a case Copy). It was success too and I got matchEvents. But that matchEvents had same matchedDate. It meens 1 column of Audits in the PDF.Thanks
satom
0 -
Thank you for your replay.
0 -
Hello @anisetti.saikiranreddy01 @raksina.samasiri @Jirapongse
I'm still waiting for your reply. I would appreciate it if you could give us your reply by Oct 23.0 -
Hi @satom, have you tried following my recommendation which I have posted on Sep 22nd as below.
While you are initiating the endpoint SEQ-case-audit: Retrieve the audit log for a case, please note that when audit is requested without any date range for eventDate in the query, it returns audit data for the last 168 hours by default.
In order to retrieve the full audit details for a case, in the request body you can pass case created date as eventDate in the query field which will give you full audit details of a case. Please find highlighted below.
Please let me know if you have tried this.
0 -
Hi @anisetti.saikiranreddy01
Thanks for your response.
My request/response is like that. (Id was masked)
I set eventDate very old date. So I think I will get all audit in the response. But that has one audit.What did I mistake?{{protocol}}{{gateway-host}}{{gateway-url}}cases/{{case-system-id}}/auditEvents
{
"query": "actionType==SCREENED_CASE;actionedByUserId==xxxxx;eventDate>2010-01-01T00:00:00Z",
"sort": [
{
"columnName": "eventDate",
"order": "DESCENDING"
}
],
"totalResultCount": 1,
"pagination": {
"currentPage": 1,
"itemsPerPage": 250,
"totalItems": 1
},
"results": [
{
"id": "yyyyy",
"objectId": "zzzzz",
"eventDate": "2023-09-11T10:08:01.737Z",
"actionedByUserId": "xxxxx",
"actionedByUserName": "MASASHI SATO",
"note": null,
"entityType": "CASE",
"actionType": "SCREENED_CASE",
"sourceType": "DESKTOP",
"auditEventToDate": null,
"details": {
"detailsType": "ScreenCaseAuditDetails",
"userId": null,
"statusCode": "COMPLETED",
"screeningState": "INITIAL",
"noOfNewResults": 10,
"noOfReviewRequiredResults": 0,
"noOfExcludedResults": 0,
"noOfAutoResolvedResults": 0,
"providerTypes": [
"WATCHLIST"
],
"caseScreenRequestor": null,
"startScreeningDate": null,
"caseSystemId": "zzzzz"
}
}
]
}0 -
Hi @satom,Thanks for your response!
In the Query filed of your request body as you are passing the actionType==SCREENED_CASE you will be only able to see all the audit events with actionType as SCREENED_CASE in the response. (I guess there is only one audit event with actionType as SCREENED_CASE for the case which you are retrieving the audit events)
Please try to remove the actionType parameter from the query filed in your request body which returns you the full audit log of a case in the response. (please find the example request body as below)
Hope this clarifies!
Thanks
Sai
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
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 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
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛