POST api/RuleConfig/EditRuleConfigSubmit

Request Information

URI Parameters

None.

Body Parameters

RuleConfigDTO
NameDescriptionTypeAdditional information
RuleConfigName

string

None.

ConfigKey

string

Required

ConfigValue

string

None.

RuleId

integer

None.

Id

编号

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RuleConfigName": "sample string 1",
  "ConfigKey": "sample string 2",
  "ConfigValue": "sample string 3",
  "RuleId": 4,
  "Id": 5
}

application/xml, text/xml

Sample:
<RuleConfigDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreateBy>sample string 7</CreateBy>
  <CreateId>1</CreateId>
  <CreateTime>2018-12-12T01:33:26.809522+08:00</CreateTime>
  <Id>5</Id>
  <IsObsoleted>true</IsObsoleted>
  <ModifyBy>sample string 6</ModifyBy>
  <ModifyId>1</ModifyId>
  <ModifyTime>2018-12-12T01:33:26.809522+08:00</ModifyTime>
  <ConfigKey>sample string 2</ConfigKey>
  <ConfigValue>sample string 3</ConfigValue>
  <RuleConfigName>sample string 1</RuleConfigName>
  <RuleId>4</RuleId>
</RuleConfigDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'RuleConfigDTO'.

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>