×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
I'm working with the new UPS Street Level Address Validation API. We've used the old one for years, but it is reaching end of life.
The new REST API is returning a JSON response that contains the following:
"ValidAddressIndicator": "string",
"AmbiguousAddressIndicator": "string",
"NoCandidatesIndicator": "string",
The documentation is lacking... but with the testing I've done it seems like one of the 3 elements will be present (the "string" is always empty).
From the Documentation:
ValidAddressIndicator string <= 1 Indicates query found a valid match.
AmbiguousAddressIndicator string <= 1 Indicates query could not find exact match. Candidate list follows.
NoCandidatesIndicator string <= 1 No Candidate found.
I know I can add "num_ValidAddressIndicator", "num_AmbiguousAddressIndicator", etc. Then check the value to see if the element was sent.
Just curious if there's another way that I've not considered.
TIA,
Greg
[Logo]<
https://www.totalbizfulfillment.com/> Greg Wilburn
Director of IT
301.895.3792 ext. 1231
301.895.3895 direct
gwilburn@xxxxxxxxxxxxxxxxxxxxxxx<mailto:gwilburn@xxxxxxxxxxxxxxxxxxxxxxx>
1 Corporate Dr
Grantsville, MD 21536
www.totalbizfulfillment.com<
http://www.totalbizfulfillment.com>
As an Amazon Associate we earn from qualifying purchases.