GET api/Rule/GetCurRuleList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RuleDTO
NameDescriptionTypeAdditional information
RuleName

string

None.

Type

EnumRuleType

None.

Remark

string

String length: inclusive between 0 and 200

Id

编号

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RuleName": "sample string 1",
    "Type": 1,
    "Remark": "sample string 2",
    "Id": 3
  },
  {
    "RuleName": "sample string 1",
    "Type": 1,
    "Remark": "sample string 2",
    "Id": 3
  }
]

application/xml, text/xml

Sample:
<ArrayOfRuleDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <RuleDTO>
    <CreateBy>sample string 5</CreateBy>
    <CreateId>1</CreateId>
    <CreateTime>2018-12-12T02:39:17.3252285+08:00</CreateTime>
    <Id>3</Id>
    <IsObsoleted>true</IsObsoleted>
    <ModifyBy>sample string 4</ModifyBy>
    <ModifyId>1</ModifyId>
    <ModifyTime>2018-12-12T02:39:17.3252285+08:00</ModifyTime>
    <Remark>sample string 2</Remark>
    <RuleName>sample string 1</RuleName>
    <Type>SqlQuery</Type>
  </RuleDTO>
  <RuleDTO>
    <CreateBy>sample string 5</CreateBy>
    <CreateId>1</CreateId>
    <CreateTime>2018-12-12T02:39:17.3252285+08:00</CreateTime>
    <Id>3</Id>
    <IsObsoleted>true</IsObsoleted>
    <ModifyBy>sample string 4</ModifyBy>
    <ModifyId>1</ModifyId>
    <ModifyTime>2018-12-12T02:39:17.3252285+08:00</ModifyTime>
    <Remark>sample string 2</Remark>
    <RuleName>sample string 1</RuleName>
    <Type>SqlQuery</Type>
  </RuleDTO>
</ArrayOfRuleDTO>