GET api/Rule/PageList?PageNum={PageNum}&NumPerPage={NumPerPage}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageNum

integer

None.

NumPerPage

integer

None.

Body Parameters

None.

Response Information

Resource Description

IViewPageListOfRuleDTO
NameDescriptionTypeAdditional information
data

Collection of RuleDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "RuleName": "sample string 1",
      "Type": 1,
      "Remark": "sample string 2",
      "Id": 3
    },
    {
      "RuleName": "sample string 1",
      "Type": 1,
      "Remark": "sample string 2",
      "Id": 3
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfRuleDTOpv1JTFkd 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:RuleDTO>
      <d2p1:CreateBy>sample string 5</d2p1:CreateBy>
      <d2p1:CreateId>1</d2p1:CreateId>
      <d2p1:CreateTime>2018-12-15T10:50:01.5908001+08:00</d2p1:CreateTime>
      <d2p1:Id>3</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:ModifyBy>sample string 4</d2p1:ModifyBy>
      <d2p1:ModifyId>1</d2p1:ModifyId>
      <d2p1:ModifyTime>2018-12-15T10:50:01.5908001+08:00</d2p1:ModifyTime>
      <d2p1:Remark>sample string 2</d2p1:Remark>
      <d2p1:RuleName>sample string 1</d2p1:RuleName>
      <d2p1:Type>SqlQuery</d2p1:Type>
    </d2p1:RuleDTO>
    <d2p1:RuleDTO>
      <d2p1:CreateBy>sample string 5</d2p1:CreateBy>
      <d2p1:CreateId>1</d2p1:CreateId>
      <d2p1:CreateTime>2018-12-15T10:50:01.5908001+08:00</d2p1:CreateTime>
      <d2p1:Id>3</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:ModifyBy>sample string 4</d2p1:ModifyBy>
      <d2p1:ModifyId>1</d2p1:ModifyId>
      <d2p1:ModifyTime>2018-12-15T10:50:01.5908001+08:00</d2p1:ModifyTime>
      <d2p1:Remark>sample string 2</d2p1:Remark>
      <d2p1:RuleName>sample string 1</d2p1:RuleName>
      <d2p1:Type>SqlQuery</d2p1:Type>
    </d2p1:RuleDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfRuleDTOpv1JTFkd>