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


image


image

Best Answer

  • Prabhjyot
    Answer ✓

    @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.