Express Entry:ExpressCityState: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 4: | Line 4: | ||
{{CustomTOC}} | {{CustomTOC}} | ||
==URL== | |||
{{URL-ExpressCityState}} | |||
==ExpressCityState== | ==ExpressCityState== | ||
ExpressCityState is provided as a means of retrieving city, state, and postal code combinations using the city name. This can be useful when a list of postal code information for a city is desired. | ExpressCityState is provided as a means of retrieving U.S. city, state, and postal code combinations using the city name. This can be useful when a list of postal code information for a city is desired. | ||
===Example Call=== | ===Example Call=== | ||
<pre> | <pre> | ||
http://expressentry.melissadata.net/web/ExpressCityState?format={FORMAT}&id={ID}&city={CITY}&postalcode={POSTALCODE}&maxrecords={MAXRECORDS} | http://expressentry.melissadata.net/web/ExpressCityState?format={FORMAT}&id={ID}&city={CITY}&state={STATE}&postalcode={POSTALCODE}&maxrecords={MAXRECORDS} | ||
</pre> | </pre> | ||
Line 19: | Line 23: | ||
;&id= | ;&id= | ||
:The ID element can contain your user ID, a complete | :The ID element can contain your user ID, a complete License Key, or a token. | ||
;&city= | ;&city= | ||
:Using the City in a query will help refine results, limiting responses accordingly. | :Using the City in a query will help refine results, limiting responses accordingly. | ||
;&state= | |||
:Limit the search to the selected state. | |||
;&postalcode= | ;&postalcode= | ||
Line 30: | Line 37: | ||
:Maxrecords is provided to control the number of results returned from a request to the service. | :Maxrecords is provided to control the number of results returned from a request to the service. | ||
:The default value is 10. | :The default value is 10 and the maximum is 100 records. | ||
[[Category:Cloud Services]] | [[Category:Cloud Services]] | ||
[[Category:Express Entry]] | [[Category:Express Entry]] |
Latest revision as of 22:41, 10 June 2022
URL
REST
Use URL Standard http://expressentry.melissadata.net/web/ExpressCityState Secure https://expressentry.melissadata.net/web/ExpressCityState
JSON
Use URL Standard http://expressentry.melissadata.net/jsonp/ExpressCityState Secure https://expressentry.melissadata.net/jsonp/ExpressCityState
ExpressCityState
ExpressCityState is provided as a means of retrieving U.S. city, state, and postal code combinations using the city name. This can be useful when a list of postal code information for a city is desired.
Example Call
http://expressentry.melissadata.net/web/ExpressCityState?format={FORMAT}&id={ID}&city={CITY}&state={STATE}&postalcode={POSTALCODE}&maxrecords={MAXRECORDS}
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.
- &city=
- Using the City in a query will help refine results, limiting responses accordingly.
- &state=
- Limit the search to the selected state.
- &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 and the maximum is 100 records.