Express Entry:ExpressAddress: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
===Example Call=== | ===Example Call=== | ||
<pre> | <pre> | ||
http://expressentry.melissadata.net/web/ExpressAddress?format={FORMAT}&id={ID}&line1={LINE1 | http://expressentry.melissadata.net/web/ExpressAddress?format={FORMAT}&id={ID}&line1={LINE1}&city={CITY}&state={STATE}&postalcode={POSTALCODE}&maxrecords={MAXRECORDS} | ||
</pre> | </pre> | ||
Line 35: | Line 35: | ||
|Search terms delimited by %20 or space. | |Search terms delimited by %20 or space. | ||
|The actual words of the search term. | |The actual words of the search term. | ||
|- | |- | ||
|City | |City | ||
Line 67: | Line 63: | ||
;&line1= | ;&line1= | ||
:Line1 input typically contains house number and street information i.e. “100 Main St.” Line1 is used in combination with City, State, or PostalCode. | :Line1 input typically contains house number and street information i.e. “100 Main St.” Line1 is used in combination with City, State, or PostalCode. | ||
;&city= | ;&city= |
Revision as of 23:12, 4 April 2019
URL
REST
Use URL Standard http://expressentry.melissadata.net/web/ExpressAddress Secure https://expressentry.melissadata.net/web/ExpressAddress
JSON
Use URL Standard http://expressentry.melissadata.net/jsonp/ExpressAddress Secure https://expressentry.melissadata.net/jsonp/ExpressAddress
ExpressAddress
The ExpressAddress service is consumed to retrieve U.S. results containing all of the available address elements of an address record: AddressLine1, City, State, PostalCode, SuiteName, SuiteRange, and SuiteCount.
A typical use of the ExpressAddress method is preceded by a call to the ExpressPostalCode service. The ExpressPostalCode service is provided as a means of retrieving postal code, city, and state combinations using the postal code as the search input.
Example Call
http://expressentry.melissadata.net/web/ExpressAddress?format={FORMAT}&id={ID}&line1={LINE1}&city={CITY}&state={STATE}&postalcode={POSTALCODE}&maxrecords={MAXRECORDS}
Requested Field | Input | Description |
---|---|---|
Format | {XML, JSON} | The return format of the request. |
ID | Text | The License Key or token |
Line1 | Search terms delimited by %20 or space. | The actual words of the search term. |
City | Text | Optional. The city of the address. |
State | Text | Optional. The state of the address. |
PostalCode | Text | Optional. The postal code of the address. |
Maxrecords | Number | The maximum number of records to return. |
Schema
- ?format=
- The response will be formatted according to the value set here.
- Valid values are: XML and JSON.
- &id=
- The ID element can contain your user ID, a complete License Key, or a token.
- &line1=
- Line1 input typically contains house number and street information i.e. “100 Main St.” Line1 is used in combination with City, State, or PostalCode.
- &city=
- Using the City in a query will help refine results, limiting responses accordingly.
- &state=
- Using the State in a query will help refine results, limiting responses accordingly.
- &postalcode=
- Using the postal code in a query will help refine results, limiting responses accordingly.
- &maxrecords=
- Maxrecords is provided to control the number of results returned from a request to the service.
- The default value is 10.