Express Entry:ExpressCityState: Difference between revisions

From Melissa Data Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Express Entry:Reference|← Express Entry Reference]]
{{ExpressEntryNav
{{ExpressEntryNav
|EndpointCollapse=
|EndpointCollapse=
Line 6: 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 21: Line 23:


;&id=
;&id=
:The ID element can contain your user ID, a complete license string, or a token.
: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 32: 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:Web Services]]
[[Category:Cloud Services]]
[[Category:Express Entry]]
[[Category:Express Entry]]

Latest revision as of 22:41, 10 June 2022

← Global Express Entry

Express Entry Navigation
Introduction
Global Getting Started
Endpoints
ExpressAddress
ExpressCityState
ExpressFreeForm
ExpressPostalCode
ExpressStreet
GlobalExpressAddress
GlobalExpressCountry
GlobalExpressLocalityAdministrativeArea
GlobalExpressFreeForm
  ↳  Filtering Responses
GlobalExpressPostalCode
GlobalExpressThoroughfare
Examples
XML Response
JSON Response
Global XML Response
Global JSON Response
Token Server
Result Codes
Result Code Use
Express Entry Result Codes
Sample Code



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.