/regions: Regions

URL:
https://[root]/portals/regions
Methods:
GET

Example usage

The following is a sample ArcGIS Online request URL used to access the regions resource:

Use dark colors for code blocksCopy
1
https://org.arcgis.com/sharing/rest/portals/regions?f=pjson

The following is a sample ArcGIS Enterprise request URL used to access the regions resource:

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/sharing/rest/portals/regions?f=pjson

Description

The regions resource returns a list of the available regions for your organization.

Request parameters

ParameterDetails

culture

Returns the localized names in the specified culture.

Examples

Use dark colors for code blocksCopy
1
2
3
4
5
6
//Example one
culture=pt-BR


//Example two
culture=ar

f

The response format. The default format is html.

Values: html | json | pjson

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
[
  {
    "name": "<region_name>",
    "region": "<region_abbreviation>",
    "localizedName": "<localized name>"
  }
]

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
[
  {
    "name": "World",
    "region": "WO",
    "localizedName": "World"
  },
  {
    "name": "Australia",
    "region": "AU",
    "localizedName": "Australia"
  },
  {
    "name": "Austria",
    "region": "AT",
    "localizedName": "Austria"
  },
  {
    "name": "Bolivia",
    "region": "BO",
    "localizedName": "Bolivia"
  },
  {
    "name": "Brazil",
    "region": "BR",
    "localizedName": "Brazil"
  }
]

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.