GET api/v1/Location/GetCounty?stateId={stateId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
stateId | integer |
Required |
|
version | string |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of CountyName | Description | Type | Additional information |
---|---|---|---|
CountyId | integer |
None. |
|
CountyName | string |
None. |
|
StateId | integer |
None. |
|
StateName | string |
None. |
|
StateCode | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CountyId": 1, "CountyName": "sample string 2", "StateId": 3, "StateName": "sample string 4", "StateCode": "sample string 5" }, { "CountyId": 1, "CountyName": "sample string 2", "StateId": 3, "StateName": "sample string 4", "StateCode": "sample string 5" } ]
text/html
Sample:
[{"CountyId":1,"CountyName":"sample string 2","StateId":3,"StateName":"sample string 4","StateCode":"sample string 5"},{"CountyId":1,"CountyName":"sample string 2","StateId":3,"StateName":"sample string 4","StateCode":"sample string 5"}]
text/xml
Sample:
<ArrayOfCounty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <County> <CountyId>1</CountyId> <CountyName>sample string 2</CountyName> <StateCode>sample string 5</StateCode> <StateId>3</StateId> <StateName>sample string 4</StateName> </County> <County> <CountyId>1</CountyId> <CountyName>sample string 2</CountyName> <StateCode>sample string 5</StateCode> <StateId>3</StateId> <StateName>sample string 4</StateName> </County> </ArrayOfCounty>