Delen via


Data - Retrieves dashboard Actions

Hiermee haalt u de dashboardacties op op dashboard-id en -type.

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

URI-parameters

Name In Vereist Type Description
dashboardId
path True

string

Geef de dashboard-id op

dashboardType
path True

string

Het dashboardtype opgeven

Antwoorden

Name Type Description
200 OK

DashboardActionsResponse

OK. Dashboardacties zijn opgehaald.

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

Voorbeelden

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
    }
  ]
}

Definities

Name Description
DashboardActionsResponse
RBACActions

DashboardActionsResponse

Name Type Description
dashboardActions

RBACActions[]

widgetActions

RBACActions[]

RBACActions

Name Type Description
displayName

string

enabled

boolean

id

string