GET api/county/GetCountyStatistics?countyId={countyId}
This method will retrieve county statistics for a county
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| countyId |
County id |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Instance of
CountyStatistics| Name | Description | Type | Additional information |
|---|---|---|---|
| CountyId | integer |
None. |
|
| TownshipCount | integer |
None. |
|
| TaxCodeCount | integer |
None. |
|
| NeighborhoodCount | integer |
None. |
|
| MunicipalityCount | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"countyId": 1,
"townshipCount": 2,
"taxCodeCount": 3,
"neighborhoodCount": 4,
"municipalityCount": 5
}
text/html
Sample:
{"countyId":1,"townshipCount":2,"taxCodeCount":3,"neighborhoodCount":4,"municipalityCount":5}
application/xml, text/xml
Sample:
<CountyStatistics xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ptd.Model.Pos"> <CountyId>1</CountyId> <MunicipalityCount>5</MunicipalityCount> <NeighborhoodCount>4</NeighborhoodCount> <TaxCodeCount>3</TaxCodeCount> <TownshipCount>2</TownshipCount> </CountyStatistics>