POST api/addressvalidation/verifyaddressbatch
Accepts an array of addresses and verifies them against an external address validation web service. Returns an array of objects with a status and either the existing address or the corrected address.
Request Information
Authentication
This method does not require authentication
URI Parameters
None.
Body Parameters
The list of addresses to verify.
Collection of Address| Name | Description | Type | Additional information |
|---|---|---|---|
| Address1 | string |
None. |
|
| Address2 | string |
None. |
|
| City | string |
None. |
|
| State | string |
None. |
|
| PostalCode | string |
None. |
|
| Country | string |
None. |
|
| FormattedAddress | string |
None. |
|
| StreetAddressParameter | string |
None. |
|
| CountrySpecificLocalityLine | string |
None. |
|
| Order | integer |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Address1": "sample string 1",
"Address2": "sample string 2",
"City": "sample string 3",
"State": "sample string 4",
"PostalCode": "sample string 5",
"Country": "sample string 6",
"FormattedAddress": "sample string 7",
"StreetAddressParameter": "sample string 1 sample string 2",
"CountrySpecificLocalityLine": "sample string 3, sample string 4 sample string 5",
"Order": 10
},
{
"Address1": "sample string 1",
"Address2": "sample string 2",
"City": "sample string 3",
"State": "sample string 4",
"PostalCode": "sample string 5",
"Country": "sample string 6",
"FormattedAddress": "sample string 7",
"StreetAddressParameter": "sample string 1 sample string 2",
"CountrySpecificLocalityLine": "sample string 3, sample string 4 sample string 5",
"Order": 10
},
{
"Address1": "sample string 1",
"Address2": "sample string 2",
"City": "sample string 3",
"State": "sample string 4",
"PostalCode": "sample string 5",
"Country": "sample string 6",
"FormattedAddress": "sample string 7",
"StreetAddressParameter": "sample string 1 sample string 2",
"CountrySpecificLocalityLine": "sample string 3, sample string 4 sample string 5",
"Order": 10
}
]
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
The verified addresses or an error response.
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.