POST api/addressvalidation/verifyaddress

Accepts an address and verifies it against an external web service (StrikeIron). Returns 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

Address
NameDescriptionTypeAdditional 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
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Address'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.