GET api/SysMenu/GetModelById/{id}

获取单条菜单信息

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

获取单条菜单信息

SysMenuDTO
NameDescriptionTypeAdditional information
Id

ID

integer

None.

ParentMenuID

菜单父ID

integer

None.

SitesID

站点编号

integer

None.

MenuLevel

菜单级别

integer

None.

MenuCode

菜单代码

string

String length: inclusive between 0 and 200

MenuName

菜单名称

string

String length: inclusive between 0 and 500

MenuUrl

菜单地址

string

String length: inclusive between 0 and 500

OpenType

打开方式

integer

None.

IconClass

菜单样式

string

String length: inclusive between 0 and 100

MenuOrder

菜单排序

integer

None.

Descriptions

菜单描述

string

String length: inclusive between 0 and 200

IsObsoleted

是否逻辑删除

boolean

None.

CreateBy

创建人ID

integer

None.

CreateOn

创建时间

date

None.

SysCode

系统编号

string

String length: inclusive between 0 and 20

MenuAlias

菜单别名

string

String length: inclusive between 0 and 200

Brower

菜单浏览器

string

String length: inclusive between 0 and 50

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "ParentMenuID": 1,
  "SitesID": 1,
  "MenuLevel": 1,
  "MenuCode": "sample string 2",
  "MenuName": "sample string 3",
  "MenuUrl": "sample string 4",
  "OpenType": 1,
  "IconClass": "sample string 5",
  "MenuOrder": 6,
  "Descriptions": "sample string 7",
  "IsObsoleted": true,
  "CreateBy": 1,
  "CreateOn": "2018-12-12T01:52:04.9971711+08:00",
  "SysCode": "sample string 9",
  "MenuAlias": "sample string 10",
  "Brower": "sample string 11"
}

application/xml, text/xml

Sample:
<SysMenuDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Brower>sample string 11</Brower>
  <CreateBy>1</CreateBy>
  <CreateOn>2018-12-12T01:52:04.9971711+08:00</CreateOn>
  <Descriptions>sample string 7</Descriptions>
  <IconClass>sample string 5</IconClass>
  <Id>1</Id>
  <IsObsoleted>true</IsObsoleted>
  <MenuAlias>sample string 10</MenuAlias>
  <MenuCode>sample string 2</MenuCode>
  <MenuLevel>1</MenuLevel>
  <MenuName>sample string 3</MenuName>
  <MenuOrder>6</MenuOrder>
  <MenuUrl>sample string 4</MenuUrl>
  <OpenType>1</OpenType>
  <ParentMenuID>1</ParentMenuID>
  <SitesID>1</SitesID>
  <SysCode>sample string 9</SysCode>
</SysMenuDTO>