POST api/Menu/SaveMenu
Request Information
URI Parameters
None.
Body Parameters
EntSysMenuName | Description | Type | Additional information |
---|---|---|---|
MenuCode | string |
None. |
|
MenuNameCn | string |
None. |
|
MenuNameEn | string |
None. |
|
SubSystemId | string |
None. |
|
Status | string |
None. |
|
ParentMenuCode | string |
None. |
|
FullPath | string |
None. |
|
CreateBy | string |
None. |
|
MenuLevel | integer |
None. |
|
Descr | string |
None. |
|
ShowSeqence | integer |
None. |
|
CreateTime | date |
None. |
|
LinkTo | string |
None. |
|
IsMenu | string |
None. |
|
LogoPicture | string |
None. |
|
ParentRouteName | string |
None. |
|
PageSize | integer |
None. |
|
PageIndex | integer |
None. |
|
TotalCount | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "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 16:38:19", "linkTo": "sample string 12", "isMenu": "sample string 13", "logoPicture": "sample string 14", "parentRouteName": "sample string 15", "pageSize": 16, "pageIndex": 17, "totalCount": 18 }
application/xml, text/xml
Sample:
<EntSysMenu xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <PageIndex>17</PageIndex> <PageSize>16</PageSize> <TotalCount>18</TotalCount> <CreateBy>sample string 8</CreateBy> <CreateTime>2024-11-21T16:38:19.1476121+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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResultOfInt32Name | Description | Type | Additional information |
---|---|---|---|
Status | integer |
None. |
|
Success | boolean |
None. |
|
Data | integer |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": 1, "success": true, "data": 3, "message": "sample string 4" }
application/xml, text/xml
Sample:
<ReturnResultOfint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Epass.Model"> <Data>3</Data> <Message>sample string 4</Message> <Status>1</Status> <Success>true</Success> </ReturnResultOfint>