Delen via


Data - Retrieve Items In My Workspace Tree View

Hiermee haalt u de lijst met weergaven/dashboards/mappen op die beschikbaar zijn in de structuurweergave van mijn werkruimte.

GET http://<Servername>/OperationsManager/data/myWorkspaceTree

Antwoorden

Name Type Description
200 OK

TreeViewResponse

OK. De lijst met weergaven/dashboards/mappen die beschikbaar zijn in de structuurweergave Mijn werkruimte is opgehaald.

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

Voorbeelden

GetMyWorkspaceTree

Sample Request

GET http://<Servername>/OperationsManager/data/myWorkspaceTree

Sample Response

{
  "data": [
    {
      "children": [
        {
          "children": [],
          "id": "00000000-0000-0000-0000-000000000000",
          "mpId": null,
          "label": "Favorite Reports",
          "description": "Favorite Reports",
          "viewType": "ReportListView",
          "expandedIcon": "/OperationsManager/images/NavigationPane/Report.png",
          "collapsedIcon": "/OperationsManager/images/NavigationPane/Report.png",
          "icon": "/OperationsManager/images/NavigationPane/Report.png",
          "expanded": false,
          "isSealed": false,
          "parent": "MyWorkspaceRoot",
          "url": "/MonitoringView/default.aspx?ViewType=ReportListView&ViewID=00000000-0000-0000-0000-000000000000",
          "type": "child",
          "isShortcut": true
        },
        {
          "children": [],
          "id": "Folder_429fe15d0a7a4244bc3a96da83a8e11b",
          "mpId": null,
          "label": "Favorite Views",
          "description": "Favorite Views",
          "viewType": "FavoritesRoot",
          "expandedIcon": "/OperationsManager/images/NavigationPane/FavoriteView.png",
          "collapsedIcon": "/OperationsManager/images/NavigationPane/FavoriteView.png",
          "icon": "/OperationsManager/images/NavigationPane/FavoriteView.png",
          "expanded": true,
          "isSealed": false,
          "parent": "MyWorkspaceRoot",
          "url": "/MonitoringView/default.aspx?ViewType=Overview&ViewID=Favorites_Overview",
          "type": "parent",
          "isShortcut": false
        },
        {
          "children": [],
          "id": "SavedSearchesRoot",
          "mpId": null,
          "label": "Saved Searches",
          "description": "Saved Searches",
          "viewType": "SavedSearchesRoot",
          "expandedIcon": "/OperationsManager/images/NavigationPane/Search.png",
          "collapsedIcon": "/OperationsManager/images/NavigationPane/Search.png",
          "icon": "/OperationsManager/images/NavigationPane/Search.png",
          "expanded": false,
          "isSealed": false,
          "parent": "MyWorkspaceRoot",
          "url": "/MonitoringView/default.aspx?ViewType=Overview&ViewID=Favorites_Overview",
          "type": "child",
          "isShortcut": false
        }
      ],
      "id": "MyWorkspaceRoot",
      "mpId": null,
      "label": "My Workspace",
      "description": "My Workspace",
      "viewType": "MyWorkspaceRoot",
      "expandedIcon": "/OperationsManager/images/NavigationPane/MyWorkspacePane.png",
      "collapsedIcon": "/OperationsManager/images/NavigationPane/MyWorkspacePane.png",
      "icon": "/OperationsManager/images/NavigationPane/MyWorkspacePane.png",
      "expanded": true,
      "isSealed": false,
      "parent": "MyWorkspaceRoot",
      "url": "/MonitoringView/default.aspx?ViewType=MonitoringNavigation&ViewID=Favorites_Overview",
      "type": "parent",
      "isShortcut": false
    }
  ]
}

Definities

Name Description
TreeNode
TreeViewResponse

TreeNode

Name Type Description
children

TreeNode[]

collapsedIcon

string

Samengevouwen pictogram

description

string

Description

expanded

boolean

Uitgevouwen

expandedIcon

string

Uitgevouwen pictogram

icon

string

Pictogram

id

string

Id

isSealed

boolean

is verzegeld

isShortcut

boolean

is snelkoppeling

label

string

Label

mpId

string

management pack-id

parent

string

Bovenliggend

type

string

IdType

url

string

URL

viewType

string

Weergavetype

TreeViewResponse

Name Type Description
data

TreeNode[]

Structuurknooppuntgegevens