ListQualityCheckScheme
Retrieves a list of quality check schemes.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sca:ListQualityCheckScheme |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JsonStr |
string |
Yes |
The complete JSON string. For details, see the following information. |
{ "name": "Quality Check Scheme A" } |
| BaseMeAgentId |
integer |
No |
The workspace ID. |
123456 |
| Property | Type | Required | Description | Default value | Example |
| schemeId | Long | No | The ID of the quality check scheme. | 123 | |
| name | String | No | The name of the quality check scheme. | Quality Check Scheme A | |
| type | Integer | No | The type of the quality check scheme. Valid values: 0: built-in; 1: custom. | 1 | |
| dataType | Integer | No | The data type of the quality check scheme. Valid values: 0: text; 1: audio. | 1 | |
| status | Integer | No | The status. Valid values: 0: deleted; 1: published; 2: unpublished; 3: updated and unpublished. | 1 | |
| requireInfos | List | No | Specifies the fields of the quality check scheme to return. RuleDetailInfo: corresponds to the ruleList field. CheckTypeListInfo: corresponds to the schemeCheckTypeList field. | ["CheckTypeListInfo","RuleDetailInfo"] | {"jsonStr": "{"pageNumber": 1, "pageSize": 1, "requireInfos": ["CheckTypeListInfo"]}"} |
| pageNumber | Integer | No | The current page number. | 1 | 1 |
| pageSize | Integer | No | The number of entries per page. | 10 | 10 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. |
82C91484-B2D5-4D2A-A21F-A6D73F4*** |
| Success |
boolean |
Indicates whether the request is successful. true indicates that the request is successful. false or null indicates that the request fails. |
true |
| ResultCountId |
string |
An internal field. Ignore this field. |
Deprecated field |
| Code |
string |
The result code. A value of 200 indicates success. Other values indicate failure. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The error message returned when an error occurs. The value is successful when the request is successful. |
successful |
| PageNumber |
integer |
The current page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| Count |
integer |
The total number of entries. |
22 |
| Data |
array<object> |
The data of the quality check scheme list. |
|
|
array<object> |
The details of the quality check scheme. |
||
| SchemeId |
integer |
The ID of the quality check scheme. |
112** |
| Name |
string |
The name of the quality check scheme. |
test |
| Description |
string |
The description. |
Pre-sales use |
| DataType |
integer |
The data type of the quality check scheme. Valid values: 0: text; 1: audio. |
1 |
| Type |
integer |
The type of the quality check scheme. Valid values: 0: built-in; 1: custom. |
1 |
| TemplateType |
integer |
The type of the quality check scheme template. Valid values: 1: built-in; 2: custom. |
1 |
| Status |
integer |
The status of the quality check scheme. Valid values: 0: deleted; 1: published; 2: unpublished; 3: updated and unpublished. |
1 |
| CreateUserName |
string |
The name of the creator. |
Zhang San |
| CreateTime |
string |
The creation time. |
2022-05-10T09:34Z |
| UpdateUserName |
string |
The name of the updater. |
Li Si |
| UpdateTime |
string |
The update time. |
2022-05-10T10:34Z |
| SchemeCheckTypeList |
array<object> |
The list of quality check dimensions. |
|
|
object |
The quality check dimension. |
||
| CheckType |
integer |
The type of the quality check dimension. |
1 |
| Enable |
integer |
The enable status. Valid values: 0: disabled; 1: enabled. |
1 |
| CheckName |
string |
The name of the quality check dimension. |
Service compliance check |
| TargetType |
integer |
An internal field. Ignore this field. |
10 |
| Score |
integer |
The score of the quality check dimension. |
20 |
| RuleList |
array<object> |
The list of check items. |
|
|
array<object> |
The information about rule hits. |
||
| Rules |
array<object> |
The rule information. Only one rule is included here and reserved for future extensions. |
|
|
object |
The basic information about the rule. |
||
| Rid |
integer |
The ID of the check item. |
12 |
| Name |
string |
The name of the check item. |
Test rule |
| RuleScoreType |
integer |
Specifies whether the score is calculated. Valid values: 1: not calculated; 3: calculated. |
1 |
| ScoreNum |
integer |
The score. |
2 |
| ScoreType |
integer |
The score adjustment type. Valid values: 1: add points; 3: deduct points. |
1 |
| CheckType |
integer |
The quality check dimension to which the rule belongs. |
1 |
| TargetType |
integer |
The common scenarios of the check item. Valid values: 10: common check item. 11: SOP flow check item. |
10 |
| ScoreNumType |
integer |
The scoring type. Valid values: 0: add or deduct points after the rule is triggered; 1: award a one-time score after the rule is triggered. |
0 |
| Version |
integer |
The version of the quality check scheme. |
1 |
Examples
Success response
JSON format
{
"RequestId": "82C91484-B2D5-4D2A-A21F-A6D73F4***\t",
"Success": true,
"ResultCountId": "废弃字段",
"Code": "200",
"Message": "successful",
"PageNumber": 1,
"PageSize": 10,
"Count": 22,
"Data": [
{
"SchemeId": 0,
"Name": "test",
"Description": "售前使用",
"DataType": 1,
"Type": 1,
"TemplateType": 1,
"Status": 1,
"CreateUserName": "张三",
"CreateTime": "2022-05-10T09:34Z",
"UpdateUserName": "李四",
"UpdateTime": "2022-05-10T10:34Z",
"SchemeCheckTypeList": [
{
"CheckType": 1,
"Enable": 1,
"CheckName": "服务规范性检测",
"TargetType": 10,
"Score": 20
}
],
"RuleList": [
{
"Rules": [
{
"Rid": 12,
"Name": "测试规则",
"RuleScoreType": 1,
"ScoreNum": 2,
"ScoreType": 1,
"CheckType": 1,
"TargetType": 10,
"ScoreNumType": 0
}
]
}
],
"Version": 1
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.