GET v1/Common/Counties?stateProvince={stateProvince}
Gets counties. Filters by state/province if provided.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
stateProvince |
The state/province. |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
A list.
Collection of CountyV1Name | Description | Type | Additional information |
---|---|---|---|
Id |
Gets or sets the identifier. |
integer |
None. |
StateProvince |
Gets or sets the state/province. |
string |
None. |
CountyName |
Gets or sets the county name. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "StateProvince": "sample string 2", "CountyName": "sample string 3" }, { "Id": 1, "StateProvince": "sample string 2", "CountyName": "sample string 3" } ]
application/xml, text/xml
Sample:
<ArrayOfCounty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Titan.API.Core.Models.Common"> <County> <CountyName>sample string 3</CountyName> <Id>1</Id> <StateProvince>sample string 2</StateProvince> </County> <County> <CountyName>sample string 3</CountyName> <Id>1</Id> <StateProvince>sample string 2</StateProvince> </County> </ArrayOfCounty>