GET api/v1/Role/GetTopLayoutMenus
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of MenuName | Description | Type | Additional information |
---|---|---|---|
MenuID | integer |
None. |
|
Title | string |
None. |
|
IsRender | boolean |
None. |
|
PageID | integer |
None. |
|
Roles | string |
None. |
|
Parameters | string |
None. |
|
ClassName | string |
None. |
|
ParentID | integer |
None. |
|
SortOrder | integer |
None. |
|
IsAjax | boolean |
None. |
|
TenantID | integer |
None. |
|
Controller | string |
None. |
|
Action | string |
None. |
|
SectionID | integer |
None. |
|
IsSelected | integer |
None. |
|
lstRolemenu | Collection of Role |
None. |
|
Permissiontitle | string |
None. |
|
PermissionID | integer |
None. |
|
Layout | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "MenuID": 1, "Title": "sample string 2", "IsRender": true, "PageID": 4, "Roles": "sample string 5", "Parameters": "sample string 6", "ClassName": "sample string 7", "ParentID": 8, "SortOrder": 9, "IsAjax": true, "TenantID": 11, "Controller": "sample string 12", "Action": "sample string 13", "SectionID": 14, "IsSelected": 15, "lstRolemenu": [ { "RoleName": "sample string 1", "RoleID": 2, "IsUserInRole": true, "IsSelected": true, "IsMenuselected": 5, "IsDefault": 6 }, { "RoleName": "sample string 1", "RoleID": 2, "IsUserInRole": true, "IsSelected": true, "IsMenuselected": 5, "IsDefault": 6 } ], "Permissiontitle": "sample string 16", "PermissionID": 17, "Layout": 18 }, { "MenuID": 1, "Title": "sample string 2", "IsRender": true, "PageID": 4, "Roles": "sample string 5", "Parameters": "sample string 6", "ClassName": "sample string 7", "ParentID": 8, "SortOrder": 9, "IsAjax": true, "TenantID": 11, "Controller": "sample string 12", "Action": "sample string 13", "SectionID": 14, "IsSelected": 15, "lstRolemenu": [ { "RoleName": "sample string 1", "RoleID": 2, "IsUserInRole": true, "IsSelected": true, "IsMenuselected": 5, "IsDefault": 6 }, { "RoleName": "sample string 1", "RoleID": 2, "IsUserInRole": true, "IsSelected": true, "IsMenuselected": 5, "IsDefault": 6 } ], "Permissiontitle": "sample string 16", "PermissionID": 17, "Layout": 18 } ]
text/html
Sample:
[{"MenuID":1,"Title":"sample string 2","IsRender":true,"PageID":4,"Roles":"sample string 5","Parameters":"sample string 6","ClassName":"sample string 7","ParentID":8,"SortOrder":9,"IsAjax":true,"TenantID":11,"Controller":"sample string 12","Action":"sample string 13","SectionID":14,"IsSelected":15,"lstRolemenu":[{"RoleName":"sample string 1","RoleID":2,"IsUserInRole":true,"IsSelected":true,"IsMenuselected":5,"IsDefault":6},{"RoleName":"sample string 1","RoleID":2,"IsUserInRole":true,"IsSelected":true,"IsMenuselected":5,"IsDefault":6}],"Permissiontitle":"sample string 16","PermissionID":17,"Layout":18},{"MenuID":1,"Title":"sample string 2","IsRender":true,"PageID":4,"Roles":"sample string 5","Parameters":"sample string 6","ClassName":"sample string 7","ParentID":8,"SortOrder":9,"IsAjax":true,"TenantID":11,"Controller":"sample string 12","Action":"sample string 13","SectionID":14,"IsSelected":15,"lstRolemenu":[{"RoleName":"sample string 1","RoleID":2,"IsUserInRole":true,"IsSelected":true,"IsMenuselected":5,"IsDefault":6},{"RoleName":"sample string 1","RoleID":2,"IsUserInRole":true,"IsSelected":true,"IsMenuselected":5,"IsDefault":6}],"Permissiontitle":"sample string 16","PermissionID":17,"Layout":18}]
text/xml
Sample:
<ArrayOfMenu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShotClassCore.Models"> <Menu> <Action>sample string 13</Action> <ClassName>sample string 7</ClassName> <Controller>sample string 12</Controller> <IsAjax>true</IsAjax> <IsRender>true</IsRender> <IsSelected>15</IsSelected> <Layout>18</Layout> <MenuID>1</MenuID> <PageID>4</PageID> <Parameters>sample string 6</Parameters> <ParentID>8</ParentID> <PermissionID>17</PermissionID> <Permissiontitle>sample string 16</Permissiontitle> <Roles>sample string 5</Roles> <SectionID>14</SectionID> <SortOrder>9</SortOrder> <TenantID>11</TenantID> <Title>sample string 2</Title> <lstRolemenu> <Role> <IsDefault>6</IsDefault> <IsMenuselected>5</IsMenuselected> <IsSelected>true</IsSelected> <IsUserInRole>true</IsUserInRole> <RoleID>2</RoleID> <RoleName>sample string 1</RoleName> </Role> <Role> <IsDefault>6</IsDefault> <IsMenuselected>5</IsMenuselected> <IsSelected>true</IsSelected> <IsUserInRole>true</IsUserInRole> <RoleID>2</RoleID> <RoleName>sample string 1</RoleName> </Role> </lstRolemenu> </Menu> <Menu> <Action>sample string 13</Action> <ClassName>sample string 7</ClassName> <Controller>sample string 12</Controller> <IsAjax>true</IsAjax> <IsRender>true</IsRender> <IsSelected>15</IsSelected> <Layout>18</Layout> <MenuID>1</MenuID> <PageID>4</PageID> <Parameters>sample string 6</Parameters> <ParentID>8</ParentID> <PermissionID>17</PermissionID> <Permissiontitle>sample string 16</Permissiontitle> <Roles>sample string 5</Roles> <SectionID>14</SectionID> <SortOrder>9</SortOrder> <TenantID>11</TenantID> <Title>sample string 2</Title> <lstRolemenu> <Role> <IsDefault>6</IsDefault> <IsMenuselected>5</IsMenuselected> <IsSelected>true</IsSelected> <IsUserInRole>true</IsUserInRole> <RoleID>2</RoleID> <RoleName>sample string 1</RoleName> </Role> <Role> <IsDefault>6</IsDefault> <IsMenuselected>5</IsMenuselected> <IsSelected>true</IsSelected> <IsUserInRole>true</IsUserInRole> <RoleID>2</RoleID> <RoleName>sample string 1</RoleName> </Role> </lstRolemenu> </Menu> </ArrayOfMenu>