About Us Products Markets Customers Partners
 > Support
 > News
Home > Products
DOTS Address Validation - US - Error Codes
Service Objects' DOTS Address Validation is a hosted, programmable XML Web Service that allows you to instantly verify, correct and enhance the customer data you capture from your Web site or customers service applications.

Trial Service Path: http://trial.serviceobjects.com/av/AddressValidate.asmx?op=ValidateAddress

Inputs:
Address AS string, The delivery address associated with the input address. Required.
City AS string, The city or municipality associated with the input address. Required.
State AS string, The state or province associated with the input address. Required.
PostalCode AS string, The 5-digit ZIP Code and Zip+4 Code associated with the input address. Required.
LicenseKey AS string, The Service Objects issued license key for this Web service. Required.

Outputs:
Correct Address
Address AS string, The delivery address associated with the corrected address.
City AS string, The city or municipality associated with the corrected address.
State AS string, The 2-letter state or province abbreviation associated with the corrected address.
Zip AS string, The 5-digit ZIP Code and Zip+4 Code or 6-character Postal Code associated with the corrected address.
Address2 AS string, The second address line associated with the corrected address.
BarcodeDigits AS string, The USPS bar code digits associated with the corrected address.
CarrierRoute AS string, The carrier route associated with the corrected address.
CongressCode AS string, The congress code associated with the corrected address.
CountyCode AS string, The county code associated with the corrected address.
CountyName AS string, The county name associated with the corrected address.
Fragment AS string, The suite/apartment name and number associated with the corrected address.

Errors:
Desc AS string, Error message literal.
Number AS string, Error message numeric.
1, Unknown Internal Server Error.
2, Missing required elements for possible match or invalid key, match aborted, see description element.
Address not found
Street not found
Street number or box number out of range
Multiple addresses match
PR Urb not found in city street list
Firm/Highrise name conflict
3, Internal Error - SQL Timeout Error.
4, Internal Error - DB Unavailable.

The following is a sample SOAP response. The placeholders values be replaced with actual values.


string
(trim to 40 characters)
string (up to 28 characters)
string (2 characters)
string (10 characters)
string (trim to 40 characters)
string (13 characters)
string (4 characters)
string (2 characters)
string (4 characters)
string (40 characters)
string (trim to 20 characters)
string (trim to 20 characters)
string (trim to 20 characters)
string (trim to 10 characters)
string (trim to 20 characters)
string (trim to 20 characters)
string (trim to 40 characters)
string (trim to 10 characters)
string (trim to 20 characters)
string

string (trim to 255 characters)
string (1 characters)
string (trim to 255 characters)