POST api/Rules/SaveRules

Request Information

URI Parameters

None.

Body Parameters

RulesDataObject
NameDescriptionTypeAdditional information
RulesId

string

None.

RulesName

string

None.

Remark

string

None.

IsChecked

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "rulesId": "sample string 1",
  "rulesName": "sample string 2",
  "remark": "sample string 3",
  "isChecked": true
}

application/xml, text/xml

Sample:
<RulesDataObject xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <RulesId>sample string 1</RulesId>
  <RulesName>sample string 2</RulesName>
  <Remark>sample string 3</Remark>
  <IsChecked>true</IsChecked>
</RulesDataObject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

JsonResultObject
NameDescriptionTypeAdditional information
IsSucceed

boolean

None.

Remark

string

None.

OpTime

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "isSucceed": true,
  "remark": "sample string 2",
  "opTime": "sample string 3",
  "result": {}
}

application/xml, text/xml

Sample:
<JsonResultObject xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <IsSucceed>true</IsSucceed>
  <Remark>sample string 2</Remark>
  <OpTime>sample string 3</OpTime>
  <Result />
</JsonResultObject>