Skip To Content
ArcGIS Developers
Dashboard

Update (Overview Config)

Description

This operation can be used to modify the updateIntervalMin property for an overview resource type. The updateIntervalMin property determines the frequency at which information, such as health and status information, for each overview resource type is pulled and cached. If the update frequency is specified as 0, no information is collected and cached for that resource type. Instead, when the overview resource is called manually from the Enterprise Admin API, or automatically by the Enterprise Manager, the real-time information for the resource type is returned.

Request parameters

ParameterDetails
resourceConfigJson

(Required)

A JSON object containing the id, type, and updateIntervalMin for an overview resource type, returned by the config resource. The accepted values for updateIntervalMin (0-60) can be modified to update the interval (in minutes) of which the resource type will have it's information pulled and cached. If set to 0, information for the resource type will not be cached and will, instead, have it's real-time information returned when the overview resource is called. The default values for each resource type are listed below:

  • criticalLogs: 0
  • systemServices: 1
  • utilityServices: 1
  • dataStores: 2

Example

resourceConfigJson={
  "id": "db3e39ca-1139-43e2-8cab-241600d81fbd",
  "type": "criticalLogs",
  "updateIntervalMin": 3
}
f

The response format. The default format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for update operation, formatted for readability:

POST /context/admin/overview/update/config HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

resourceConfigJson={
  "id": "db3e39ca-1139-43e2-8cab-241600d81fbd",
  "type": "criticalLogs",
  "updateIntervalMin": 3
}&f=pjson&token=vGSqTwWwUv558RgvF1JzOM6dMJ4IXYR4sD9wwOBjHOppvvQp9Czd6S57c170S_T696AQOmfhK0NEn0wGhIUtHpaYFStDijj4yXmGgBbe6mj1zAm3oi0Up9pVLmH2V1rfAytc764RxOsx_BHwEEWQOBEn4kT0O3xkcpMDeOQaFlcphQ2XnBAot9r1riiWMFRenH-Rf1Mu0RSJuC9D5-LgnOSnkvC04K0Jy49ui-YSlqTL0i97Dw2SLtGtNoXUvVXQ

JSON Response example

{"status": "success"}