• Home
  • Dynatrace API
  • Environment
  • RUM
  • Geographic regions
  • GET regions

Geographic regions API - GET regions

Lists countries and their regions.

The request produces an application/json payload.

GETManagedDynatrace for Governmenthttps://{your-domain}/e/{your-environment-id}/api/v2/rum/regions
SaaShttps://{your-environment-id}.live.dynatrace.com/api/v2/rum/regions
Environment ActiveGatehttps://{your-activegate-domain}/e/{your-environment-id}/api/v2/rum/regions

Authentication

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.

Parameters

The request doesn't provide any configurable parameters.

Response

Response codes

CodeTypeDescription
200CountryListWithRegions

Success. The response contains the list of countries with regional divisions.

Response body objects

The CountryListWithRegions object

A list of countries with their regions.

ElementTypeDescription
countryCountinteger

The number of countries.

countriesCountryRegions[]

The list of countries.

The CountryRegions object

Information about a country.

ElementTypeDescription
namestring

The name of the country.

codestring

The ISO code of the country.

regionCountinteger

The number of regions in the country.

regionsRegion[]

The list of regions in the country.

The Region object

Information about a country's region.

ElementTypeDescription
namestring

The name of the region.

codestring

The code of the region.

Response body JSON model

json
{ "countryCount": 252, "countries": [ { "name": "France", "code": "FR", "regionCount": 2, "regions": [ { "name": "Auvergne-Rhone-Alpes", "code": "ARA" }, { "name": "Bourgogne-Franche-Comte", "code": "BFC" } ] }, { "name": "Belgium", "code": "BE", "regionCount": 2, "regions": [ { "name": "Antwerp Province", "code": "01" }, { "name": "Brussels Captial", "code": "11" } ] } ] }
Related topics
  • Real User Monitoring

    Learn about Real User Monitoring, key performance metrics, mobile app monitoring, and more.

  • Detection of IP addresses, geolocations, and user agents

    Dynatrace detects IP addresses and geolocations like a city, region, and country as well as browsers, devices, and operating systems.