This API operation returns a list of Counties and their associated CountyID
based on the RegionID
passed in.
GET
/v1/lists/getCounties
Property | Type | Description |
---|---|---|
RegionID |
integer | Required. This is the ID of the Region that you wish to have it's associated Counties returned. See the GetRegions method. |
Parameters can be passed to this operation using the HTTP GET method by passing parameters over the query string of the URI.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
Your API-Key is required with every request and can be passed in as a header or a query-string parameter. Don't have an API-Key? Get one now.
Property | Type | Description |
---|---|---|
Counties |
Array of aws:County | List of Counties from a specified Region. |
The following example returns a shortened list of Counties for the RegionID
2
, the South East.