GetRuleCategory
Retrieves a list of rule types.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sca:GetRuleCategory |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JsonStr |
string |
Yes |
Set the value to an empty string. |
"" |
| BaseMeAgentId |
integer |
No |
The workspace ID. |
123456 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The result code. A value of 200 indicates success. Other values indicate failure. Use this field to determine the cause of a failure. |
200 |
| Message |
string |
If an error occurs, this field provides error details. If the call is successful, the value is `successful`. |
successful |
| RequestId |
string |
The request ID. |
F190ADE9-619A-447D-84E3-7E241A5C428E |
| Success |
boolean |
Indicates whether the call was successful. A value of `true` indicates success. A value of `false` or `null` indicates failure. |
true |
| Data |
object |
||
| RuleCountInfo |
array<object> |
The result data. |
|
|
object |
|||
| Type |
integer |
The rule type. |
22 |
| TypeName |
string |
The name of the rule type. |
客服组 |
| Select |
boolean |
The selection status. |
false |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"RequestId": "F190ADE9-619A-447D-84E3-7E241A5C428E",
"Success": true,
"Data": {
"RuleCountInfo": [
{
"Type": 22,
"TypeName": "客服组",
"Select": false
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.