POST api/Role/SaveRoleMenus

Request Information

URI Parameters

None.

Body Parameters

EntSysRoleInMenu
NameDescriptionTypeAdditional information
SubSystemId

string

None.

MenuList

Collection of EntSysMenu

None.

OperationList

Collection of EntSysOperation

None.

Id

integer

None.

RoleId

string

None.

MenuCode

string

None.

Descr

string

None.

CreateBy

string

None.

CreateTime

date

None.

PageSize

integer

None.

PageIndex

integer

None.

TotalCount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "subSystemId": "sample string 1",
  "menuList": [
    {
      "menuCode": "sample string 1",
      "menuNameCn": "sample string 2",
      "menuNameEn": "sample string 3",
      "subSystemId": "sample string 4",
      "status": "sample string 5",
      "parentMenuCode": "sample string 6",
      "fullPath": "sample string 7",
      "createBy": "sample string 8",
      "menuLevel": 9,
      "descr": "sample string 10",
      "showSeqence": 11,
      "createTime": "2024-11-21 17:01:44",
      "linkTo": "sample string 12",
      "isMenu": "sample string 13",
      "logoPicture": "sample string 14",
      "parentRouteName": "sample string 15",
      "pageSize": 16,
      "pageIndex": 17,
      "totalCount": 18
    },
    {
      "menuCode": "sample string 1",
      "menuNameCn": "sample string 2",
      "menuNameEn": "sample string 3",
      "subSystemId": "sample string 4",
      "status": "sample string 5",
      "parentMenuCode": "sample string 6",
      "fullPath": "sample string 7",
      "createBy": "sample string 8",
      "menuLevel": 9,
      "descr": "sample string 10",
      "showSeqence": 11,
      "createTime": "2024-11-21 17:01:44",
      "linkTo": "sample string 12",
      "isMenu": "sample string 13",
      "logoPicture": "sample string 14",
      "parentRouteName": "sample string 15",
      "pageSize": 16,
      "pageIndex": 17,
      "totalCount": 18
    }
  ],
  "operationList": [
    {
      "id": 1,
      "menuCode": "sample string 2",
      "operId": "sample string 3",
      "operNameCn": "sample string 4",
      "showSeqence": 5,
      "status": "sample string 6",
      "descr": "sample string 7",
      "createTime": "2024-11-21 17:01:44",
      "editTime": "2024-11-21 17:01:44",
      "createBy": "sample string 8",
      "editBy": "sample string 9",
      "pageSize": 10,
      "pageIndex": 11,
      "totalCount": 12
    },
    {
      "id": 1,
      "menuCode": "sample string 2",
      "operId": "sample string 3",
      "operNameCn": "sample string 4",
      "showSeqence": 5,
      "status": "sample string 6",
      "descr": "sample string 7",
      "createTime": "2024-11-21 17:01:44",
      "editTime": "2024-11-21 17:01:44",
      "createBy": "sample string 8",
      "editBy": "sample string 9",
      "pageSize": 10,
      "pageIndex": 11,
      "totalCount": 12
    }
  ],
  "id": 2,
  "roleId": "sample string 3",
  "menuCode": "sample string 4",
  "descr": "sample string 5",
  "createBy": "sample string 6",
  "createTime": "2024-11-21 17:01:44",
  "pageSize": 7,
  "pageIndex": 8,
  "totalCount": 9
}

application/xml, text/xml

