• Home
  • Dynatrace API
  • Environment
  • RUM
  • Geographic regions
  • GET regions of a country

Geographic regions API - GET regions of a country

Lists regions of a country.

The request produces an application/json payload.

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

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

ParameterTypeDescriptionInRequired
countryCodestring

The ISO code of the required country.

To fetch the list of available country codes, use the GET all countries request.

pathrequired

Response

Response codes

CodeTypeDescription
200CountryWithRegions

Success. The response contains the list of country's regions.

404ErrorEnvelope

Failed. The requested resource doesn't exist.

Response body objects

The CountryWithRegions object

Information about a country.

ElementTypeDescription
countryNamestring

The name of the country.

countryCodestring

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
{ "countyName": "France", "countryCode": "FR", "regionCount": 2, "regions": [ { "name": "Auvergne-Rhone-Alpes", "code": "ARA" }, { "name": "Bourgogne-Franche-Comte", "code": "BFC" } ] }
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.