Using WC1 API to limit results

Options

Trying
to come up with a solution so that a client can quickly validate whether or not
a country is Sanctioned or not. If the client creates a group in WC1 and
limits the group to Sanctions only and Exact matches then it will limit the
potential matches BUT the issue is that for a Country they need to use an
entity type of U. Is there a way to only pull back results that have a
Category of EMBARGO?

Best Answer

  • Prabhjyot
    Prabhjyot LSEG
    Answer ✓

    @Fran Dugger,

    Thank you for the query.

    Yes, to screen countries, the entityType should be unspecified.

    If a country is sync screened (not async), then the matches will have an attribute "category" populated with the value EMBARGO that will tell the client that the country screened is in the embargo list.

    Please find the JSON of one of the matches when the country IRAN is screened.

    "results": [  {  "resultId": "0a3687cf-69ca-1e30-9a84-6abd0019f702",  "referenceId": "e_tr_wcc_75789",  "matchStrength": "EXACT",  "matchedTerm": "Iran",  "submittedTerm": "Iran",  "matchedNameType": "AKA",  "secondaryFieldResults": [],  "sources": [  "b_trwc_118",  ],  "categories": [  "Sanctions",  ]"creationDate": "2019-04-12T13:09:37.984Z",  "modificationDate": "2019-04-12T13:09:37.984Z",  "primaryName": "IRAN",  "events": null,  "countryLinks": [],  "identityDocuments": [],  "category": "EMBARGO",  "providerType": "WATCHLIST",  "gender": null  },

    Please check the attribute "category" and its value.

    Hope this clarifies your concern.

Answers

  • @Fran Dugger - no filter is currently available.
    However, the client could choose to expose only the profiles containing:

    "category": "EMBARGO"

    Which they can build as a filter in their interface.

    Leo