ValidateMailingAddressRecommendUSCAN - Spectrum_OnDemand - Latest

Spectrum OnDemand Web Services (REST)

Product type
Software
Portfolio
Verify
Product family
Spectrum
Product
Spectrum > Quality > Context Graph
Spectrum > Spatial > Spectrum Spatial Analyst
Spectrum > Spectrum Platform
Spectrum > Quality > Addressing
Spectrum > Quality > Spectrum Quality
Spectrum > Web Services
Spectrum > Dataflow Designer
Spectrum > Discovery
Spectrum OnDemand
Spectrum > Spatial > Spectrum Spatial Insights
Spectrum > Spatial > Spectrum Spatial
Spectrum > Geocoding > Enterprise Tax
Version
Latest
Language
English
Product name
Spectrum OnDemand
Title
Spectrum OnDemand Web Services (REST)
Copyright
2024
First publish date
2006
ft:lastEdition
2024-07-17
ft:lastPublication
2024-07-17T23:23:16.481321

Resource URL

JSON endpoint:

https://OnDemandServer/rest/ValidateMailingAddressRecommendUSCAN/results.json

XML endpoint:

https://OnDemandServer/rest/ValidateMailingAddressRecommendUSCAN/results.xml

For a list of Spectrum OnDemand servers, see Connecting to Spectrum OnDemand Services.

Example with JSON Response

This example requests a JS0N response:
https://spectrum.precisely.com/rest/ValidateMailingAddressRecommendUSCAN/results.json?Data.Country=CAN&Data.AddressLine1=2805 RIVER AVE&Data.City=YOUNGS POINT&Data.PostalCode=K0L3G0&Data.StateProvince=ON

The JSON returned by this request would be:

{
    "Output": [
        {
            "AddressLine1": "2805 River Ave",
            "City": "Youngs Point",
            "StateProvince": "ON",
            "PostalCode": "K0L 3G0",
            "Country": "Canada",
            "Message": "Deliverable Address",
            "CanadianSERPCode": "V",
            "HouseNumber": "2805",
            "StreetName": "River",
            "ApartmentNumber": "",
            "POBox": "",
            "StreetSuffix": "Ave",
            "ProcessedBy": "CAN",
            "ChangeScore": "100",
            "AddressQuality": "V5",
            "Country.ISO": "CA",
            "Country.UPU": "CAN",
            "user_fields": []
        }
    ]
}

Example with XML Response

This example requests an XML response:

https://spectrum.precisely.com/rest/ValidateMailingAddressRecommendUSCAN/results.xml?Data.Country=CAN&Data.AddressLine1=2805 RIVER AVE&Data.City=YOUNGS POINT&Data.PostalCode=K0L3G0&Data.StateProvince=ON

The XML returned by this request would be:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xml.ValidateMailingAddressRecommendUSCANResponse
	xmlns="http://www.pb.com/spectrum/services/ValidateMailingAddressRecommendUSCAN">
	<Output>
		<Row>
			<AddressLine1>2805 River Ave</AddressLine1>
			<City>Youngs Point</City>
			<StateProvince>ON</StateProvince>
			<PostalCode>K0L 3G0</PostalCode>
			<Country>Canada</Country>
			<Message>Deliverable Address</Message>
			<CanadianSERPCode>V</CanadianSERPCode>
			<HouseNumber>2805</HouseNumber>
			<StreetName>River</StreetName>
			<ApartmentNumber></ApartmentNumber>
			<POBox></POBox>
			<StreetSuffix>Ave</StreetSuffix>
			<ProcessedBy>CAN</ProcessedBy>
			<ChangeScore>100</ChangeScore>
			<AddressQuality>V5</AddressQuality>
			<Country.ISO>CA</Country.ISO>
			<Country.UPU>CAN</Country.UPU>
			<user_fields/>
		</Row>
	</Output>
</xml.ValidateMailingAddressRecommendUSCANResponse>