GET api/Rule/GetModelById/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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
}

application/xml, text/xml

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