For a deeper look into our World Check One API, look into:

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
3 0 0 1

Retrieve the audit log for a case

Hi,

I am trying to get the audit logs for a screened case with query

{

"query": "actionType==SCREENED_CASE;actionedByUserId=={ {current-user-id}};eventDate>2010-01-01T00:00:00Z;eventDate<2020-01-01T00:00:00Z"

}, every time i call this API i get no results in the body.

My case-system id is: 5nzbfkcq73zq1eu0q8u4dbljf



world-checkworld-check-onelogging
1595738582538.png (23.0 KiB)
1595738610653.png (16.4 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
4.5k 4 8 8

@t_thomas,

Thank you for your query.

Please use the below query for the audit logs.

"query": "actionType==SCREENED_CASE;eventDate>2018-01-01T00:00:00Z"

If the case is not screened, you would receive and empty results. You may pass an empty query in the request payload to view all the audit logs for the case.

Hope this helps.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.