GET api/Ent/Role/View/QueryWithPage?pageindex={pageindex}&pagesize={pagesize}&roleid={roleid}&rolename={rolename}

以分页的方式,查询权限视图的数据。

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageindex

页序号,为空表示首页。

integer

Default value is 1

pagesize

页大小,默认为20。

integer

Default value is 20

roleid

角色ID,左匹配,空或不提供表示不限。

string

Default value is

rolename

角色名称,左匹配,空或不提供表示不限。

string

Default value is

Body Parameters

None.

Response Information

Resource Description

以分页的方式,查询权限视图的数据。

CommonOperationResultWithTagOfSimplePageDataResultOfEnt_RoleViewItem
NameDescriptionTypeAdditional information
errcode

integer

None.

errmsg

string

None.

tag

SimplePageDataResultOfEnt_RoleViewItem

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 1,
  "errmsg": "sample string 2",
  "tag": {
    "totalreccount": 1,
    "pageIndex": 2,
    "pageSize": 3,
    "pageCount": 4,
    "records": [
      {
        "Permits": "sample string 1",
        "RoleId": "sample string 2",
        "RoleName": "sample string 3",
        "Memory": "sample string 4"
      },
      {
        "Permits": "sample string 1",
        "RoleId": "sample string 2",
        "RoleName": "sample string 3",
        "Memory": "sample string 4"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<CommonOperationResultWithTagOfSimplePageDataResultOfEnt_RoleViewItemnMA5lUgerCdCJ3eC xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer">
  <errcode>1</errcode>
  <errmsg>sample string 2</errmsg>
  <tag>
    <pageCount>4</pageCount>
    <pageIndex>2</pageIndex>
    <pageSize>3</pageSize>
    <records xmlns:d3p1="http://schemas.datacontract.org/2004/07/DigitalScience.DataTransfer.CleverFarmer">
      <d3p1:Ent_RoleViewItem>
        <d3p1:Memory>sample string 4</d3p1:Memory>
        <d3p1:RoleId>sample string 2</d3p1:RoleId>
        <d3p1:RoleName>sample string 3</d3p1:RoleName>
        <d3p1:Permits>sample string 1</d3p1:Permits>
      </d3p1:Ent_RoleViewItem>
      <d3p1:Ent_RoleViewItem>
        <d3p1:Memory>sample string 4</d3p1:Memory>
        <d3p1:RoleId>sample string 2</d3p1:RoleId>
        <d3p1:RoleName>sample string 3</d3p1:RoleName>
        <d3p1:Permits>sample string 1</d3p1:Permits>
      </d3p1:Ent_RoleViewItem>
    </records>
    <totalreccount>1</totalreccount>
  </tag>
</CommonOperationResultWithTagOfSimplePageDataResultOfEnt_RoleViewItemnMA5lUgerCdCJ3eC>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.