修改智能外呼业务实例。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
outboundbot:ModifyInstance |
update |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
业务实例 ID。 |
90515b5-6115-4ccf-83e2-52d5bfaf2ddf |
| InstanceName |
string |
否 |
业务实例名字。 |
新实例 |
| InstanceDescription |
string |
否 |
业务实例描述。 |
这是新的实例 |
| MaxConcurrentConversation |
integer |
是 |
最大并发。 |
5 |
| CallingNumber |
array |
否 |
主叫号码列表。 说明
默认不填 |
["95187"] |
|
string |
否 |
主叫号码。 说明
默认不填 |
1********** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| HttpStatusCode |
integer |
HTTP 状态码。 |
200 |
| Code |
string |
状态码。 |
OK |
| Message |
string |
接口提示消息。 |
Success |
| RequestId |
string |
请求 ID。 |
254EB995-DEDF-48A4-9101-9CA5B72FFBCC |
| Success |
boolean |
是否成功。 |
true |
| Instance |
object |
业务实例信息。 |
{'InstanceId': 'ob369xifpi2074', 'AutoUpgradeObVersion': False} |
| CreationTime |
integer |
创建时间。使用 Unix 时间戳,单位为毫秒。 |
1578469042851 |
| InstanceName |
string |
业务实例名字 |
第一个实例 |
| CreatorName |
string |
创建者名字。 |
xxx |
| MaxConcurrentConversation |
integer |
最大并发。 |
5 |
| OwnerName |
string |
所有者名字。 |
xxx |
| CreatorId |
integer |
创建者 ID。 |
123123 |
| InstanceId |
string |
业务实例 ID。 |
90515b5-6115-4ccf-83e2-52d5bfaf2ddf |
| InstanceDescription |
string |
业务实例描述。 |
这是第一个实例 |
示例
正常返回示例
JSON格式
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "Success",
"RequestId": "254EB995-DEDF-48A4-9101-9CA5B72FFBCC",
"Success": true,
"Instance": {
"CreationTime": 1578469042851,
"InstanceName": "第一个实例",
"CreatorName": "xxx",
"MaxConcurrentConversation": 5,
"OwnerName": "xxx",
"CreatorId": 123123,
"InstanceId": "90515b5-6115-4ccf-83e2-52d5bfaf2ddf",
"InstanceDescription": "这是第一个实例"
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidInstanceName.Duplicated | The specified InstanceName already exists. | 实例名称已经存在。请您更换一个名字。 |
| 400 | LimitExceeded.ConcurrentConversation | The maximum number of concurrent conversations is exceeded. | 并发数已经超限,请重新设置。 |
| 500 | InternalError | An error occurred while processing your request. Please try again later. Submit a ticket if the error still exists. | 内部错误。建议重试,如果多次重试报错请提交工单。 |
| 404 | NotExist.Instance | The specified Instance does not exist. | 指定的实例不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。