Megosztás a következőn keresztül:


Data - Retrieve Items In Favorite Folders Tree View

Lekéri a kedvenc nézetek mappában elérhető nézetek/irányítópultok listáját.

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

Válaszok

Name Típus Description
200 OK

TreeViewResponse

OKÉ. Sikeresen lekérte a Kedvencek nézet mappában elérhető nézetek/irányítópultok listáját.

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

Példák

Data_GetFavoriteFoldersTree_MaximumSet_Gen

Mintakérelem

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

Mintaválasz

{
  "data": [
    {
      "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
    }
  ]
}

Definíciók

Name Description
TreeNode
TreeViewResponse

TreeNode

Name Típus Description
children

TreeNode[]

collapsedIcon

string

Összecsukott ikon

description

string

Leírás

expanded

boolean

Bővített

expandedIcon

string

Kibontott ikon

icon

string

Ikon

id

string

AZONOSÍTÓ

isSealed

boolean

lezárt

isShortcut

boolean

parancsikon

label

string

Címke

mpId

string

felügyeleti csomag azonosítója

parent

string

Szülő

type

string

Azonosító típus

url

string

URL-cím

viewType

string

Nézet típusa

TreeViewResponse

Name Típus Description
data

TreeNode[]

Facsomópont adatai