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

Overview |  Quickstart |  Documentation |  Downloads

question

Upvotes
Accepted
3 0 0 1

API - Trigger a Get results from WC-1

Hi all,

We are using the WC-1 API since few months. We work on some evolutions and I'm wondering if its possible to trigger a Get results when a case present a new match, and this match is Postive/High.

In others terms, actually the get results request is sent automatically from our SAP System and get executed only for the cases flagged as "Screening in progress" on the SAP side (Screening in progress : Case with at least one unresolved match).


However, once all the matchs of a case are resolved, the status SAP change to released or Restricted. But if a case flagged as "Released" or "Restricted and our Get results don't recover the results from this case . If a new match appears trough the OGS feature for this cases, We would like that WC-1 trigger a get results and send the results to SAP when this new match is resolved.

Thanks by advance for your answer.









world-checkworld-check-one
icon clock
10 |1500

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

1 Answer

Upvote
Accepted
811 4 0 1

Hi @nnn

Use the API call – “SEQ-case-monitor-ogs: Monitor ongoing screening updates on cases“ to check for the updates on the cases. Monitor OGS API call provides you the functionality to query in the update date. Every update that gets listed in the monitor OGS API response, there is respective update date mentioned against the casesystemId, so even if the same case has had multiple updates it will all show up and you can determine using the update date field in the response as to which update is the latest one.

When you use the API call – ‘Monitor OSG’ it provides the information in the below format –

"results": [

{

"providerType": null,

"caseSystemId": "0a3687cf-65b4-154b-9990-d45c0001251a",

"numberOfNewResults": 0,

"numberOfUpdatedResults": 1,

"updateDate": "2019-01-24T19:42:20.039Z" - //Date of update

}

]


You have to use the API call – ‘SEQ-case-investigate-results: Get screening results’ for the above case-system-id and check for 2 things –

  1. Modification date : Modification date for the profile under the results would be the same as the updateDate.
  2. Review required : The value of the reviewRequired would be True for the profile which has an update

{

"resultId": "0a3687d0-65b4-1d30-9990-d45d0026e785",

"referenceId": "e_tr_wci_1059690", \\ The world-check profile reference number.

"matchStrength": "WEAK",

"matchedTerm": "Pasa YASAR",

"submittedTerm": "FAYSAL YAŞAR",

"matchedNameType": "PRIMARY",

"secondaryFieldResults": [],

"sources": [

"b_trwc_PEP N"

],

"categories": [

"PEP"

],

"creationDate": "2018-10-05T08:21:43.855Z",

"modificationDate": "2019-01-24T19:42:19.736Z", \\ Modification date of the updated profile would be the same as the updateDate from the Monitor OGS

"resolution": null,

"resultReview": {

"reviewRequired": true,

"reviewRequiredDate": "2019-01-24T00:00:00.000Z",

"reviewRemark": null,

"reviewDate": null

}

},


The Next step would be to use the API call – ‘SEQ-case-investigate-world-check-profile: Get a World-Check profile’ to fetch the full details of the profile and check in the updatedDates for the date received in the Monitor OGS API call or the modificationDate from the Get screening results API call. Snippet below -.

"updatedDates": {

"ageUpdated": null,

"aliasesUpdated": null,

"alternativeSpellingUpdated": null,

"asOfDateUpdated": null,

"categoryUpdated": "2015-11-27T00:00:00Z",

"citizenshipsUpdated": null,

"companiesUpdated": "2015-11-27T00:00:00Z",

"deceasedUpdated": null,

"dobsUpdated": "2014-02-26T00:00:00Z",

"eiUpdated": null,

"enteredUpdated": null,

"externalSourcesUpdated": "2019-01-24T00:00:00Z",

"firstNameUpdated": null,

"foreignAliasUpdated": "2012-10-18T00:00:00Z",

"furtherInformationUpdated": "2019-01-24T00:00:00Z",

"idNumbersUpdated": null,

"keywordsUpdated": null,

"lastNameUpdated": null,

"linkedToUpdated": "2019-01-24T00:00:00Z",

"locationsUpdated": "2015-11-27T00:00:00Z",

"lowQualityAliasesUpdated": null,

"passportsUpdated": null,

"placeOfBirthUpdated": "2014-02-26T00:00:00Z",

"positionUpdated": "2015-11-27T00:00:00Z",

"ssnUpdated": null,

"subCategoryUpdated": "2015-11-27T00:00:00Z",

"titleUpdated": null,

"updatecategoryUpdated": "2019-01-24T00:00:00Z"

},

icon clock
10 |1500

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

Click below to post an Idea Post Idea