Get App Info

Description

Every application registered with Portal for ArcGIS has a unique client ID and a list of redirect URIs that are used for OAuth. This operation returns these OAuth-specific properties of an application. You can use this information to update the redirect URIs by using the Update App Info operation.

The following table lists the client IDs and their default redirect URIs:

Client ID

Default Redirect URIs

arcgiscollectorandroid

["urn:ietf:wg:oauth:2.0:oob"]

arcgiscollectorios

["urn:ietf:wg:oauth:2.0:oob"]

arcgisdesktop

["urn:ietf:wg:oauth:2.0:oob"]

arcgisdesktop102

["urn:ietf:wg:oauth:2.0:oob"]

arcgisearth

Added at ArcGIS 10.4

["urn:ietf:wg:oauth:2.0:oob"]

arcgisonline

["https://<portal.domain.com>"]

arcgisoperationsdashboardweb

["https://*.arcgis.com","https://<portal.domain.com>"]

arcgisoperationsdashboardwindows

["urn:ietf:wg:oauth:2.0:oob"]

arcgispro

["urn:ietf:wg:oauth:2.0:oob"]

arcgisprodesktop

["urn:ietf:wg:oauth:2.0:oob"]

collectorwindowsphone

Added at ArcGIS 10.4

["urn:ietf:wg:oauth:2.0:oob"]

collectorwindowsstore

Added at ArcGIS 10.4

["urn:ietf:wg:oauth:2.0:oob"]

esriInsights

["https://la.arcgis.com","https://<portal.domain.com>"]

explorer

Removed at ArcGIS 10.4

["urn:ietf:wg:oauth:2.0:oob"]

explorerandroid

["urn:ietf:wg:oauth:2.0:oob"]

explorerios

["urn:ietf:wg:oauth:2.0:oob"]

explorerosx

["urn:ietf:wg:oauth:2.0:oob"]

explorerwindows

Removed at ArcGIS 10.4

["urn:ietf:wg:oauth:2.0:oob"]

flexappbuilder

["urn:ietf:wg:oauth:2.0:oob"]

mapsForCognos

["https://la.arcgis.com","https://<portal.domain.com>"]

mapsForDynamicsCRM

["https://la.arcgis.com","https://<portal.domain.com>"]

mapsForMicroStrategy

["https://la.arcgis.com","https://<portal.domain.com>"]

mapsForOffice

["urn:ietf:wg:oauth:2.0:oob","https://la.arcgis.com","https://code.esri.com"]

mapsForSalesforce

["https://la.arcgis.com","https://<portal.domain.com>"]

mapsForSAPBObj

["https://la.arcgis.com","https://<portal.domain.com>"]

mapsForSharePoint

["https://la.arcgis.com","https://<portal.domain.com>"]

navigator

Added at ArcGIS 10.4

["urn:ietf:wg:oauth:2.0:oob"]

Request parameters

Parameter

Details

appID

The client ID of the application.

f

The response format. The default response format is html.

Values: html | json

Example usage

https://webadaptor.domain.com/gis/portaladmin/oauth/getAppInfo
appID=mapsForSAPBObj
f=json

JSON Response syntax

{
    "appId": "<appID>",
    "redirectURIs": [
        "<uri1>",
        "<uri2>"
    ]
}

JSON Response example

{
    "appId": "mapsForSAPBObj",
    "redirectURIs": [
        "https://la.arcgis.com",
        "https://code.esri.com"
    ]
}

3/3/2017