Move a Diagram Menu to a Different Parent
put
/api/diagram/Menus/updateMove
Moves the specified diagram menu from one parent to a different parent.
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object
-
id: integer
The ID of the menu to move.Example:
4
-
ParentMenuID: integer
The ID of the new parent menu.Example:
1
Response
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : SuccessfulUpdateOperation
Type:
Show Source
object
-
message: string
The response message.Example:
Updated record
-
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : type
Type:
Show Source
object
-
data: array
data
The properties of the new parent.
-
total: integer
The total number of results regardless of paging.Example:
1
Nested Schema : diagramMenusReadByID
Type:
Show Source
object
-
MenuName: string
Name of the menuExample:
Device Info
-
ParentMenuID: integer
Menu ID of ParentExample:
1
-
Tools: object
Tools
List of tool IDs
-
UserGroupID: object
UserGroupID
ID of User Group
Nested Schema : Tools
Type:
object
List of tool IDs
Show Source
-
ToolID: integer
Tool IDExample:
2
-
ToolName: string
Tool NameExample:
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
Nested Schema : items
Type:
object