Dela via


Data - Retrieves dashboard Actions

Hämtar instrumentpanelens åtgärder efter instrumentpanels-ID och typ.

GET http://<Servername>/OperationsManager/data/DashboardActions/{dashboardId}/{dashboardType}

URI-parametrar

Name I Obligatorisk Typ Description
dashboardId
path True

string

Ange instrumentpanelens ID

dashboardType
path True

string

Ange instrumentpanelens typ

Svar

Name Typ Description
200 OK

DashboardActionsResponse

OK. Instrumentpanelsåtgärder har hämtats.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Exempel

GetDashboardActionsData

Sample Request

GET http://<Servername>/OperationsManager/data/DashboardActions/8d88f26e-2ad4-c7cb-1b51-0368e7aa4caf/alert

Sample Response

{
  "dashboardActions": [
    {
      "id": "addWidget",
      "displayName": "Add widget",
      "enabled": false
    },
    {
      "id": "saveChanges",
      "displayName": "Save changes",
      "enabled": false
    },
    {
      "id": "editDashboard",
      "displayName": "Edit dashboard",
      "enabled": false
    },
    {
      "id": "deleteDashboard",
      "displayName": "Delete dashboard",
      "enabled": false
    },
    {
      "id": "newDashboard",
      "displayName": "New dashboard",
      "enabled": false
    }
  ],
  "widgetActions": [
    {
      "id": "editTopologyIconsLayout",
      "displayName": "Edit state indicator layout",
      "enabled": false
    },
    {
      "id": "editWidget",
      "displayName": "Edit",
      "enabled": false
    },
    {
      "id": "deleteWidget",
      "displayName": "Delete widget",
      "enabled": false
    },
    {
      "id": "editProductKnowledge",
      "displayName": "Edit product knowledge",
      "enabled": true
    },
    {
      "id": "editCompanyKnowledge",
      "displayName": "Edit company knowledge",
      "enabled": true
    },
    {
      "id": "editRuleConfiguration",
      "displayName": "Edit rule configuration",
      "enabled": true
    },
    {
      "id": "resetMonitorByAlertId",
      "displayName": "Reset Health for Alert",
      "enabled": true
    },
    {
      "id": "setResolutionState",
      "displayName": "Set resolution state",
      "enabled": true
    },
    {
      "id": "editAlertDetails",
      "displayName": "Edit alert details",
      "enabled": true
    },
    {
      "id": "editMonitorConfiguration",
      "displayName": "Edit monitor configuration",
      "enabled": true
    },
    {
      "id": "healthExplorer",
      "displayName": "Health Explorer",
      "enabled": true
    },
    {
      "id": "refreshWidget",
      "displayName": "Refresh widget data",
      "enabled": true
    },
    {
      "id": "minMax",
      "displayName": "Set vertical axis",
      "enabled": true
    },
    {
      "id": "setAlertAgeFilter",
      "displayName": "Filter by alert age",
      "enabled": true
    },
    {
      "id": "exportCSV",
      "displayName": "Export to Excel",
      "enabled": true
    }
  ]
}

Definitioner

Name Description
DashboardActionsResponse
RBACActions

DashboardActionsResponse

Name Typ Description
dashboardActions

RBACActions[]

widgetActions

RBACActions[]

RBACActions

Name Typ Description
displayName

string

enabled

boolean

id

string