Portal Self

Description

The Portal Self resource is used to return the view of the portal as seen by the current user, anonymous or logged in. It includes information such as the name, logo, featured items, and supported protocols (HTTP versus HTTPS) for this portal. If the user is not logged in, this call will return the default view of the portal. If the user is logged in, the view of the returned portal will be specific to the organization to which the user belongs. The default view of the portal is dependent on the culture of the user, which is obtained from the user's profile. A parameter to pass in the locale/culture is available for anonymous users.

Request parameters

Parameter

Details

[Common Parameters]

For a complete listing, see Common parameters.

culture

The culture code of the calling client. Output is customized for this culture if settings are available.

Values: culture code (for example, en_US)

region

The region code of the calling client. Output is customized for this region if settings are available.

Portal Self response properties

Property

Details

access

Indicates the level of access to your organization for anonymous users. If set to private, only members of the organization will be able to access your site, while public allows public access.

allSSL

Indicates if the organization is using HTTPS. If true, all calls made against resources that belong to the organization will require HTTPS. The default is false.

analysisLayersGroupQuery

The query that identifies the group containing the layers shown in the Analysis Layers gallery for the analysis tools.

appInfo

Information about the application through which this resource was accessed. This information is based on the token used to access this resource.

authorizedCrossOriginDomains

An array of trusted servers that clients can send credentials to when making Cross-Origin Resource Sharing (CORS) requests to access web-tier secured services.

availableCredits

The total number of credits of the organization.

backgroundImage

The background image that displays behind all other components on the home page. Accept the default background image, specify a URL for a custom background image, or specify that no background image will display.

basemapGalleryGroupQuery

The query that identifies the group containing the web maps that display in the basemap gallery for the map viewer.

bingKey

The Bing key to use for web maps using Bing Maps.

canListApps

An organization can list applications in the marketplace only if canListApps is true.

canListData

An organization can list data services in the marketplace only if canListData is true.

canListPreProvisionedItems

An organization can list preprovisioned items in the marketplace only if canListPreProvisionedItems is true.

canProvisionDirectPurchase

An organization can provision direct purchases in the marketplace without customer request only if canProvisionDirectPurchase is true.

canSearchPublic

Includes or excludes public items, groups, and users in search queries. When canSearchPublic is false, no public items outside of the organization are included in searches. However, public items that are part of the organization are returned. The default is true.

canShareBingPublic

The Bing key can be shared to the public and is returned as part of a portal's description call (/sharing/rest/portals/<orgid>). This requires the access of the portal to be set to public. The canShareBingPublic property is not returned publicly but only shown to users within the organization.

canSharePublic

Allows or disallows an organization to share groups or items publicly. When canSharePublic is set to false, it denotes that content cannot be shared with everyone. The default is true.

canSignInArcGIS

Allows an organization with an enterprise IDP configured to be able to turn on or off the ArcGIS sign in. The default is true.

canSignInIDP

Allows an organization with an enterprise IDP configured to be able to turn on or off the enterprise sign in. The default is true.

colorSetsGroupQuery

The query that identifies the group containing the color sets used for rendering in the map viewer.

commentsEnabled

Allows the organization to disable commenting. The default is true. When commentsEnabled is false, comments are hidden and not removed. numComments is set to zero for all items in the organization. Calls to add a comment and view comments will fail. If the organization reenables comments, the comments display and numComments is restored.

created

Date the organization was created, in UTC, using milliseconds since epoch.

creditAssignments

Indicates if the organization has credit budgeting enabled. Default is disabled.

culture

The locale information for the organization (country-language, for example, en-us).

customBaseUrl

The custom base URL for the portal.

defaultBasemap

The default basemap displayed in the map viewer.

defaultExtent

The default extent for the organization.

defaultUserCreditAssignment

Default allocation of credits for new members.

defaultVectorBasemap

The default vector basemap displayed in map viewer when useVectorBasemaps is true.

description

The description of the organization.

featuredGroups

The featured groups for the organization. These are the groups that will be highlighted on the Groups page.

featuredItemsGroupQuery

The query that identifies the group containing featured items for the gallery. Set a Group ID or, if null, the most viewed items in your organization are displayed in the gallery.

galleryTemplatesGroupQuery

The query that identifies the group containing gallery templates is allowed to build galleries that showcase the web maps and web mapping applications within a group.

helpBase

The helpBase property provides the base URL of the help documentation. This is used to build all the help URLs within the portal.

helperServices

A JSON object of various services needed by client applications. They can be overridden by the organization or the portal. The services include the following:

analysis—Hosted geoprocessing services that perform analyses.

asyncClosestFacility—ArcGIS geoprocessing service for asynchronous closest-facility analysis.

asyncLocationAllocation—ArcGIS geoprocessing service for asynchronous location-allocation network analysis.

asyncODCostMatrix—ArcGIS geoprocessing service for generating origin-destination cost matrices asynchronously.

asyncRoute—ArcGIS geoprocessing service for asynchronous route analysis.

asyncServiceArea—ArcGIS geoprocessing service for asynchronous service-area analysis.

asyncVRP—ArcGIS geoprocessing service for solving asynchronous vehicle routing problems.

