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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PageNum

integer

None.

NumPerPage

integer

None.

Body Parameters

None.

Response Information

Resource Description

IViewPageListOfRuleConfigDTO
NameDescriptionTypeAdditional information
data

Collection of RuleConfigDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "RuleConfigName": "sample string 1",
      "ConfigKey": "sample string 2",
      "ConfigValue": "sample string 3",
      "RuleId": 4,
      "Id": 5
    },
    {
      "RuleConfigName": "sample string 1",
      "ConfigKey": "sample string 2",
      "ConfigValue": "sample string 3",
      "RuleId": 4,
      "Id": 5
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfRuleConfigDTOpv1JTFkd 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:RuleConfigDTO>
      <d2p1:CreateBy>sample string 7</d2p1:CreateBy>
      <d2p1:CreateId>1</d2p1:CreateId>
      <d2p1:CreateTime>2018-12-14T19:47:39.7314949+08:00</d2p1:CreateTime>
      <d2p1:Id>5</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:ModifyBy>sample string 6</d2p1:ModifyBy>
      <d2p1:ModifyId>1</d2p1:ModifyId>
      <d2p1:ModifyTime>2018-12-14T19:47:39.7314949+08:00</d2p1:ModifyTime>
      <d2p1:ConfigKey>sample string 2</d2p1:ConfigKey>
      <d2p1:ConfigValue>sample string 3</d2p1:ConfigValue>
      <d2p1:RuleConfigName>sample string 1</d2p1:RuleConfigName>
      <d2p1:RuleId>4</d2p1:RuleId>
    </d2p1:RuleConfigDTO>
    <d2p1:RuleConfigDTO>
      <d2p1:CreateBy>sample string 7</d2p1:CreateBy>
      <d2p1:CreateId>1</d2p1:CreateId>
      <d2p1:CreateTime>2018-12-14T19:47:39.7314949+08:00</d2p1:CreateTime>
      <d2p1:Id>5</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:ModifyBy>sample string 6</d2p1:ModifyBy>
      <d2p1:ModifyId>1</d2p1:ModifyId>
      <d2p1:ModifyTime>2018-12-14T19:47:39.7314949+08:00</d2p1:ModifyTime>
      <d2p1:ConfigKey>sample string 2</d2p1:ConfigKey>
      <d2p1:ConfigValue>sample string 3</d2p1:ConfigValue>
      <d2p1:RuleConfigName>sample string 1</d2p1:RuleConfigName>
      <d2p1:RuleId>4</d2p1:RuleId>
    </d2p1:RuleConfigDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfRuleConfigDTOpv1JTFkd>