Updates a call task configuration.
Operation description
Ensure the call task is stopped before you update its configuration.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
aiccs:UpdateAiCallTask |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TaskName |
string |
Yes |
The task name. The name must be unique within an Alibaba Cloud account. |
测试任务 |
| VirtualNumber |
string |
Yes |
The service instance used for outbound calls. |
0537022***** |
| StartType |
string |
Yes |
The startup method. Valid values:
|
IMMEDIATE |
| MissCallRetry |
boolean |
No |
Specifies whether to enable retry. Valid values:
|
true |
| CallRetryReason |
array |
No |
The call failure statuses that trigger a retry. |
|
|
string |
No |
A call failure status that triggers a retry. Valid values:
|
CALL_REJECTED |
|
| CallRetryTimes |
integer |
No |
The number of retries. The maximum value is 3. |
2 |
| CallRetryInterval |
integer |
No |
The retry interval in minutes. The maximum value is 120. |
25 |
| CallTime |
array |
Yes |
The callable time windows. |
|
|
string |
No |
The time window for calls. The format is as follows:
In this format, Note
|
{"startTime":"09:00:00","endTime":"10:00:00"} |
|
| CallDay |
array |
Yes |
The days of the week when calls can be made. |
|
|
string |
No |
A day of the week on which calls can be made. Valid values:
Valid values:
|
MONDAY |
|
| TaskStartTime |
integer |
No |
The scheduled start time for the task, specified as a Unix timestamp in milliseconds. This parameter is required when |
1748923429000 |
| TaskId |
string |
Yes |
The ID of the task to update. |
1187************** |
| TaskCps |
integer |
Yes |
The number of concurrent calls per second (CPS) for the task. The maximum value is 500. |
57 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AccessDeniedDetail |
string |
The reason why access was denied. |
None |
| Message |
string |
The error message that is returned when an error occurs. |
参数不合法 |
| RequestId |
string |
The request ID. |
FCD94A7F-316D-54D1-9BFC-814006CB1C34 |
| Data |
boolean |
Indicates whether the task was updated successfully. Valid values:
|
true |
| Code |
string |
The status code. |
OK |
| Success |
boolean |
Indicates whether the API call was successful. Valid values:
|
false |
Examples
Success response
JSON format
{
"AccessDeniedDetail": "None",
"Message": "参数不合法",
"RequestId": "FCD94A7F-316D-54D1-9BFC-814006CB1C34",
"Data": true,
"Code": "OK",
"Success": false
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.