GET api/SysMenu/PageList

获取菜单信息列表

Request Information

URI Parameters

None.

Body Parameters

SysMenuWhereDOM
NameDescriptionTypeAdditional information
PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

Sample:
<SysMenuWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
</SysMenuWhereDOM>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'SysMenuWhereDOM'.

Response Information

Resource Description

获取菜单信息列表

IViewPageListOfSysMenuDTO
NameDescriptionTypeAdditional information
data

Collection of SysMenuDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "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-12T02:34:22.2940112+08:00",
      "SysCode": "sample string 9",
      "MenuAlias": "sample string 10",
      "Brower": "sample string 11"
    },
    {
      "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-12T02:34:22.2940112+08:00",
      "SysCode": "sample string 9",
      "MenuAlias": "sample string 10",
      "Brower": "sample string 11"
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfSysMenuDTOpv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonTool">
  <code>4</code>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:SysMenuDTO>
      <d2p1:Brower>sample string 11</d2p1:Brower>
      <d2p1:CreateBy>1</d2p1:CreateBy>
      <d2p1:CreateOn>2018-12-12T02:34:22.2940112+08:00</d2p1:CreateOn>
      <d2p1:Descriptions>sample string 7</d2p1:Descriptions>
      <d2p1:IconClass>sample string 5</d2p1:IconClass>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:MenuAlias>sample string 10</d2p1:MenuAlias>
      <d2p1:MenuCode>sample string 2</d2p1:MenuCode>
      <d2p1:MenuLevel>1</d2p1:MenuLevel>
      <d2p1:MenuName>sample string 3</d2p1:MenuName>
      <d2p1:MenuOrder>6</d2p1:MenuOrder>
      <d2p1:MenuUrl>sample string 4</d2p1:MenuUrl>
      <d2p1:OpenType>1</d2p1:OpenType>
      <d2p1:ParentMenuID>1</d2p1:ParentMenuID>
      <d2p1:SitesID>1</d2p1:SitesID>
      <d2p1:SysCode>sample string 9</d2p1:SysCode>
    </d2p1:SysMenuDTO>
    <d2p1:SysMenuDTO>
      <d2p1:Brower>sample string 11</d2p1:Brower>
      <d2p1:CreateBy>1</d2p1:CreateBy>
      <d2p1:CreateOn>2018-12-12T02:34:22.2940112+08:00</d2p1:CreateOn>
      <d2p1:Descriptions>sample string 7</d2p1:Descriptions>
      <d2p1:IconClass>sample string 5</d2p1:IconClass>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:MenuAlias>sample string 10</d2p1:MenuAlias>
      <d2p1:MenuCode>sample string 2</d2p1:MenuCode>
      <d2p1:MenuLevel>1</d2p1:MenuLevel>
      <d2p1:MenuName>sample string 3</d2p1:MenuName>
      <d2p1:MenuOrder>6</d2p1:MenuOrder>
      <d2p1:MenuUrl>sample string 4</d2p1:MenuUrl>
      <d2p1:OpenType>1</d2p1:OpenType>
      <d2p1:ParentMenuID>1</d2p1:ParentMenuID>
      <d2p1:SitesID>1</d2p1:SitesID>
      <d2p1:SysCode>sample string 9</d2p1:SysCode>
    </d2p1:SysMenuDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfSysMenuDTOpv1JTFkd>