closestFacility—ArcGIS NAServer service for synchronous closest-facility analysis.

elevation—ArcGIS geoprocessing services for elevation analysis.

defaultElevationLayers—Limited Error Raster Compression (LERC) elevation service used by ArcGIS Pro and the Web Scene Viewer.

elevationSync—ArcGIS geoprocessing services for elevation analysis.

geocode—Array of ArcGIS geocoding services to use for geocoding.

asyncGeocode—ArcGIS geoprocessing service for performing batch geocoding asynchronously. (This helper service is not applicable to ArcGIS Online, was added at Portal for ArcGIS 10.5.)

geoenrichment—ArcGIS GeoenrichmentServer.

geometry—ArcGIS GeometryServer to use for geometry functions.

hydrology—ArcGIS geoprocessing services for hydrologic analysis.

printTask—ArcGIS PrintServer task to use for printing functionality.

route—ArcGIS NAServer service for synchronous route analysis.

routingUtilities—ArcGIS geoprocessing service that provides auxiliary information, such as travel modes, used by the different routing services.

serviceArea—ArcGIS NAServer service for synchronous service-area analysis.

syncVRP—ArcGIS geoprocessing service for solving synchronous vehicle routing problems.

traffic—ArcGIS map service for displaying traffic speeds and traffic incidents.

homePageFeaturedContent

The group that contains featured content to be displayed on the home page.

homePageFeaturedContentCount

The number of featured items that can be displayed on the home page. The max is 100. Integers only.

httpPort

The port used by the portal for HTTP communication.

httpsPort

The port used by the portal for HTTPS communication.

id

Organization ID. If null, this is the default portal for anonymous and nonorganizational users.

ipCntryCode

The country code of the calling IP (ArcGIS Online only).

isPortal

Indicates if the portal is on-premises.

layerTemplatesGroupQuery

The query that identifies the group containing editing templates used in the map viewer.

livingAtlasGroupQuery

The query that identifies the group containing the layers to be used in the Analysis Layers gallery.

maxTokenExpirationMinutes

The maximum validity in minutes of tokens issued for users of the organization: -1 is the default and is a special value that indicates infinite timeout or permanent tokens. For tokens granted using OAuth2 authorization grant, it represents the maximum validity of refresh tokens. For access tokens, the maximum validity is the lower of two weeks or this value.

metadataEditable

Indicates if the organization has metadata enabled.

metadataFormats

Metadata style used for the organization.

Example: metadataFormats:["fgdc"]

modified

Date the organization was last modified, in UTC, milliseconds since epoch.

name

The organization's name.

orgEmail

The contact email that appears on the Provider tab of the organization's listings in ArcGIS Marketplace.

orgPhone

The contact phone number that appears on the Provider tab of the organization's listings in ArcGIS Marketplace.

orgUrl

The website that appears on the Provider tab of the organization's listings in ArcGIS Marketplace.

portalHostname

The portal host's URL.

portalMode

Identifies if multitenant or singletenant.

portalName

The portal's name.

portalProperties

Stores properties specific to the organization, for example, the contact us link. If the organization is public, the properties are visible to the anonymous user.

portalThumbnail

The URL to the thumbnail of the portal.

region

The region for the organization.

rotatorPanels

Custom HTML for the home page.

showHomePageDescription

If true, the description of your organization displays on the home page.

stylesGroupQuery

The query that identifies the group containing a variety of styles that contain references to symbology that can be consumed by the ArcGIS platform.

supportsHostedServices

Indicates if hosted services are supported.

supportsOAuth

Indicates if OAuth is supported.

symbolSetsGroupQuery

The query that identifies the symbol set group for rendering in the map viewer.

templatesGroupQuery

The query that identifies the template group used in the map viewer.

thumbnail

The URL to the thumbnail of the organization.

units

Sets the units of measure for the organization's users. The user default is derived from the organization's region. Set units to english for U.S. standards or metric.

updateUserProfileDisabled

Indicates whether organization members are allowed to edit their biographical information and who can see their profiles.

urlKey

The prefix selected by the organization's administrator to be used with the customBaseURL.

useStandardizedQuery

If true, only simple WHERE clauses that are compliant with SQL92 can be used when querying layers and tables. The recommended security setting is true.

useVectorBasemaps

If true, organization uses the Esri vector basemaps in supported ArcGIS apps and basemapGalleryGroupQuery will not be editable and will be set to the default query.

vectorBasemapGalleryGroupQuery

The query that identifies the group containing vector basemaps that are used to display in the basemap gallery for the map viewer. This query should only be used when useVectorBasemaps is true.

allowedOrigins

An array of up to 100 web application domains to restrict CORS access to the ArcGIS Online REST API.

mfaAdmins

An array of at least two designated administrators who receive requests to troubleshoot members' multifactor authentication issues.

contacts

An array of chosen administrators listed as points of contact whose email addresses will be listed as points of contact in the automatic email notifications sent to org members when they request password resets, help with their user names, modifications to their accounts, or any issues related to the allocation of credits to their accounts.

mfaEnabled

Indicates if org members are allowed to choose whether to set up multifactor authentication for their individual accounts.

user

