...nitor 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?