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.

Hi @MW

Thank you for your participation in the forum. Is the reply below satisfactory in resolving your query? If yes please click the 'Accept' text next to the reply. This will guide all community members who have a similar question. Otherwise please post again offering further insight into your question.

Thanks,

AHS

@MW

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

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.