Lists countries and their regions.
The request produces an application/json
payload.
GET | SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/rum/regions |
Environment ActiveGateCluster ActiveGate | https://{your-activegate-domain}:9999/e/{your-environment-id}/api/v2/rum/regions |
To execute this request, you need an access token with geographicRegions.read
scope.
To learn how to obtain and use it, see Tokens and authentication.
The request doesn't provide any configurable parameters.
Success. The response contains the list of countries with regional divisions.
CountryListWithRegions
objectA list of countries with their regions.
The number of countries.
CountryRegions
objectInformation about a country.
The ISO code of the country.
The name of the country.
The number of regions in the country.
Region
objectInformation about a country's region.
The code of the region.
The name of the region.
{"countries": [{"code": "FR","name": "France","regionCount": 2,"regions": [{"code": "ARA","name": "Auvergne-Rhone-Alpes"},{"code": "BFC","name": "Bourgogne-Franche-Comte"}]},{"code": "BE","name": "Belgium","regionCount": 2,"regions": [{"code": "01","name": "Antwerp Province"},{"code": "11","name": "Brussels Captial"}]}],"countryCount": 252}