ListSchemeTaskConfig
Corresponds to the frontend feature location: Task Management. Apsara Stack URL: ip:port/api/task/ListSchemeTaskInfo.json.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sca:ListSchemeTaskConfig |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| jsonStr |
string |
No |
The input JSON string. For more information, see the supplementary description of request parameters. |
{"pageNumber":1,"pageSize":10,"sourceDataType":"1"} |
| BaseMeAgentId |
integer |
No |
The ID of the business workspace. |
123456 |
JsonStr description
| Property | Value type | Required | Description |
| pageNumber | Integer | No | The current page. |
| pageSize | Integer | No | The number of entries per page. |
| sourceDataType | Integer | Yes | The task type. Valid values: 1 (offline speech), 2 (offline text), 3 (real-time speech), 4 (real-time text), 51 (secondary quality inspection for offline speech), 52 (secondary quality inspection for offline text), 53 (secondary quality inspection for real-time speech), and 54 (secondary quality inspection for real-time text). |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
ListResult |
||
| Data |
object |
||
| Data |
array<object> |
The complete response content. |
|
|
array<object> |
SchemeTaskConfig |
||
| Id |
integer |
The ID of the quality inspection task. |
123 |
| SchemeTaskConfigId |
integer |
The ID of the quality inspection task. |
123 |
| Name |
string |
The name of the quality inspection task. |
Inspection Task A |
| SourceDataType |
integer |
The type of the quality inspection result. Valid values:
|
2 |
| Status |
integer |
The status of the task. Valid values:
|
1 |
| ManualReview |
integer |
The manual review status. |
0 |
| AssignType |
integer |
The assignment type. |
0 |
| DataConfig |
object |
The data configuration information. |
|
| Index |
integer |
The index number. |
0 |
| AssignConfigs |
object |
||
| AssignConfig |
array<object> |
The filter criteria for the recorded data. |
|
|
array<object> |
The filter criteria for the recorded data. |
||
| AssignConfigContests |
object |
||
| AssignConfigContest |
array<object> |
The matching configuration for the recorded data parameters. |
|
|
array<object> |
The matching configuration for the recorded data parameters. |
||
| Name |
string |
Check item name |
callStartTime |
| DataType |
integer |
Type of value
|
3 |
| Symbol |
integer |
Operator
|
4 |
| Value |
string |
Recorded data matching value. |
{\"start\":\"2022-09-01 00:00:00\",\"end\":\"2022-09-30 00:00:00\"} |
| ListObject |
object |
||
| ListObject |
array |
Recorded data list. |
|
|
any |
Recorded data list. |
business |
|
| ResultParam |
string |
The JSON text of the conditional filters for secondary quality inspection. For more information, see the request parameters of the GetResult operation to obtain the node result. |
{} |
| DataSets |
string |
The datasets managed for dataset tasks. |
[] |
| SchemeIdList |
object |
||
| SchemeIdList |
array |
The list of quality inspection scheme IDs. |
|
|
integer |
The ID of the quality inspection scheme. |
158 |
|
| SchemeList |
object |
||
| SchemeList |
array<object> |
The list of quality inspection schemes. |
|
|
object |
The quality inspection scheme. |
||
| SchemeId |
integer |
The ID of the quality inspection scheme. |
158 |
| Name |
string |
The name of the quality inspection scheme. |
Quality Inspection Scheme B |
| AsrTaskPriority |
integer |
The priority of the task. Valid values:
|
2 |
| ModeCustomizationId |
string |
The ID of the language model. |
cdae396590b*****ec40f3476e274fc |
| ModelName |
string |
The name of the language model. |
Language Model A |
| VocabId |
string |
The ID of the hot word model. |
9f90b3efa2****0a49acec226eafc17 |
| VocabName |
string |
The name of the hot word model. |
Hot Word Model A |
| UserGroup |
string |
The ID of the user group. |
1 |
| CreateUser |
integer |
The ID of the user who created the task. |
1 |
| CreateTime |
string |
The creation time. |
1650418039000 |
| UpdateTime |
string |
The update time. |
1650418039000 |
| UpdateUser |
integer |
The ID of the user who updated the task. |
1 |
| Type |
integer |
The type. |
0 |
| NumberSum |
integer |
The total amount of data. |
1000 |
| NumberSuccess |
integer |
The number of successful data records. |
1000 |
| NumberFail |
integer |
The number of failed data records. |
0 |
| FinishRate |
number |
The task completion rate. |
100 |
| NumberExecuting |
integer |
The number of data records being processed. |
0 |
| AsrVersion |
integer |
The ASR version. Valid values:
|
3 |
| Count |
integer |
The total number of entries. |
22 |
| CurrentPage |
integer |
The current page number. |
1 |
| PageSize |
integer |
The number of entries per page. |
10 |
| PageNumber |
integer |
The current page. |
1 |
| ResultCountId |
string |
An internal field. Ignore this field. |
Ignore |
| LastDataId |
string |
The identifier of the current data record. When you use the GetResult operation to query more than 10,000 data records, you must include the lastDataId value of the last data record from the previous query result in the request parameters of each subsequent request. |
1000 |
| RequestId |
string |
The request ID. |
4B0A8DCD-0DDF-5E80-8B9C-0A2F68B3403B |
| Success |
boolean |
Indicates whether the request is successful. You can determine whether the request is successful based on this field. A value of true indicates success, and a value of false or null indicates failure. |
true |
| Code |
string |
The result code. A value of 200 indicates success. Any other value indicates failure. You can determine the cause of the failure based on this field. |
200 |
| Message |
string |
The error details when an error occurs, or successful when the request is successful. |
successful |
| Messages |
object |
||
| Message |
array |
The list of messages. |
|
|
string |
The message. |
None |
|
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
Examples
Success response
JSON format
{
"Data": {
"Data": [
{
"Id": 123,
"SchemeTaskConfigId": 123,
"Name": "检测任务A",
"SourceDataType": 2,
"Status": 1,
"ManualReview": 0,
"AssignType": 0,
"DataConfig": {
"Index": 0,
"AssignConfigs": {
"AssignConfig": [
{
"AssignConfigContests": {
"AssignConfigContest": [
{
"Name": "callStartTime",
"DataType": 3,
"Symbol": 4,
"Value": "{\\\"start\\\":\\\"2022-09-01 00:00:00\\\",\\\"end\\\":\\\"2022-09-30 00:00:00\\\"}",
"ListObject": {
"ListObject": [
"business"
]
}
}
]
}
}
]
},
"ResultParam": "{}",
"DataSets": "[]"
},
"SchemeIdList": {
"SchemeIdList": [
158
]
},
"SchemeList": {
"SchemeList": [
{
"SchemeId": 158,
"Name": "质检方案B"
}
]
},
"AsrTaskPriority": 2,
"ModeCustomizationId": "cdae396590b*****ec40f3476e274fc",
"ModelName": "语言模型A",
"VocabId": "9f90b3efa2****0a49acec226eafc17",
"VocabName": "热词模型A",
"UserGroup": "1",
"CreateUser": 1,
"CreateTime": "1650418039000",
"UpdateTime": "1650418039000",
"UpdateUser": 1,
"Type": 0,
"NumberSum": 1000,
"NumberSuccess": 1000,
"NumberFail": 0,
"FinishRate": 100,
"NumberExecuting": 0,
"AsrVersion": 3
}
]
},
"Count": 22,
"CurrentPage": 1,
"PageSize": 10,
"PageNumber": 1,
"ResultCountId": "忽略",
"LastDataId": "1000",
"RequestId": "4B0A8DCD-0DDF-5E80-8B9C-0A2F68B3403B",
"Success": true,
"Code": "200",
"Message": "successful",
"Messages": {
"Message": [
"无"
]
},
"HttpStatusCode": 200
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.