ListJobGroups
Retrieves the list of outbound call task groups.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:ListJobGroups |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. |
174952ab-9825-4cc9-a5e2-de82d7fa4cdd |
| StartTime |
integer |
No |
The start of the time range for the query, based on the creation time of the job group. Specify the time as a UNIX timestamp in milliseconds. |
1578965079000 |
| EndTime |
integer |
No |
The end of the time range for the query, based on the creation time of the job group. Specify the time as a UNIX timestamp in milliseconds. |
1579965079000 |
| PageNumber |
integer |
Yes |
The page number. |
1 |
| PageSize |
integer |
Yes |
The number of entries to return per page. |
10 |
| AsyncQuery |
boolean |
No |
Specifies whether to retrieve the query results asynchronously. |
true |
| SearchText |
string |
No |
The search text. |
面试 |
| JobGroupStatusFilter |
string |
No |
Filters results by job status. To specify multiple statuses, separate them with commas. The statuses are combined with a logical OR. Valid values:
|
Draft |
| OnlyMinConcurrencyEnabled |
boolean |
No |
Specifies whether to return only job groups with minimum concurrency enabled. |
false |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The ID of the request. |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
Indicates whether the request was successful. Valid values: |
true |
| Code |
string |
The response code. |
OK |
| Message |
string |
The returned message. |
Success |
| AsyncTaskId |
string |
The ID of the asynchronous task. You can use this ID to query the status of the task. |
6243d904-939d-42ce-a8e4-886a139e77a3 |
| JobGroups |
object |
The list of job groups. |
|
| PageNumber |
integer |
The page number of the returned page. |
1 |
| PageSize |
integer |
The number of entries returned per page. |
10 |
| TotalCount |
integer |
The total number of entries returned. |
100 |
| List |
array<object> |
The list of job groups. |
|
|
array<object> |
|||
| Status |
string |
The status of the job group. Valid values:
|
Draft |
| JobGroupId |
string |
The ID of the job group. |
c62e6789-28a8-41db-941e-171a01d3b3b9 |
| CreationTime |
integer |
The time when the job group was created. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. |
1578550074361 |
| JobGroupName |
string |
The name of the job group. |
催收作业组 |
| TotalCallNum |
integer |
The total number of calls. |
10 |
| ScriptId |
string |
The ID of the script. |
c62e6789-28a8-41db-941e-171a01d3b3b9 |
| JobGroupDescription |
string |
The description of the job group. |
催收的作业组 |
| JobDataParsingTaskId |
string |
The ID of the task that parses the job data file. This parameter is deprecated. |
c62e6789-28a8-41db-941e-171a01d3b3b9 |
| ScriptName |
string |
The name of the script. |
话术名称 |
| ScriptVersion |
string |
The script version. |
d9e828ac-744b-4dd3-848a-17a3da9167b8 |
| ModifyTime |
string |
The time when the job group was last modified. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC. |
1578550074361 |
| Progress |
object |
The progress of the job group. |
{} |
| TotalNotAnswered |
integer |
This parameter is deprecated. |
1 |
| Status |
string |
Note
This parameter is no longer returned. The status of the job. Valid values:
|
Scheduling |
| StartTime |
integer |
The start time. This parameter is deprecated. |
1578550074361 |
| FailedNum |
integer |
The number of failed jobs. |
5 |
| PausedNum |
integer |
The number of paused jobs. |
5 |
| CancelledNum |
integer |
The number of canceled jobs. |
5 |
| TotalJobs |
integer |
The total number of jobs. |
20 |
| TotalCompleted |
integer |
The number of completed jobs. |
3 |
| Duration |
integer |
The total runtime. This parameter is deprecated. |
1578550074361 |
| ExecutingNum |
integer |
The number of running jobs. |
10 |
| Scheduling |
integer |
The number of jobs that are being scheduled. |
10 |
| ExportProgress |
object |
The progress of the export task. |
{} |
| Status |
string |
The status of the export task. Valid values:
|
PENDING |
| FileHttpUrl |
string |
This parameter is deprecated. |
http://www.xxx.com/xxx |
| Progress |
string |
The progress of the export task. |
1 |
| Strategy |
object |
The calling strategy. This parameter is deprecated. Note
To view the strategy for a job group, call the |
{} |
| EndTime |
integer |
The end time of the calling window. |
2209702074000 |
| StartTime |
integer |
The start time of the calling window. |
1578550074000 |
| MinConcurrency |
integer |
The minimum number of concurrent calls. |
1 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Success": true,
"Code": "OK",
"Message": "Success",
"AsyncTaskId": "6243d904-939d-42ce-a8e4-886a139e77a3\n",
"JobGroups": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 100,
"List": [
{
"Status": "Draft",
"JobGroupId": "c62e6789-28a8-41db-941e-171a01d3b3b9",
"CreationTime": 1578550074361,
"JobGroupName": "催收作业组",
"TotalCallNum": 10,
"ScriptId": "c62e6789-28a8-41db-941e-171a01d3b3b9",
"JobGroupDescription": "催收的作业组",
"JobDataParsingTaskId": "c62e6789-28a8-41db-941e-171a01d3b3b9",
"ScriptName": "话术名称",
"ScriptVersion": "d9e828ac-744b-4dd3-848a-17a3da9167b8",
"ModifyTime": "1578550074361",
"Progress": {
"TotalNotAnswered": 1,
"Status": "Scheduling",
"StartTime": 1578550074361,
"FailedNum": 5,
"PausedNum": 5,
"CancelledNum": 5,
"TotalJobs": 20,
"TotalCompleted": 3,
"Duration": 1578550074361,
"ExecutingNum": 10,
"Scheduling": 10
},
"ExportProgress": {
"Status": "PENDING",
"FileHttpUrl": "http://www.xxx.com/xxx",
"Progress": "1"
},
"Strategy": {
"EndTime": 2209702074000,
"StartTime": 1578550074000
},
"MinConcurrency": 1
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.