ValidateMailingAddressPremium - Spectrum_OnDemand - Latest

Spectrum OnDemand Web Services (REST)

Product type
Software
Portfolio
Verify
Product family
Spectrum
Product
Spectrum OnDemand
Version
Latest
Language
English
Product name
Spectrum OnDemand
Title
Spectrum OnDemand Web Services (REST)
Copyright
2024
First publish date
2006
Last updated
2024-11-25
Published on
2024-11-25T19:42:51.884318

Resource URL

JSON endpoint:

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

XML endpoint:

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

The JSON returned by this request would be:

                {
  "Output": [
    {
      "CountryLevel": "A",
      "ProcessedBy": "INTH",
      "AddressLine1": "16 Rue Lalande",
      "City": "Bourg En Bresse",
      "StateProvince": "",
      "PostalCode": "01000",
      "Country": "France",
      "AdditionalInputData": "",
      "FirmName": "",
      "Country.Result": "S",
      "AddressBlock1": "",
      "AddressBlock2": "16 Rue Lalande",
      "AddressBlock3": "01000 Bourg En Bresse",
      "AddressBlock4": "France",
      "AddressLine5": "",
      "AddressQuality": "V5",
      "Deliverability": "5",
      "AddressType": "S",
      "ChangeScore": "12",
      "Latitude": "46.203939312800664",
      "Longitude": "5.222980635742331",
      "LocationPrecision": "1",
      "user_fields": [
        
      ]
    }
  ]
}

Example with XML Response

The following example requests an XML response:

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

The XML returned by this request would be:

<xml.ValidateMailingAddressPremiumResponse xmlns="http://www.pb.com/spectrum/services/ValidateMailingAddressPremium">
   <Output>
      <Address>
         <CountryLevel>A</CountryLevel>
         <ProcessedBy>INTH</ProcessedBy>
         <AddressLine1>16 Rue Lalande</AddressLine1>
         <City>Bourg En Bresse</City>
         <StateProvince/>
         <PostalCode>01000</PostalCode>
         <Country>France</Country>
         <AdditionalInputData/>
         <FirmName/>
         <Country.Result>S</Country.Result>
         <AddressBlock1/>
         <AddressBlock2>16 Rue Lalande</AddressBlock2>
         <AddressBlock3>01000 Bourg En Bresse</AddressBlock3>
         <AddressBlock4>France</AddressBlock4>
         <AddressLine5/>
         <AddressQuality>V5</AddressQuality>
         <Deliverability>5</Deliverability>
         <AddressType>S</AddressType>
         <ChangeScore>12</ChangeScore>
         <Latitude>46.203939312800664</Latitude>
         <Longitude>5.222980635742331</Longitude>
         <LocationPrecision>1</LocationPrecision>
         <user_fields/>
      </Address>
   </Output>
</xml.ValidateMailingAddressPremiumResponse>