调用BlindTransfer直接转接通话到其他坐席或某个技能组队列或外部号码,直接转接也叫盲转或单步转。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
InstanceId | string | 是 | 实例ID。 | ccc-test |
UserId | string | 是 | 发起直接转接的坐席ID。 | agent@ccc-test |
DeviceId | string | 是 | 设备ID,无意义,可以随便填写。 | ACC-YUNBS-1.0.10-**** |
Transferor | string | 否 | 转接发起方,当场景是直接转接到外部号码时,用此参数指定的号码作为主叫,转内部坐席或技能组时,此参数无效,发起方由UserId指定。 | 08314325**** |
Transferee | string | 是 | 被转接方,可以是坐席ID或技能组ID。 | agent@ccc-test |
TimeoutSeconds | integer | 否 | 直接转接超时时间,超过指定时间被转接方没有接起通话,则挂断通话,此字段选填,默认30,单位秒。 | 60 |
JobId | string | 是 | 通话ID。 | job-6538214103685**** |
返回参数
示例
正常返回示例
JSON
格式
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "EEEE671A-3E24-4A04-81E6-6C4F5B39DF75",
"Params": [
"无"
],
"Data": {
"ContextId": 103654,
"CallContext": {
"CallType": "OUTBOUND",
"InstanceId": "ccc-test",
"JobId": "job-6538214103685****",
"ChannelContexts": [
{
"ReleaseInitiator": "1390501****",
"ChannelState": "ANSWERED",
"Destination": "1390501****",
"UserId": "agent@ccc-test",
"ChannelFlags": "MONITORING",
"Timestamp": 1609138903315,
"ReleaseReason": "404 - No destination",
"CallType": "OUTBOUND",
"JobId": "job-6538214103685****",
"ChannelId": "ch:user:1390501****->8032****:1609138902226:job-653821410368****",
"Originator": "0830019****",
"UserExtension": "8032****"
}
]
},
"UserContext": {
"Extension": "8032****",
"Heartbeat": 1609136956378,
"WorkMode": "ON_SITE",
"DeviceId": "ACC-YUNBS-1.0.10-****",
"UserId": "agent@ccc-test",
"Reserved": 1609136956378,
"BreakCode": "Warm-up",
"InstanceId": "ccc-test",
"OutboundScenario": true,
"Mobile": "1324730****",
"JobId": "job-6538214103685****",
"UserState": "TALKING",
"SignedSkillGroupIdList": [
"skillgroup1@ccc-test"
]
}
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Parameter.Blank | The parameter %s may not be null or blank. | 该参数不能为null或含有空白符的字符串。 |
400 | Parameter.Invalid | The parameter %s is invalid. %s. | 该参数无效。 |
404 | NotExists.InstanceId | The specified instance %s does not exist. | 指定的呼叫中心实例不存在。 |
404 | NotExists.JobId | The call %s does not exist. | 指定的通话信息不存在。 |
500 | InternalService.CTI | An internal CTI service error occurred. %s | 内部CTI服务错误。 |
访问错误中心查看更多错误码。