GetSchemeTaskConfig
Obtain the configuration details of a quality inspection task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sca:GetSchemeTaskConfig |
none |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BaseMeAgentId |
integer |
No |
Workspace ID |
12345 |
| JsonStr |
string |
No |
A complete JSON string. See the detailed information below. |
{"sourceDataType":3,"id":588} |
About JsonStr
| Property | Type | Required | Description |
| id | integer | Yes | Task ID |
| sourceDataType | integer | Yes | Task type: 1 (offline voice), 2 (offline text), 3 (real-time voice), 4 (real-time text), 51 (offline voice secondary quality inspection), 52 (offline text secondary quality inspection), 53 (real-time voice secondary quality inspection), or 54 (real-time text secondary quality inspection) |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response schema |
||
| RequestId |
string |
Request ID |
3CEA0495-341B-4482-9AD9-8191EF4*** |
| Code |
string |
Result code. 200 means success. Note
Any other value means failure. The caller can use this field to identify the cause. |
200 |
| Success |
string |
Indicates whether the request succeeded. Use this field to check the result: true means success, false or null means failure. |
true |
| Message |
string |
Error details if the request failed. Returns successful if the request succeeded. |
successful |
| HttpStatusCode |
string |
HTTP status code |
200 |
| Data |
object |
Response data. See the additional notes below. |
|
| Id |
integer |
Quality inspection task ID |
3 |
| SchemeTaskConfigId |
integer |
Quality inspection task ID |
123 |
| Name |
string |
Quality inspection task name |
test |
| SourceDataType |
string |
Quality inspection result type:
|
1 |
| Status |
string |
Enable status. Valid values: 0 (disabled) or 1 (enabled) |
1 |
| SchemeIdList |
array |
Quality inspection scheme IDs |
|
|
integer |
Quality inspection scheme ID |
13xxx |
|
| SchemeList |
array<object> |
Quality inspection schemes |
|
|
object |
Quality inspection scheme |
||
| SchemeId |
integer |
Quality inspection scheme ID |
158 |
| Name |
string |
Quality inspection scheme name |
质检方案B |
| DataConfig |
object |
Data configuration |
|
| Index |
integer |
Index number |
0 |
| AssignConfigs |
array<object> |
Data screening items for on-the-fly recording |
|
|
array<object> |
Data screening items for on-the-fly recording |
||
| AssignConfigContests |
array<object> |
Parameter matching configurations for on-the-fly recording |
|
|
object |
Parameter matching configuration for on-the-fly recording |
||
| Name |
string |
Check item name |
callStartTime |
| DataType |
integer |
Type of the value
|
3 |
| Symbol |
integer |
Operator
|
4 |
| Value |
string |
Matching value for on-the-fly recording data |
{\"start\":\"2022-09-01 00:00:00\",\"end\":\"2022-09-30 00:00:00\"} |
| ListObject |
array |
List of on-the-fly recording data |
|
|
any |
List of on-the-fly recording data |
xx |
|
| ResultParam |
string |
JSON text for filtering conditions used in secondary quality inspection. For details, see the request parameters of the GetResult API. |
{} |
| DataSets |
string |
Dataset task. Manage datasets. |
[] |
| AssignType |
integer |
Assignment type |
0 |
| ManualReview |
integer |
Manual review |
0 |
| AsrTaskPriority |
integer |
Task priority:
|
2 |
| ModeCustomizationId |
string |
Language model ID |
cdae396590b*****ec40f3476e274fc |
| ModelName |
string |
Language model name |
自定义模型 |
Examples
Success response
JSON format
{
"RequestId": "3CEA0495-341B-4482-9AD9-8191EF4***\t",
"Code": "200",
"Success": "true",
"Message": "successful",
"HttpStatusCode": "200",
"Data": {
"Id": 3,
"SchemeTaskConfigId": 123,
"Name": "test",
"SourceDataType": "1",
"Status": "1",
"SchemeIdList": [
0
],
"SchemeList": [
{
"SchemeId": 158,
"Name": "质检方案B"
}
],
"DataConfig": {
"Index": 0,
"AssignConfigs": [
{
"AssignConfigContests": [
{
"Name": "callStartTime",
"DataType": 3,
"Symbol": 4,
"Value": "{\\\"start\\\":\\\"2022-09-01 00:00:00\\\",\\\"end\\\":\\\"2022-09-30 00:00:00\\\"}",
"ListObject": [
"xx"
]
}
]
}
],
"ResultParam": "{}",
"DataSets": "[]"
},
"AssignType": 0,
"ManualReview": 0,
"AsrTaskPriority": 2,
"ModeCustomizationId": "cdae396590b*****ec40f3476e274fc",
"ModelName": "自定义模型"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.