GET api/city?CITY_ID={CITY_ID}&STATE_ID_STR={STATE_ID_STR}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
CITY_ID | integer |
None. |
|
STATE_ID_STR | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of cityName | Description | Type | Additional information |
---|---|---|---|
CITY_ID | integer |
None. |
|
CITY | string |
None. |
|
STATE_NM | string |
None. |
|
STATE_ID | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CITY_ID": 1, "CITY": "sample string 1", "STATE_NM": "sample string 2", "STATE_ID": 1 }, { "CITY_ID": 1, "CITY": "sample string 1", "STATE_NM": "sample string 2", "STATE_ID": 1 } ]
application/xml, text/xml
Sample:
<ArrayOfcity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControllerLibrary"> <city> <CITY>sample string 1</CITY> <CITY_ID>1</CITY_ID> <STATE_ID>1</STATE_ID> <STATE_NM>sample string 2</STATE_NM> </city> <city> <CITY>sample string 1</CITY> <CITY_ID>1</CITY_ID> <STATE_ID>1</STATE_ID> <STATE_NM>sample string 2</STATE_NM> </city> </ArrayOfcity>