Sample:
<EntSysRoleInMenu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model">
  <PageIndex>8</PageIndex>
  <PageSize>7</PageSize>
  <TotalCount>9</TotalCount>
  <CreateBy>sample string 6</CreateBy>
  <CreateTime>2024-11-21T17:01:44.2903186+08:00</CreateTime>
  <Descr>sample string 5</Descr>
  <Id>2</Id>
  <MenuCode>sample string 4</MenuCode>
  <MenuList>
    <EntSysMenu>
      <PageIndex>17</PageIndex>
      <PageSize>16</PageSize>
      <TotalCount>18</TotalCount>
      <CreateBy>sample string 8</CreateBy>
      <CreateTime>2024-11-21T17:01:44.2903186+08:00</CreateTime>
      <Descr>sample string 10</Descr>
      <FullPath>sample string 7</FullPath>
      <IsMenu>sample string 13</IsMenu>
      <LinkTo>sample string 12</LinkTo>
      <LogoPicture>sample string 14</LogoPicture>
      <MenuCode>sample string 1</MenuCode>
      <MenuLevel>9</MenuLevel>
      <MenuNameCn>sample string 2</MenuNameCn>
      <MenuNameEn>sample string 3</MenuNameEn>
      <ParentMenuCode>sample string 6</ParentMenuCode>
      <ParentRouteName>sample string 15</ParentRouteName>
      <ShowSeqence>11</ShowSeqence>
      <Status>sample string 5</Status>
      <SubSystemId>sample string 4</SubSystemId>
    </EntSysMenu>
    <EntSysMenu>
      <PageIndex>17</PageIndex>
      <PageSize>16</PageSize>
      <TotalCount>18</TotalCount>
      <CreateBy>sample string 8</CreateBy>
      <CreateTime>2024-11-21T17:01:44.2903186+08:00</CreateTime>
      <Descr>sample string 10</Descr>
      <FullPath>sample string 7</FullPath>
      <IsMenu>sample string 13</IsMenu>
      <LinkTo>sample string 12</LinkTo>
      <LogoPicture>sample string 14</LogoPicture>
      <MenuCode>sample string 1</MenuCode>
      <MenuLevel>9</MenuLevel>
      <MenuNameCn>sample string 2</MenuNameCn>
      <MenuNameEn>sample string 3</MenuNameEn>
      <ParentMenuCode>sample string 6</ParentMenuCode>
      <ParentRouteName>sample string 15</ParentRouteName>
      <ShowSeqence>11</ShowSeqence>
      <Status>sample string 5</Status>
      <SubSystemId>sample string 4</SubSystemId>
    </EntSysMenu>
  </MenuList>
  <OperationList>
    <EntSysOperation>
      <PageIndex>11</PageIndex>
      <PageSize>10</PageSize>
      <TotalCount>12</TotalCount>
      <CreateBy>sample string 8</CreateBy>
      <CreateTime>2024-11-21T17:01:44.2903186+08:00</CreateTime>
      <Descr>sample string 7</Descr>
      <EditBy>sample string 9</EditBy>
      <EditTime>2024-11-21T17:01:44.2903186+08:00</EditTime>
      <Id>1</Id>
      <MenuCode>sample string 2</MenuCode>
      <OperId>sample string 3</OperId>
      <OperNameCn>sample string 4</OperNameCn>
      <ShowSeqence>5</ShowSeqence>
      <Status>sample string 6</Status>
    </EntSysOperation>
    <EntSysOperation>
      <PageIndex>11</PageIndex>
      <PageSize>10</PageSize>
      <TotalCount>12</TotalCount>
      <CreateBy>sample string 8</CreateBy>
      <CreateTime>2024-11-21T17:01:44.2903186+08:00</CreateTime>
      <Descr>sample string 7</Descr>
      <EditBy>sample string 9</EditBy>
      <EditTime>2024-11-21T17:01:44.2903186+08:00</EditTime>
      <Id>1</Id>
      <MenuCode>sample string 2</MenuCode>
      <OperId>sample string 3</OperId>
      <OperNameCn>sample string 4</OperNameCn>
      <ShowSeqence>5</ShowSeqence>
      <Status>sample string 6</Status>
    </EntSysOperation>
  </OperationList>
  <RoleId>sample string 3</RoleId>
  <SubSystemId>sample string 1</SubSystemId>
</EntSysRoleInMenu>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.