Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

How to get all addresses in one suggestion list using Data Services realtime Web Service?

$
0
0

Hi,

 

We are using http://<host>:<port>/DataServices/servlet/webservices?ver=2.1 - "Service_Realtime_DQ_Addr_check_Suggestions" to implement an Address Search functionality in a third party UI. I do understand that if I use this Web Service to search for addresses based on a Post code, it will bring back a list of address suggestions - But this will not be the complete list of all addresses and I will have to make multiple calls with Reply_1 filled up (based on the Suggestion_status) to drill down the hierarchy of addresses. For Example:

 

First Web Service Call : Search based on Post Code: B15 2EN.

The Result is: Suggestion status = 'A' and the Suggestion Count = 6 and the suggestion list as below:

2   Langley Walk, Birmingham, B15 2EN      - This is an apartment   

12 Langley Walk, Birmingham, B15 2EN      - House

14 Langley Walk, Birmingham, B15 2EN       - House

16 Langley Walk, Birmingham, B15 2EN       - House  

18 Langley Walk, Birmingham, B15 2EN       - House

20 Langley Walk, Birmingham, B15 2EN       - House

 

Second Web Service Call : Now, to get all the addresses corresponding to apartment "2   Langley Walk, Birmingham, B15 2EN", I will have to make another call with Reply_1 = 1

 

The result will now be Suggestion status = 'U' and the Suggestion Count = 52 and the suggestion list with the 52 addresses listed as below:

Apt 1 , 2   Langley Walk, Birmingham, B15 2EN

.

.

.

Apt 52 , 2   Langley Walk, Birmingham, B15 2EN

 


Question 1: Is there anyway I can merge Web Service Call 1 and 2 into one single call - Basically I do not want to make multiple round trips..I would like to get all the addresses listed out in one call (In the example I have provided above, My first call should bring back 5 + 52 = 57 Addresses in the suggestion list. (Similar to the QAS Address Search Web Service) - Please let me know if this is possible?

 

 

Looking forward to your suggestions. Thanks.

 

 

Regards,

Arun


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>