GET api/v3/Locations/states/{stateId}/counties

Request Information

URI Parameters

NameDescriptionTypeAdditional information
stateId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of County
NameDescriptionTypeAdditional 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>