GetUploadAudioDataParams - 获取离线质检音频相关参数

获取离线质检音频文件相关参数。一般情况下,如果客户在云联络中心中配置了质检功能,则需要离线质检的音频文件和相应的参数会自动传递给智能质检;只有当客户没有在云联络中心中配置质检功能,并且希望自己把联络中心的录音推送给质检时才需要调用此接口获取推送质检录音的相关参数。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求参数

名称类型必填描述示例值
InstanceIdstring

呼叫中心实例 ID

test
ContactIdstring

通话 ID。

job-38860977107324****

返回参数

名称类型描述示例值
object
Codestring

响应码

OK
HttpStatusCodeinteger

HTTP 状态码

200
Messagestring

响应信息。

RequestIdstring

请求 ID,可用于接口的日志查询

03C67DAD-EB26-41D8-949D-9B0C470FB716
Dataobject

数据。

ParamsStrstring

离线质检音频文件相关参数

{ "autoSplit": 1, "appKey": ****, "sampleRate": 8, "callList": [ { "callId": "job-46686139435843****", "validTimes": [ { "begin_time": 0, "end_time": 30720, "speaker_id": "张**" } ], "resolveType": "ali-ACC", "instance": "c****", "callee": "153****", "accUid": 105****967, "callStartTime": 1704870035381, "customerServiceName": "张**", "tid": "2ccd8732-62ed-****b9", "callType": 1, "skillGroupUUID": "skg-default@c****", "caller": "2023****", "customerServicePhone": "80****54", "channels": [ { "speaker_id": "张**", "channel_key": "ch-user-153****-80****54-1704870030317-job-46686139435843****" } ], "sourceType": 1, "channelKey": "ch-user-153****-80****54-1704870030317-job-46686139435843****", "skillGroupName": "金****", "voiceFileUrl": "https://ccc-***.oss-cn-****.aliyuncs.com/ccc-****/c****/2024/01/job-46686139435843****.mkv?Expires=****&OSSAccessKeyId=****&Signature=****", "skillGroupId": 0, "customerServiceId": 203242802**** } ] }

示例

正常返回示例

JSON格式

{
  "Code": "OK",
  "HttpStatusCode": 200,
  "Message": "无",
  "RequestId": "03C67DAD-EB26-41D8-949D-9B0C470FB716",
  "Data": {
    "ParamsStr": "{\n  \"autoSplit\": 1,\n  \"appKey\": ****,\n  \"sampleRate\": 8,\n  \"callList\": [\n    {\n      \"callId\": \"job-46686139435843****\",\n      \"validTimes\": [\n        {\n          \"begin_time\": 0,\n          \"end_time\": 30720,\n          \"speaker_id\": \"张**\"\n        }\n      ],\n      \"resolveType\": \"ali-ACC\",\n      \"instance\": \"c****\",\n      \"callee\": \"153****\",\n      \"accUid\": 105****967,\n      \"callStartTime\": 1704870035381,\n      \"customerServiceName\": \"张**\",\n      \"tid\": \"2ccd8732-62ed-****b9\",\n      \"callType\": 1,\n      \"skillGroupUUID\": \"skg-default@c****\",\n      \"caller\": \"2023****\",\n      \"customerServicePhone\": \"80****54\",\n      \"channels\": [\n        {\n          \"speaker_id\": \"张**\",\n          \"channel_key\": \"ch-user-153****-80****54-1704870030317-job-46686139435843****\"\n        }\n      ],\n      \"sourceType\": 1,\n      \"channelKey\": \"ch-user-153****-80****54-1704870030317-job-46686139435843****\",\n      \"skillGroupName\": \"金****\",\n      \"voiceFileUrl\": \"https://ccc-***.oss-cn-****.aliyuncs.com/ccc-****/c****/2024/01/job-46686139435843****.mkv?Expires=****&OSSAccessKeyId=****&Signature=****\",\n      \"skillGroupId\": 0,\n      \"customerServiceId\": 203242802****\n    }\n  ]\n}"
  }
}

错误码

访问错误中心查看更多错误码。