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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
22 11 13 13

To get the number of new and updated results which one shoud we use?"Audit log for a case" or "Monitor ongoing screening updates for a case"?

We need to retrieve the ongoing screening results statuses for cases..The date and time of collections looks to be quiet different between Audit log for a case and Monitor ongoing screening updates for a case as displayed in screen shot.

Audit Log for Cases:

------------

{  "query": "actionType==SCREENED_CASE;actionedByUserId==167868ad-7bb3-4618-90d1-b96f09fadafe;eventDate>2010-01-01T00:00:00Z;eventDate<2020-01-01T00:00:00Z",  "sort": null,  "totalResultCount": 1,  "pagination": {  "currentPage": 1,  "itemsPerPage": 100,  "totalItems": 1  },  "results": [  {  "id": "0a3687cf-5eaa-199b-97bc-4e760004ee4d",  "objectId": "0a3687d0-5eaa-10ce-97bc-4e5500011cbc", /************Date and Time************/ "eventDate": "2017-10-06T10:27:33.572Z" ,  "actionedByUserId": "167868ad-7bb3-4618-90d1-b96f09fadafe",  "actionedByUserName": "SampleUser WC1API",  "note": null,  "entityType": "CASE",  "actionType": "SCREENED_CASE",  "auditEventToDate": null,  "details": {  "detailsType": "ScreenCaseAuditDetails",  "userId": null,  "statusCode": "COMPLETED",  "screeningState": "INITIAL",  "noOfNewResults": 37,  "noOfReviewRequiredResults": 0,  "noOfExcludedResults": 0,  "noOfAutoResolvedResults": 32,  "providerTypes": [  "WATCHLIST"  ],  "caseSystemId": "0a3687d0-5eaa-10ce-97bc-4e5500011cbc"  }  }  ]}

Ongoing Screening Results for a case:

--------------------------------------------------

{  "query": "updateDate>='2017-10-18T09:51:41.650Z'",  "sort": null,  "totalResultCount": 26,  "pagination": {  "currentPage": 1,  "itemsPerPage": 100,  "totalItems": 26  },  "results": [     {  "caseSystemId": "0a3687d0-5eaa-10ce-97bc-4e5500011cbc",  "numberOfNewResults": 0,  "numberOfUpdatedResults": 2, 
"updateDate": "2017-10-20T06:20:54.098Z"  },/************Date and Time************/

---------------------------------------------------------------------------

From the above collections is "noOfNewResults" from Audit log for case and "numberofnewResults" from Monitor Ongoing Screening updates for a case will be the same?or are they both totally different?


Which can we use to get the desired results?

world-checkworld-check-onestatus
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.

@baskaran.subramanian

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

@baskaran.subramanian

Hi,

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

1 Answer

· Write an Answer
Upvotes
Accepted
456 2 2 2

Hi @baskaran.subramanian,

If you want to retrieve the ongoing screening results statuses for cases you can use SEQ-9: Monitor ongoing screening updates on cases.It will get ongoing screening updates for all Case objects that are visible to the current user and are flagged for ongoing screening.In this seq you can mention the date if you want to retrieve the current created cases status.Below the query for currently created case ongoing status.

{ "query": "updateDate>='2017-10-25T00:00:00Z'" }.

updateDate: The date and time of this ongoing screening update in ISO 8601 format (excluding Week and Ordinal dates). Required.

Using SEQ-8: Retrieve the audit log for a case, you can retrieve the no of screening for a given cases. In this case if you can provide the event date then you will get the same date and time of collections between Audit log for a case and Monitor ongoing screening updates for a case .

{ "query" : "actionType==SCREENED_CASE;actionedByUserId==0a3687cf-5be8-115e-9702-fc61000002f5;eventDate>2017-10-06T05:55:51.955Z" }

Hope this will help.

Thanks,

Shilpi

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.

But is it possible to retrieve the number of updated results from Audit log for a case?

Hi @baskaran.subramanian,

Number of updated results is possible only from ongoing screening not from audit log as this moment. Number of updates in the existing results of the Case identified by caseSystemId found during the ongoing screening operation that this update belongs to.

Thanks,

Shilpi

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.