Get a Diagram Menu by ID
get
/api/diagram/Menus/{id}
Gets the diagram menu that matches the specified ID.
Request
Path Parameters
-
id(required): integer
The diagram menu ID specified for individual CRUD operations.Example:
2
Query Parameters
-
readChildren: boolean
Allowed values - true -> Returns only children menu group information (for tree display). - false -> Returns children menus and menu tools details associated with the diagram menu (for form display).Example:
false
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Match All
Show Source
-
object
SuccessfulGetOperation
The response body for a successful get operation.
-
object
type
Nested Schema : SuccessfulGetOperation
Type:
object
The response body for a successful get operation.
Show Source
-
message: string
The response message.Example:
Loaded 1 entries
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : diagramMenusReadByID
Type:
Show Source
object
-
MenuName: string
The menu name.Example:
Device Info
-
ParentMenuID: integer
The parent menu ID.Example:
1
-
Tools: object
Tools
The list of tool IDs.
-
UserGroupID: object
UserGroupID
The user group ID.
Nested Schema : Tools
Type:
object
The list of tool IDs.
Show Source
-
ToolID: integer
The tool ID.Example:
2
-
ToolName: string
The tool name.Example:
Device Health
Example:
[
{
"ToolID":"2",
"ToolName":"Device Health"
},
{
"ToolID":"1",
"ToolName":"Manage Device"
},
{
"ToolID":"3",
"ToolName":"Network Details"
}
]
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object
-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
-
Array of:
object items
An error.
Nested Schema : items
Type:
object
An error.