User information for the accessing user is returned only when a token is passed in. Group information is not given. See User for response properties.

AppInfo Response properties

Property

Details

appID

The AppID of the registered application. This is also the OAuth client_id.

itemId

The item ID of the registered application.

appOwner

The owner of the application.

orgId

The organization to which the application owner belongs.

appTitle

The title of the application.

Users and apps

The Portal Self response can vary based on whether it's called by a user, an app, or a combination of the two.

The response includes user and appinfo properties, and the variations in responses are primarily related to these two properties. As the names indicate, the user property includes information about the user making the call, and the appinfo property includes information pertaining to the app that made the call.

Example usage:

"user": {
    "username": "<username>",
    "orgId": "<userOrgId>",
    // ... other user properties ...
  },
  "appInfo": {
    "appId": "<appId>",
    "orgId": "<appOrgId>",
    // ... other app properties ...
  },
  // ... other response properties ...
}

One key property is the orgId property in both user and appInfo objects and what it represents in each of these objects:

  • The orgId in the user object, if available, represents the logged in user's organization ID
  • The orgId in the appInfo object, if available, represents the calling app's organization ID.

The user and appInfo objects vary based on the type of request. These variations are discussed next.

Anonymous requests

Anonymous requests or requests made without any token represent neither a user nor an app. Based on this assertion, the Portal Self response for anonymous requests includes neither the user nor the appInfo property.

The generateToken call is the classic way of generating user tokens and was the only option available before OAuth support. Therefore, a generateToken token always represents a user and is never associated with an app. The Portal Self response for generateToken tokens includes the user property but not the appInfo property.

OAuth 2.0 user tokens

OAuth 2.0 via the client_credentials grant allows a registered app to log in on behalf of itself. Also, app tokens generated via the client_credentials grant are not associated with any user. Therefore, the Portal Self response for OAuth 2.0 app tokens includes the appInfo property but not the user property.

Visit ArcGIS for Developers for more information.

Summary

The relationship between the type of request and the user and appInfo properties can be summarized in the following table:

Request type

user property

appInfo property

Anonymous Request

No

No

generateToken token

Yes

No

OAuth2 user token

Yes

Yes

OAuth2 app token

No

Yes

Example usage

http://www.arcgis.com/sharing/rest/portals/self

JSON Response syntax

