Get Menus for Diagram Menu

get

/api/diagram/Menus/readForMenu

Returns the constructed list of menus and associated menu tools of a diagram menu.

Request

Query Parameters
  • The node of the tree to get. It can be either root or DiagramMenuID.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : SuccessfulGetOperation
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : data
Type: array
The list of menus.
Show Source
Nested Schema : diagramMenusReadForMenu
Type: object
Show Source
Nested Schema : menu
Type: array
List of menu items
Show Source
Example:
[
    {
        "ToolID":"1",
        "text":"Manage Device",
        "ToolName":"Manage Device",
        "ToolTypeName":"View",
        "icon":"/resources/assure1/images/icons/silk/brick_go.png",
        "ToolPath":"device/devices?filter=[{\"property\":\"DeviceName\",\"value\":\"<DeviceName>\",\"type\":\"string\",\"operator\":\"like\"}]",
        "ToolPathTypeName":"Internal",
        "ToolTarget":"window",
        "Width":"500",
        "Height":"700"
    },
    {
        "ToolID":"2",
        "text":"Device Health",
        "ToolName":"Device Health",
        "ToolTypeName":"View",
        "icon":"/resources/assure1/images/icons/fugue/heart--exclamation.png",
        "ToolPath":"dashboard/Device%20Overview?DeviceName=<DeviceName>&FilterType=DeviceName&FilterValue=<DeviceName>&DeviceZoneName=<DeviceZoneName>",
        "ToolPathTypeName":"Internal",
        "ToolTarget":"window",
        "Width":"80",
        "Height":"80"
    },
    {
        "ToolID":"3",
        "text":"Network Details",
        "ToolName":"Network Details",
        "ToolTypeName":"View",
        "icon":"/resources/assure1/images/icons/fugue/network-clouds.png",
        "ToolPath":"dashboard/Network%20Details?DeviceName=<DeviceName>&StartVertexName=<DeviceName>&GraphType=VertexList&GroupByVertexTypeName=No%20Grouping&VertexTuckAwayTypeName=Interface",
        "ToolPathTypeName":"Internal",
        "ToolTarget":"window",
        "Width":"80",
        "Height":"80"
    }
]
Nested Schema : UserGroupID
Type: object
ID of User Group
Show Source
Nested Schema : items
Type: object
Show Source

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top