GET api/City/CountyCityGroup
Get a list of all the Cities and counties, grouped by county
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of uspWDTFLuCityAndCountySelectAll_Result| Name | Description | Type | Additional information |
|---|---|---|---|
| CountyID | integer |
None. |
|
| CountyName | string |
None. |
|
| CityID | integer |
None. |
|
| CityName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CountyID": 1,
"CountyName": "sample string 2",
"CityID": 3,
"CityName": "sample string 4"
},
{
"CountyID": 1,
"CountyName": "sample string 2",
"CityID": 3,
"CityName": "sample string 4"
}
]
text/html
Sample:
[{"CountyID":1,"CountyName":"sample string 2","CityID":3,"CityName":"sample string 4"},{"CountyID":1,"CountyName":"sample string 2","CityID":3,"CityName":"sample string 4"}]
application/xml, text/xml
Sample:
<ArrayOfuspWDTFLuCityAndCountySelectAll_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TrainingFundREST._DAL">
<uspWDTFLuCityAndCountySelectAll_Result>
<CityID>3</CityID>
<CityName>sample string 4</CityName>
<CountyID>1</CountyID>
<CountyName>sample string 2</CountyName>
</uspWDTFLuCityAndCountySelectAll_Result>
<uspWDTFLuCityAndCountySelectAll_Result>
<CityID>3</CityID>
<CityName>sample string 4</CityName>
<CountyID>1</CountyID>
<CountyName>sample string 2</CountyName>
</uspWDTFLuCityAndCountySelectAll_Result>
</ArrayOfuspWDTFLuCityAndCountySelectAll_Result>