The matches returned from api are different from matches shown on the web application

I was using the following request SEQ-2f, 4a, 8, 5b to retrieve the results for the keyword "CHINA":

{
"groupId":"{{group-id}}",
"entityType":"UNSPECIFIED",
"providerTypes":[
"WATCHLIST"
],
"name":"CHINA",
"customFields":[
]
}

and 7 matched results was returned. (using the production api)

However, if I enter the same keyword "China" and select "UNSPECIFIED" to search on the web application, then 8 results will be returned.

May I know the reason and how we could resolve it? Thank you.


Best Answer

  • Prabhjyot
    Prabhjyot LSEG
    Answer ✓

    @henry.cheng,

    In order to check the group using the API, you can use the API call - 'SEQ-case-investigate-case-details: Fetch full case details'.

    For the UI, you can use the case-Id and filter the search using the group in the case manager.

    In order to check the Ids of all the groups, you can use the API call - 'SEQ-pre-groups: Get my top-level groups'

    Also, for the issues related in production, you may refer to this link going forward. I will get a support ticket raised for this issue on your behalf and we can continue to look into it.

Answers

  • @henry.cheng,

    Thank you for your query.

    That's strange! Can you please share the result details from the UI and the API to look into it?

  • @Prabhjyot·

    Attached please find the results from UI and API. Thanks.

    api-results.txtui-results.png

  • @henry.cheng,

    Thank you for sharing the results.

    Can you please share the request body of the case?

  • Please find the body contents as follows
    (SEQ-2f):

    {
    "groupId":"{{group-id}}",
    "entityType":"UNSPECIFIED",
    "providerTypes":[
    "WATCHLIST"
    ],
    "name":"CHINA",
    "customFields":[
    ]
    }

    Thanks.

    @Prabhjyot·

  • @henry.cheng,

    Thank you for sharing the details.

    Can you please confirm if both the cases are created using the same group or different groups?

    Also can you please confirm if you are using the pilot environment or the production environment for the above case?

  • @Prabhjyot·

    The issue occurred in the production environment.

    About the group, how could I confirm the groups used in API and UI are the same?

  • I have a question talk about
    the request word check API method invoke
    order.

    I will get "matchStrngth" key from result values.

    This request API invoke order is


    1. SEQ-pre-groups: Get my
      top-level groups
    2. SEQ-case-create-individual:
      Save a case: Individual
    3. SEQ-case-retrieve: Get the
      system ID of a case
    4. SEQ-case-ogs-enable: Enable
      ongoing screening for a case

    Is the above correct?

  • @LuWei.zhang

    I would suggest posting the second query as a separate question, not as an answer to the first one.
    Once an answer is accepted, marked as "correct", the community tends to only look at the accepted answer, and may miss your second question on the same topic. If required you can always refer to the original question by adding a link to it.
    Kind regards, AHS