DSS search entity working with invalid country code.

MW
MW Newcomer

Scenario: 1

While hitting the Search API of DSS through Postman with
following input we are getting only one search option which is fine:

  1. Company Name: "PEST CONTROL (INDIA)
    PRIVATE LIMITED"
  2. Country: "IN"


Scenario: 2
But while hitting the Search API of DSS through Postman with
following input we are getting only multiple search option irrespective of any
country:

  1. Company Name: "PEST CONTROL (INDIA)
    PRIVATE LIMITED"
  2. Country: "INda" or
    "INPX"


In spite of wrong
Country code, search option is being provided which is irrespective of any
country.

Kindly provide the logic for
the Scenario 2.

Best Answer

  • @MW, the country is treated as a filter, but only if it matches an acceptable value. If the value is incorrect (i.e. does not exist), no filtering is done.