POST api/RiskRule/SaveRiskRule
Request Information
URI Parameters
None.
Body Parameters
RiskRuleModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| RuleList | Collection of RiskRuleInnerModel |
None. |
|
| RiskLevel | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"name": "sample string 2",
"ruleList": [
{
"criteria": "sample string 1",
"operator": "sample string 2",
"value": "sample string 3",
"logicOperator": "sample string 4",
"tableId": 5
},
{
"criteria": "sample string 1",
"operator": "sample string 2",
"value": "sample string 3",
"logicOperator": "sample string 4",
"tableId": 5
}
],
"riskLevel": "sample string 3"
}
multipart/form-data, application/octet-stream
Sample:
{"id":1,"name":"sample string 2","ruleList":[{"criteria":"sample string 1","operator":"sample string 2","value":"sample string 3","logicOperator":"sample string 4","tableId":5},{"criteria":"sample string 1","operator":"sample string 2","value":"sample string 3","logicOperator":"sample string 4","tableId":5}],"riskLevel":"sample string 3"}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ReturnResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Object |
None. |
|
| Msg | Object |
None. |
|
| token | Object |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"result": {},
"msg": {},
"token": {},
"data": {}
}
multipart/form-data, application/octet-stream
Sample:
{"result":{},"msg":{},"token":{},"data":{}}