This API operation returns a list of Regions and their associated RegionID
based on the CountryID
passed in.
GET
/v1/lists/getRegions
Property | Type | Description |
---|---|---|
CountryID |
integer | Required. This is the ID of the Country that you wish to have it's associated Regions returned. See the GetCountries 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 |
---|---|---|
Regions |
Array of aws:Region | List of Regions from a specified Country. |
The following example returns a shortened list of Regions for the CountryID
158
, the United Kingdom.