ValidateAddressInternational
Resource URL
JSON endpoint:
https://OnDemandServer/rest/ValidateAddressInternational/results.json
XML endpoint:
https://OnDemandServer/rest/ValidateAddressInternational/results.xml
For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Servers.
Example with JSON Response
The following example requests a JSON response:
https://spectrum.precisely.com/rest/ValidateAddressInternational/results.json?Data.AddressLine1=1825+Kramer+Ln&Data.PostalCode=78758
The JSON returned by this request would be:
{
"Output": [
{
"Confidence": "88",
"CouldNotValidate": "",
"ProcessedBy": "INTS",
"AddressLine1": "1825 Kramer Ln",
"AddressLine2": "",
"City": "Austin",
"StateProvince": "TX",
"PostalCode": "78758-4260",
"PostalCode.Base": "78758",
"PostalCode.AddOn": "4260",
"Country": "United States",
"FirmName": "",
"user_fields": [
]
}
]
}
Example with XML Response
The following example requests an XML response:
https://spectrum.precisely.com/rest/ValidateAddressInternational/results.xml?Data.AddressLine1=1825+Kramer+Ln&Data.PostalCode=78758
The XML returned by this request would be:
<xml.ValidateAddressInternationalResponse xmlns="http://www.precisely.com/spectrum/services/ValidateAddressInternational">
<Output>
<Row>
<Confidence>88</Confidence>
<CouldNotValidate/>
<ProcessedBy>INTS</ProcessedBy>
<AddressLine1>1825 Kramer Ln</AddressLine1>
<AddressLine2/>
<City>Austin</City>
<StateProvince>TX</StateProvince>
<PostalCode>78758-4260</PostalCode>
<PostalCode.Base>78758</PostalCode.Base>
<PostalCode.AddOn>4260</PostalCode.AddOn>
<Country>United States</Country>
<FirmName/>
<user_fields/>
</Row>
</Output>
</xml.ValidateAddressInternationalResponse>