{
  "access": private | public,  
  "allSSL": false | true,	
  "analysisLayersGroupQuery": "title:\"<group name>\" AND owner:<username>", 
  "authorizedCrossOriginDomains": [
    "<trusted server1>",
    "<trusted server2>"
  ],
  "availableCredits": <available credits>,
  "backgroundImage": "default_image" | "custom_image" | "none"					
  "basemapGalleryGroupQuery": "title:\"<group name>\" AND owner:<username>", 
  "bingKey": "<bing key>",
  "canListApps": true | false,
  "canListData": true | false,
  "canListPreProvisionedItems": true | false,
  "canProvisionDirectPurchase": true |false,
  "canSearchPublic": true | false
  "canShareBingPublic": true | false
  "canSharePublic": true | false
  "canSignInArcGIS": true | false
  "canSignInIDP": true | false
  "colorSetsGroupQuery": "title:\"<group name>\" AND owner:<username>",
  "commentsEnabled": "true | false",         	 
  "created": date created shown in UNIX time,
  "creditAssignments": "enabled" | "disabled",
  "culture": "<culture code>"						
  "customBaseUrl": "<URL>",
  "defaultBasemap": {      						
    "id": "<id>",
    "title": "<title>",
    "baseMapLayers": [
       {
         "id": "<id>",
         "layerType": "<layer type>",
         "url": "<url>",
         "visibility": true | false,
         "opacity": 1,
         "title": "<title>",
         "resourceInfo": {<JSON object that defines the service layer info>},
         "isReference": true | false
       }
     ],
    "operationalLayers": []
  },
  "defaultExtent": { 	
    "type": "<type>",						 
    "xmin": <x min>,
    "ymin": <y min>,
    "xmax": <x max>,
    "ymax": <y max>,
    "spatialReference":  {"wkid": <well-known id> | "wkt": <well-known text string> }
  },
  "defaultUserCreditAssignment": <default credits allocation for new members>,
  "defaultVectorBasemap": {
    "baseMapLayers": [
      {
        "id": "<id>",
        "type": "<type>",
        "layerType": "<layer type>",
        "title": "<title>",
        "styleUrl": "<style url>",
        "visibility": true | false,
        "opacity": 1
      }
    ],
    "title": "<title>"
  },
  "description": "description and/or image",
  "featuredGroups": [  				
     {
      "owner": "<username1>",
      "title": "<group name1>"
     },
     {
      "owner": "<username2>",
      "title": "<group name2>"
     },
     {
      "owner": "<username3>",
      "title": "<group name3>"
     }
     ....
   ],
  "featuredItemsGroupQuery": "id:<"featured group id | null>", 
  "galleryTemplatesGroupQuery": "id:<"gallery templates group id | null>", 
  "helperServices": {
    "asyncClosestFacility": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "asyncLocationAllocation": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "asyncODCostMatrix": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "asyncRoute": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "asyncServiceArea": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "asyncVRP": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "closestFacility": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "defaultElevationLayers": [
      {
        "url": "<URL>",
        "id": "<ID>",
        "layerType": "<type of layer>"
      }
    ],
    "elevation": {
      "url": "<URL>"
    },
    "elevationSync": {
      "url": "<URL>"
    },
    "geocode": [
      {
        "url": "<URL>",
        "northLat": "Ymax",
        "southLat": "Ymin",
        "eastLon": "Xmax",
        "westLon": "Xmin",
        "name": "<name>",
        "suggest": true | false,
        "zoomScale": <scale>,
        "batch": true | false
      }
    ],
    "asyncGeocode": {
      "url": "<URL>"
    },
    "geometry": {
      "url": "<URL>"
    },
    "hydrology": {
      "url": "<URL>"
    },
    "printTask": {
      "url": "<URL>"
    },
    "route": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "routingUtilities": {
      "url": "<URL>"
    },
    "serviceArea": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "syncVRP": {
      "url": "<URL>",
      "defaultTravelMode": "<default travel mode>"
    },
    "traffic": {
      "url": "<URL>"
    },
    "analysis": {
      "url": "<URL>"
    },
    "geoenrichment": {
      "url": "<URL>"
    }
  },
  "homePageFeaturedContent": "title:\"<group name>\" AND owner:<username>",
  "homePageFeaturedContentCount": <count>,
  "id": "<organization id>",	
  "isPortal": true | false,						
  "layerTemplatesGroupQuery": "title:\"<group name>\" AND owner:<username>",  
  "livingAtlasGroupQuery": "title:\"<group name>\" AND owner:<username>",
  "maxTokenExpirationMinutes": <-1 is default; for ArcGIS online - 2 weeks, OAuth refresh tokens -unlimited; OAuth access tokens - 2 weeks>,
  "metadataEditable": true | false,
  "metadataFormats": ["<format1>"],
  "modified": date modified shown in UNIX time,
  "name": "<organization name>",
  "orgEmail": "<email>",
  "orgPhone": "<phone number>",
  "orgUrl": "<URL>",
  "portalHostname": "<URL>", 
  "portalMode": "singletenant" | multitenant"},
  "portalName": "<name of portal>", 
   "portalProperties": {"links": {"contactUs": {
    "url": "<URL or mailto>",
    "visible": true | false
  }}},
  "portalThumbnail": file name,
  "region": "<region>",
  "rotatorPanels":[
   {"id": "banner"
   "innerHTML": "<custom HTML>",    
   {"innerHTML": "<custom HTML>"
   ], 
  "showHomePageDescription": true | false,
  "stylesGroupQuery": "title:\"<group name>\" AND owner:<username>",
  "supportsHostedServices": true | false,  
  "symbolSetsGroupQuery": "title:\"<group name>\" AND owner:<username>", 
  "templatesGroupQuery": "title:\"<group name>\" AND owner:<username>",  
  "thumbnail": "<file name>",
  "units": english | metric,
  "updateUserProfileDisabled": true | false,
  "urlKey": null,
  "useStandardizedQuery": true | false,
  "useVectorBasemaps": true | false,
  "vectorBasemapGalleryGroupQuery": "title:\"<group name>\" AND owner:<username>",
  "httpPort": <port number>,    
  "httpsPort": <port number>,    
  "ipCntryCode": "<country code>",    
  "supportsOAuth": true | false,
  "allowedOrigins": [
    "<whitelisted domain>"
  ],
   "mfaAdmins": [
    "<mfa admins>"
  ],
  "contacts": [
    "<contacts>"
  ],
  "mfaEnabled": true | false,
  "user": {
    "username": "<username>",
    "fullName": "<first name> <last name>",
    "availableCredits": <available credits>,
    "assignedCredits": <allocated credits>,
    "firstName": "<first name>",
    "lastName": "<last name>",
    "preferredView": "Web" | "GIS" | null,
    "description": "<description>",
    "email": "<email address>",
    "idpUsername": "<username>",
    "favGroupId": "<group id>",
    "lastLogin": <date of user last login shown in UNIX time>,
    "mfaEnabled": true | false,
    "access": "private" | "org" | "public",
    "storageUsage": <storage used - bytes>,    
    "storageQuota": <storage quota - bytes>,  
    "org id": "<organization id>"
    "role":  "org_admin" | "org_publisher" | "org_user",
    "privileges": [
       "<privilege1>",
       "<privilege2>",
       "<privilege3>"
       ...
       ],
    "disabled": true | false,
    "units": "english" | "metric",
    "tags": [
      "<tag1>",      
      "<tag2>"    
      ],
    "culture": "<culture code>",   
    "region": "<region>",    
    "thumbnail": "<file name>",  
    "created": <date created shown in UNIX time>,
    "modified": <date modified shown in UNIX time>, 
    "provider": "arcgis" | "enterprise" | "facebook" | "google"
    },
  "appInfo":  {
	    "appId": "<registered app id>",
     "itemId": "<item id of the app>",
     "appOwner": "<the app owner>",
     "orgId": "<the org that the app owner is a member of>",
     "appTitle": "<the app title>"
  }
     
}

JSON Response example

{
  "access":  public
  "allSSL": false
  "analysisLayersGroupQuery": "title:\"Living Atlas Analysis Layers\" AND owner:esri", 
  "authorizedCrossOriginDomains": [
    "https://server1.domain.com",
    "http://server2.domain.com"
  ],
  "availableCredits": 12523.086,
  "backgroundImage": "background.jpg"
  "basemapGalleryGroupQuery": "title:\"ArcGIS Online Basemaps\" AND owner:esri_en",  
  "bingKey": "AqkbwzQqrTdyyfyxDGDr8BtKFOYkrK1EhSEOQLSWfKOO1ukAJGbFjxwqbK2sd4cx", 		  
  "canListApps": false,
  "canListData": false,
  "canListPreProvisionedItems": false,
  "canProvisionDirectPurchase": false,
  "canSearchPublic": true,
  "canShareBingPublic": false,
  "canSharePublic": true, 
  "canSignInArcGIS": false,
  "canSignInIDP": false,
  "colorSetsGroupQuery": "title:\"Esri Colors\" AND owner:esri_en", 
  "commentsEnabled": false,         
  "created":1308083325000,  
  "culture": "en-EN"
  "customBaseUrl": "maps.arcgis.com",
  "defaultBasemap": {      
      "id": "d0d67530aa9c49a1b94319658df3aecd",
      "title": "Imagery with Labels",
      "baseMapLayers": [
        {
        "id": "World_Imagery_6611",
        "layerType": "ArcGISTiledMapServiceLayer",
        "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer",
        "visibility": true,
        "opacity": 1,
        "title": "World Imagery",
        "resourceInfo": {
          "currentVersion": 10.3,
          "serviceDescription": "World Imagery service description.",
          "mapName": "Layers",
          "description": "World Imagery provides one meter or better satellite and aerial imagery in many parts of the world and lower resolution satellite imagery worldwide.",
          "copyrightText": "Source: Esri, DigitalGlobe, GeoEye, Earthstar Geographics, CNES/Airbus DS, USDA, USGS, AEX, Getmapping, Aerogrid, IGN, IGP, swisstopo, and the GIS User Community",
          "supportsDynamicLayers": false,
          "layers": [
            {
              "id": 0,
              "name": "World Imagery",
              "parentLayerId": -1,
              "defaultVisibility": true,
              "subLayerIds": null,
              "minScale": 0,
              "maxScale": 0
            },
            {
              "id": 1,
              "name": "Low Resolution 15m Imagery",
              "parentLayerId": -1,
              "defaultVisibility": true,
              "subLayerIds": null,
              "minScale": 0,
              "maxScale": 0
            },
            {
              "id": 2,
              "name": "High Resolution 60cm Imagery",
              "parentLayerId": -1,
              "defaultVisibility": true,
              "subLayerIds": null,
              "minScale": 0,
              "maxScale": 0
            },
            {
              "id": 3,
              "name": "High Resolution 30cm Imagery",
              "parentLayerId": -1,
              "defaultVisibility": true,
              "subLayerIds": null,
              "minScale": 0,
              "maxScale": 0
            },
            {
              "id": 4,
              "name": "Citations",
              "parentLayerId": -1,
              "defaultVisibility": true,
              "subLayerIds": null,
              "minScale": 0,
              "maxScale": 0
            }
          ],
          "tables": [
            
          ],
          "spatialReference": {
            "wkid": 102100,
            "latestWkid": 3857
          },
          "singleFusedMapCache": true,
          "tileInfo": {
            "rows": 256,
            "cols": 256,
            "dpi": 96,
            "format": "JPEG",
            "compressionQuality": 75,
            "origin": {
              "x": -2.0037508342787E7,
              "y": 2.0037508342787E7
            },
            "spatialReference": {
              "wkid": 102100,
              "latestWkid": 3857
            },
            "lods": [
              {
                "level": 0,
                "resolution": 156543.03392800014,
                "scale": 5.91657527591555E8
              },
              {
                "level": 1,
                "resolution": 78271.51696399994,
                "scale": 2.95828763795777E8
              },
              {
                "level": 2,
                "resolution": 39135.75848200009,
                "scale": 1.47914381897889E8
              },
              {
                "level": 3,
                "resolution": 19567.87924099992,
                "scale": 7.3957190948944E7
              },
              {
                "level": 4,
                "resolution": 9783.93962049996,
                "scale": 3.6978595474472E7
              },
              {
                "level": 5,
                "resolution": 4891.96981024998,
                "scale": 1.8489297737236E7
              },
              {
                "level": 6,
                "resolution": 2445.98490512499,
                "scale": 9244648.868618
              },
              {
                "level": 7,
                "resolution": 1222.992452562495,
                "scale": 4622324.434309
              },
              {
                "level": 8,
                "resolution": 611.4962262813797,
                "scale": 2311162.217155
              },
              {
                "level": 9,
                "resolution": 305.74811314055756,
                "scale": 1155581.108577
              },
              {
                "level": 10,
                "resolution": 152.87405657041106,
                "scale": 577790.554289
              },
              {
                "level": 11,
                "resolution": 76.43702828507324,
                "scale": 288895.277144
              },
              {
                "level": 12,
                "resolution": 38.21851414253662,
                "scale": 144447.638572
              },
              {
                "level": 13,
                "resolution": 19.10925707126831,
                "scale": 72223.819286
              },
              {
                "level": 14,
                "resolution": 9.554628535634155,
                "scale": 36111.909643
              },
              {
                "level": 15,
                "resolution": 4.77731426794937,
                "scale": 18055.954822
              },
              {
                "level": 16,
                "resolution": 2.388657133974685,
                "scale": 9027.977411
              },
              {
                "level": 17,
                "resolution": 1.1943285668550503,
                "scale": 4513.988705
              },
              {
                "level": 18,
                "resolution": 0.5971642835598172,
                "scale": 2256.994353
              },
              {
                "level": 19,
                "resolution": 0.29858214164761665,
                "scale": 1128.497176
              },
              {
                "level": 20,
                "resolution": 0.14929107082380833,
                "scale": 564.248588
              },
              {
                "level": 21,
                "resolution": 0.07464553541190416,
                "scale": 282.124294
              },
              {
                "level": 22,
                "resolution": 0.03732276770595208,
                "scale": 141.062147
              },
              {
                "level": 23,
                "resolution": 0.01866138385297604,
                "scale": 70.5310735
              }
            ]
          },
          "initialExtent": {
            "xmin": -3.501992521135354E7,
            "ymin": -1.5822588642096568E7,
            "xmax": 3.2585680804877162E7,
            "ymax": 5864316.070147653,
            "spatialReference": {
              "wkid": 102100,
              "latestWkid": 3857
            }
          },
          "fullExtent": {
            "xmin": -2.003750722959434E7,
            "ymin": -1.997186888040859E7,
            "xmax": 2.003750722959434E7,
            "ymax": 1.9971868880408563E7,
            "spatialReference": {
              "wkid": 102100,
              "latestWkid": 3857
            }
          },
          "minScale": 5.91657527591555E8,
          "maxScale": 70.5310735,
          "units": "esriMeters",
          "supportedImageFormatTypes": "PNG32,PNG24,PNG,JPG,DIB,TIFF,EMF,PS,PDF,GIF,SVG,SVGZ,BMP",
          "documentInfo": {
            "Title": "World Imagery",
            "Author": "Esri",
            "Comments": "",
            "Subject": "imagery, satellite, aerial, 500m (World), 15m (World)",
            "Category": "imageryBaseMapsEarthCover (Imagery, basemaps, and land cover)",
            "AntialiasingMode": "None",
            "TextAntialiasingMode": "Force",
            "Keywords": "World,Global,United States"
          },
          "capabilities": "Map,Tilemap,Query,Data",
          "supportedQueryFormats": "JSON, AMF",
          "exportTilesAllowed": false,
          "maxRecordCount": 100,
          "maxImageHeight": 4096,
          "maxImageWidth": 4096,
          "supportedExtensions": "KmlServer"
        }
      },
      {
        "id": "World_Boundaries_and_Places_1145",
        "layerType": "ArcGISTiledMapServiceLayer",
        "url": "http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer",
        "visibility": true,
        "opacity": 1,
        "title": "World Boundaries and Places",
        "isReference": true
      }
     ],
      "operationalLayers": []
  },
  "defaultExtent": { 
   "type": "extent",
   "xmin": -1.392255164E7,
   "ymin": 2819293.2,  
   "xmax": -7435799.67,
   "ymax": 6292591.76,  
   "spatialReference": {"wkid": 102100}
  },
  "defaultUserCreditAssignment": 600,
  "defaultVectorBasemap": {
    "baseMapLayers": [
      {
        "id": "World_Hillshade",
        "layerType": "ArcGISTiledMapServiceLayer",
        "url": "https://services.arcgisonline.com/arcgis/rest/services/Elevation/World_Hillshade/MapServer",
        "visibility": true,
        "opacity": 1,
        "title": "World Hillshade"
      },
      {
        "id": "VectorTile",
        "type": "VectorTileLayer",
        "layerType": "VectorTileLayer",
        "title": "World Topographic Map",
        "styleUrl": "https://www.arcgis.com/sharing/rest/content/items/86d5ed4b6dc741de9dad5f0fbe09ee95/resources/styles/root.json",
        "visibility": true,
        "opacity": 1
      }
    ],
    "title": "Topographic"
  },
  "description": "Welcome to the City of Cloud Creek",
  "featuredGroups": [  
      {
       "owner": "esri",
       "title": "Esri Maps and Data"
      },
      {
       "owner": "esri",
       "title": "Federal_User_Community"
      },
      {
       "owner": "esri",
       "title": "Landsat Community"
      }
     ],
  "featuredItemsGroupQuery": "id:dd262e10ac1b48d3b4eb44a8ea35f078",  
  "helperServices": {
    "asyncClosestFacility": {
      "url": "https://logistics.arcgis.com/arcgis/rest/services/World/ClosestFacility/GPServer/FindClosestFacilities",
      "defaultTravelMode": "FEgifRtFndKNcJMJ"
    },
    "asyncLocationAllocation": {
      "url": "https://logistics.arcgis.com/arcgis/rest/services/World/LocationAllocation/GPServer",
      "defaultTravelMode": "FEgifRtFndKNcJMJ"
    },
    "asyncODCostMatrix": {
      "url": "https://logistics.arcgis.com/arcgis/rest/services/World/OriginDestinationCostMatrix/GPServer",
      "defaultTravelMode": "FEgifRtFndKNcJMJ"
    },
    "asyncRoute": {
      "url": "https://logistics.arcgis.com/arcgis/rest/services/World/Route/GPServer",
      "defaultTravelMode": "FEgifRtFndKNcJMJ"
    },
    "asyncServiceArea": {
      "url": "https://logistics.arcgis.com/arcgis/rest/services/World/ServiceAreas/GPServer/GenerateServiceAreas",
      "defaultTravelMode": "FEgifRtFndKNcJMJ"
    },
    "asyncVRP": {
      "url": "https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblem/GPServer/SolveVehicleRoutingProblem",
      "defaultTravelMode": "FEgifRtFndKNcJMJ"
    },
    "closestFacility": {
      "url": "https://route.arcgis.com/arcgis/rest/services/World/ClosestFacility/NAServer/ClosestFacility_World",
      "defaultTravelMode": "FEgifRtFndKNcJMJ"
    },
    "defaultElevationLayers": [
      {
        "url": "https://elevation3d.arcgis.com/arcgis/rest/services/WorldElevation3D/Terrain3D/ImageServer",
        "id": "globalElevation",
        "layerType": "ArcGISTiledElevationServiceLayer"
      }
    ],
    "elevation": {
      "url": "https://elevation.arcgis.com/arcgis/rest/services/Tools/Elevation/GPServer"
    },
    "elevationSync": {
      "url": "https://elevation.arcgis.com/arcgis/rest/services/Tools/ElevationSync/GPServer"
    },
    "geocode": [
      {
        "url": "https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer",
        "northLat": "Ymax",
        "southLat": "Ymin",
        "eastLon": "Xmax",
        "westLon": "Xmin",
        "name": "Esri World Geocoder",
        "suggest": true,
        "zoomScale": 10000,
        "batch": true
      }
    ],
    "asyncGeocode": {
      "url": "http://webadaptor.domain.com/arcgis/rest/services/System/GeocodingTools/GPServer"
    },
    "geometry": {
      "url": "https://utility.arcgisonline.com/arcgis/rest/services/Geometry/GeometryServer"
    },
    "hydrology": {
      "url": "https://hydro.arcgis.com/arcgis/rest/services/Tools/Hydrology/GPServer"
    },
    "printTask": {
      "url": "https://utility.arcgisonline.com/arcgis/rest/services/Utilities/PrintingTools/GPServer/Export%20Web%20Map%20Task"
    },
    "route": {
      "url": "https://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World",
      "defaultTravelMode": "FEgifRtFndKNcJMJ"
    },
    "routingUtilities": {
      "url": "https://logistics.arcgis.com/arcgis/rest/services/World/Utilities/GPServer"
    },
    "serviceArea": {
      "url": "https://route.arcgis.com/arcgis/rest/services/World/ServiceAreas/NAServer/ServiceArea_World",
      "defaultTravelMode": "FEgifRtFndKNcJMJ"
    },
    "syncVRP": {
      "url": "https://logistics.arcgis.com/arcgis/rest/services/World/VehicleRoutingProblemSync/GPServer/EditVehicleRoutingProblem",
      "defaultTravelMode": "FEgifRtFndKNcJMJ"
    },
    "traffic": {
      "url": "https://traffic.arcgis.com/arcgis/rest/services/World/Traffic/MapServer"
    },
    "analysis": {
      "url": "https://analysis.arcgis.com/arcgis/rest/services/tasks/GPServer"
    },
    "geoenrichment": {
      "url": "https://geoenrich.arcgis.com/arcgis/rest/services/World/GeoenrichmentServer"
    }
    },
  "homePageFeaturedContent": "title:\"Home Featured Content\" AND owner:jsmith",  
  "homePageFeaturedContentCount": 12,
  "id": "98c8310359774117a4f3cb6d36b507b2",
  "isPortal": false,
  "layerTemplatesGroupQuery": "title:\"Esri Layer Templates\" AND owner:esri_en",  
  "livingAtlasGroupQuery": "title:\"Featured Maps And Apps\" AND owner:esri",
  "maxTokenExpirationMinutes": -1,
  "metadataEditable": true,
  "metadataFormats": [
    "fgdc"
  ],
  "modified": 1308083325000,
  "name": "City of Cloud Creek",
  "orgEmail": "jsmith@esri.com",
  "orgPhone": "1234567867",
  "orgUrl": "http://support.maps.arcgis.com/home",
  "portalHostname": "www.arcgis.com", 
  "portalMode": "multitenant",
  "portalName": "ArcGIS Online",
  "portalProperties": {"links": {"contactUs": {
    "url": "http://support.esri.com",
    "visible": true
  }}},
  "portalThumbnail": home.jpg,
  "region": "US",
  "rotatorPanels":     [
    {"id": "banner-2"
     "innerHTML":"<img src='images/banner-2.jpg' style='-webkit-border-radius:0 0 10px 10px; 
-moz-border-radius:0 0 10px 10px; -o-border-radius:0 0 10px 10px; border-radius:0 0 10px 10px; margin-top:0; 
width:960px; height:180px;'/><div style='position:absolute; bottom:80px; left:80px; max-height:65px; width:660px;
 margin:0;'><img src='http://cloudcreek.maps.arcgis.com/sharing/portals/self/resources/thumbnail.jpg?
token=SECURITY_TOKEN' alt='City of Cloud Creek' style='float:left; margin-right:20px; margin-bottom:0; 
max-height:100px;'/><span style='position:absolute; bottom:0; margin-bottom:0; line-height:normal; 
font-family:HelveticaNeue,Verdana; font-weight:600; font-size:32px; color:#369;'>City of Cloud Creek<\/span><\/div>"}    
 ], 
  "showHomePageDescription": true 
  "stylesGroupQuery": "title:\"Esri Styles\" AND owner:esri_en",
  "supportsHostedServices": true,        
  "symbolSetsGroupQuery": "title:\"Esri Symbols\" AND owner:esri_en",   
  "templatesGroupQuery": "title:\"Web Application Templates\" AND owner:esri_webapi",  
  "thumbnail": "thumbnail.jpg",
  "units": "english",
  "updateUserProfileDisabled": false,
  "urlKey": cloudcreek,
  "useStandardizedQuery": true,
  "useVectorBasemaps": true,
  "vectorBasemapGalleryGroupQuery": "title:\"ArcGIS Online Vector Basemaps\" AND owner:esri_en",
  "httpPort": 80,    
  "httpsPort": 443,    
  "ipCntryCode": "US",    
  "supportsOAuth": true,
  "allowedOrigins": [
    "http://www.acme.com"
  ],
  "mfaAdmins": [
    "jsmith",
    "michelle"
  ],
  "contacts": [
    "jsmith",
    "michelle"
  ],
  "mfaEnabled": true,
  "user": {
    "username": "jsmith",
    "fullName": "John Smith",
    "availableCredits": 479.50998,
    "assignedCredits": 500.0,
    "firstName": "John",
    "lastName": "Smith",
    "preferredView": "Web",
    "description": "Senior GIS Analyst for the city of Redlands.",
    "email": "jsmith@esri.com",
    "idpUsername": "null",
    "favGroupId": "829e32cca4dd475a8bb63bb56b16fe3e",
    "lastLogin": 1385766284000,
    "mfaEnabled": false,
    "access": "public",
    "storageUsage": 583650,    
    "storageQuota": 2147483648,    
    "orgId": "98c8310359774117a4f3cb6d36b507b2",
    "role": "org_admin",
    "privileges": [
      "features:user:edit",
      "features:user:fullEdit",
      "marketplace:admin:manage",
      "marketplace:admin:purchase",
      "marketplace:admin:startTrial",
      "opendata:user:designateGroup",
      "opendata:user:openDataAdmin",
      "portal:admin:assignToGroups",
      "portal:admin:changeUserRoles",
      "portal:admin:deleteGroups",
      "portal:admin:deleteItems",
      "portal:admin:deleteUsers",
      "portal:admin:disableUsers",
      "portal:admin:inviteUsers",
      "portal:admin:manageEnterpriseGroups",
      "portal:admin:manageLicenses",
      "portal:admin:manageReplications",
      "portal:admin:reassignGroups",
      "portal:admin:reassignItems",
      "portal:admin:reassignUsers",
      "portal:admin:shareToGroup",
      "portal:admin:shareToOrg",
      "portal:admin:shareToPublic",
      "portal:admin:updateGroups",
      "portal:admin:updateItems",
      "portal:admin:updateUsers",
      "portal:admin:viewGroups",
      "portal:admin:viewItems",
      "portal:admin:viewUsers",
      "portal:publisher:publishFeatures",
      "portal:publisher:publishScenes",
      "portal:publisher:publishTiles",
      "portal:user:createGroup",
      "portal:user:createItem",
      "portal:user:joinGroup",
      "portal:user:joinNonOrgGroup",
      "portal:user:shareGroupToOrg",
      "portal:user:shareGroupToPublic",
      "portal:user:shareToGroup",
      "portal:user:shareToOrg",
      "portal:user:shareToPublic",
      "premium:user:demographics",
      "premium:user:elevation",
      "premium:user:geocode",
      "premium:user:geoenrichment",
      "premium:user:networkanalysis",
      "premium:user:spatialanalysis"
     ],
    "disabled": false,
    "units": "metric",
    "tags": [
      "GIS Analyst",      
      "City of Redlands"    
     ], 
    "culture": "en",
    "region": "US",
    "thumbnail": "myProfile.jpg",  
    "created": 1258501046000,
    "modified": 1290625562000,
    "provider": "arcgis"
   },
  "appInfo":  {
	    "appId": "GR2ksyoodj0Hksb8",
     "itemId": "5165d9cf09ac4ca086c995437b01a950",
     "appOwner": "jsmith",
     "orgId": "5uh3wwYLNzBuU0Eu",
     "appTitle": "Find your Bike Route"
   }
}

7/5/2017