ModifyCustVariable
Updates a cumulative variable.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-saf:Describe |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
Specifies the language type for requests and responses. Default value: zh. Valid values:
|
zh |
| regId |
string |
No |
The region code. |
cn-hangzhou |
| id |
integer |
Yes |
The variable ID. |
376773 |
| dataVersion |
integer |
Yes |
The data version. |
6 |
| name |
string |
Yes |
The variable name. |
dxkkLw8fe18 |
| eventCodes |
string |
No |
The event code. |
account_abuse_pro,account_abuse |
| description |
string |
No |
The description. |
Description |
| condition |
string |
No |
The condition value. |
{\"currentId\":1,\"deepCount\":0,\"list\":[{\"currentId\":2,\"deepCount\":1,\"left\":{\"code\":\"__hit_rules\",\"fieldType\":\"STRING\",\"functionName\":\"\",\"hasRightVariable\":true,\"name\":\"hitRules\",\"operatorCode\":\"deNotInNameList\"},\"operatorCode\":\"deNotInNameList\",\"parentId\":1,\"right\":{\"code\":\"'nl_Xcufc8wV6624'\",\"name\":\"nl_Xcufc8wV6624\",\"rightVariableType\":\"variable\"}},{\"currentId\":3,\"deepCount\":1,\"list\":[{\"currentId\":4,\"deepCount\":2,\"left\":{\"code\":\"__v_safde\",\"fieldType\":\"DOUBLE\",\"functionName\":\"\",\"hasRightVariable\":true,\"name\":\"score\",\"operatorCode\":\"equals\"},\"operatorCode\":\"equals\",\"parentId\":3,\"right\":{\"code\":\"'99'\",\"name\":\"99\",\"rightVariableType\":\"constant\"}},{\"currentId\":5,\"deepCount\":2,\"left\":{\"code\":\"queryPhoneSimulatorInfo(deviceToken)?\",\"fieldType\":\"STRING\",\"functionName\":\"\",\"hasRightVariable\":false,\"name\":\"__device-test01__\",\"operatorCode\":\"isNotEmptyWrapper\"},\"operatorCode\":\"isNotEmptyWrapper\",\"parentId\":3,\"right\":{\"functionName\":\"\",\"name\":\"\",\"rightVariableType\":\"constant\"}}],\"parentId\":1,\"relationship\":\"and\"}],\"parentId\":0,\"relationship\":\"and\"} |
| outputs |
string |
No |
The output. |
STRING |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
A32FE941-35F2-5378-B37C-4B8FDB16F094 |
| resultObject |
array<object> |
The returned object. |
|
|
object |
The returned object. |
||
| success |
boolean |
Indicates whether the operation is successful. |
true |
| failType |
string |
The failure type. |
rule |
| message |
string |
The details. |
ok |
Examples
Success response
JSON format
{
"RequestId": "A32FE941-35F2-5378-B37C-4B8FDB16F094",
"resultObject": [
{
"success": true,
"failType": "rule",
"message": "ok"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.