ValidateMailingAddress - Spectrum_OnDemand - Latest

Spectrum OnDemand Web Services (REST)

Product type
Software
Portfolio
Verify
Product family
Spectrum
Product
Spectrum > Spectrum Platform
Spectrum > Dataflow Designer
Spectrum > Quality > Spectrum Quality
Spectrum > Discovery
Spectrum > Spatial > Spectrum Spatial Insights
Spectrum > Quality > Context Graph
Spectrum > Quality > Addressing
Spectrum OnDemand
Spectrum > Web Services
Spectrum > Spatial > Spectrum Spatial
Spectrum > Geo Addressing > Enterprise Tax
Spectrum > Spatial > Spectrum Spatial Analyst
Version
Latest
Language
English
Product name
Spectrum OnDemand
Title
Spectrum OnDemand Web Services (REST)
Copyright
2024
First publish date
2006
Last updated
2024-08-28
Published on
2024-08-28T12:55:51.727818

Resource URL

JSON endpoint:

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

XML endpoint:

https://OnDemandServer/rest/ValidateMailingAddress/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/ValidateMailingAddress/results.json?​Data.AddressLine1=16%20Rue%20Lalande&Data.City=Bourg-En-Bresse&Data.PostalCode=01000&Data.Country=FRA

The JSON returned by this request would be:

                {
  "Output": [
    {
      "ProcessedBy": "INT",
      "AddressLine1": "16 Rue Lalande",
      "City": "Bourg En Bresse",
      "StateProvince": "",
      "PostalCode": "01000",
      "Country": "France",
      "AdditionalInputData": "",
      "FirmName": "",
      "AddressLine5": "",
      "AddressQuality": "V4",
      "Deliverability": "4",
      "AddressType": "S",
      "user_fields": [
        
      ]
    }
  ]
}

Example with XML Response

The following example requests an XML response:

https://spectrum.precisely.com/rest/ValidateMailingAddress/results.xml?Data.AddressLine1=16%20Rue%20Lalande&Data.City=Bourg-En-Bresse&Data.Country=FRA

The XML returned by this request would be:

<xml.ValidateMailingAddressResponse xmlns="http://www.pb.com/spectrum/services/ValidateMailingAddress">
   <Output>
      <Address>
         <ProcessedBy>INT</ProcessedBy>
         <AddressLine1>16 Rue Lalande</AddressLine1>
         <City>Bourg En Bresse</City>
         <StateProvince/>
         <PostalCode>01000</PostalCode>
         <Country>France</Country>
         <AdditionalInputData/>
         <FirmName/>
         <AddressLine5/>
         <AddressQuality>V4</AddressQuality>
         <Deliverability>4</Deliverability>
         <AddressType>S</AddressType>
         <user_fields/>
      </Address>
   </Output>
</xml.ValidateMailingAddressResponse>