GetUploadAudioDataParams

更新时间:
复制 MD 格式

Obtain the parameters related to offline quality inspection audio files. Normally, if the Customer has configured the quality inspection feature in Cloud Contact Center, the audio files requiring offline quality inspection and their corresponding parameters are automatically passed to Intelligent Quality Inspection. You only need to invoke this API to obtain the parameters for pushing quality inspection recordings when the Customer has not configured the quality inspection feature in Cloud Contact Center and wishes to manually push Cloud Contact Center call recordings to the quality inspection system.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

No

Cloud Contact Center instance ID.

test

ContactId

string

Yes

Call ID.

job-38860977107324****

Response elements

Element

Type

Description

Example

object

Code

string

Response code.

OK

HttpStatusCode

integer

HTTP status code

200

Message

string

Response message.

RequestId

string

Request ID, which can be used for LogSearch of the API.

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

Data

object

Data.

ParamsStr

string

Parameters related to offline quality inspection audio files.

{ "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**** } ] }

Examples

Success response

JSON format

{
  "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}"
  }
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.