- URL:
- https://<root>/portals/[portalID]/urls/generateOrgUrlMap
- Methods:
POST- Version Introduced:
- 11.4
Example usage
The following is a sample ArcGIS Enterprise POST request for the generate operation:
POST /<context>/sharing/rest/portals/0123456789ABCDEF/urls/generateOrgUrlMap HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
f=pjson&token=<token>Description
The generate operation returns a report of the organization's Enterprise portal and federated servers. The report includes an inventory of all the URLs for an organization, including the Web URLs that have been configured for ArcGIS Enterprise portal and federated servers. The id value returned for each federated server can be used with the Generate URL Report and Update Federated Server URL operations.
Request parameters
| Parameter | Details |
|---|---|
| The response format. The default format is Values: |
JSON Response example
{
"siteUrlMap": {
"portal": {
"id": "d31fa679-968e-41d1-a3d3-8b8c76d9bc54",
"webContextUrl": "https://publicUrlPortal.example.com/portal",
"portalLocalHostname": "MACHINE.EXAMPLE.COM",
"portalLocalHttpPort": 7080,
"portalLocalHttpsPort": 7443,
"machines": [
{
"machineName": "MACHINE.EXAMPLE.COM",
"adminURL": "https://machine.example.com:7443/arcgis",
"role": "",
"platform": "Windows Server 2022-amd64-10.0"
}
]
},
"servers": [
{
"id": "LsoQCXJ3KxIcQNLT",
"name": "machine2.example.com:6443",
"adminUrl": "https://machine2.example.com:6443/arcgis",
"url": "https://publicURLFederatedServer.example.com/dataserver",
"webContextUrl": "https://publicURLFederatedServer.example.com/dataserver",
"isHosted": false,
"serverType": "ArcGIS",
"serverRole": "FEDERATED_SERVER",
"serverFunction": "",
"machines": [
{
"machineName": "MACHINE2.EXAMPLE.COM",
"adminURL": "https://MACHINE2.EXAMPLE.COM:6443/arcgis/admin",
"synchronize": false,
"underMaintenance": false
},
{
"machineName": "MACHINE3.EXAMPLE.COM",
"adminURL": "https://MACHINE3.EXAMPLE.COM:6443/arcgis/admin",
"synchronize": false,
"underMaintenance": false
}
]
},
{
"id": "PAf9Y5TdsDb1uQkm",
"name": "machine4.example.com:6443",
"adminUrl": "https://machine4.example.com:6443/arcgis",
"url": "https://publicURLHostingServer.example.com/server",
"webContextUrl": "https://publicURLHostingServer.example.com/server",
"isHosted": true,
"serverType": "ArcGIS",
"serverRole": "HOSTING_SERVER",
"serverFunction": "",
"machines": [
{
"machineName": "MACHINE4.EXAMPLE.COM",
"adminURL": "https://MACHINE4.EXAMPLE.COM:6443/arcgis/admin",
"synchronize": false,
"underMaintenance": false
}
]
},
{
"id": "p0khDc7XHwAUyIuF",
"name": "machine5.example.com:6443",
"adminUrl": "https://machine5.example.com:6443/arcgis",
"url": "https://publicURLImageServer.example.com/image",
"webContextUrl": "https://publicURLImageServer.example.com/image",
"isHosted": false,
"serverType": "ArcGIS",
"serverRole": "FEDERATED_SERVER",
"serverFunction": "ImageHosting",
"machines": [
{
"machineName": "MACHINE5.EXAMPLE.COM",
"adminURL": "https://MACHINE5.EXAMPLE.COM:6443/arcgis/admin",
"synchronize": false,
"underMaintenance": false
}
]
}
]
}
}