For a deeper look into our DataScope Select REST API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials

question

Upvotes
Accepted
1 1 2 5

DSS search entity working with invalid country code.

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.

dss-rest-apidatascope-selectdss
icon clock
10 |1500

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

1 Answer

· Write an Answer
Upvotes
Accepted
13.7k 26 8 12

@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.

icon clock
10 |1500

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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