GetUploadAudioDataParams
Retrieves the parameters related to audio files for offline quality inspection. Typically, if you configure the quality inspection feature in Cloud Call Center, the audio files and corresponding parameters required for offline quality inspection are automatically passed to the quality inspection service. You need to call this operation to obtain the parameters for pushing quality inspection recordings only when you have not configured the quality inspection feature in Cloud Call Center and want to manually push Cloud Call Center recordings to the quality inspection service.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
No |
The instance ID of the Cloud Call Center. |
test |
| ContactId |
string |
Yes |
The ID of the call. |
job-38860977107324**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The response code. |
OK |
| Data |
object |
The data. |
|
| ParamsStr |
string |
The parameters related to audio files for offline quality inspection. |
{ "autoSplit": 1, "appKey": ****, "sampleRate": 8, "callList": [ { "callId": "job-46686139435843****", "validTimes": [ { "begin_time": 0, "end_time": 30720, "speaker_id": "Zhang**" } ], "resolveType": "ali-ACC", "instance": "c****", "callee": "153****", "accUid": 105****967, "callStartTime": 1704870035381, "customerServiceName": "Zhang**", "tid": "2ccd8732-62ed-****b9", "callType": 1, "skillGroupUUID": "skg-default@c****", "caller": "2023****", "customerServicePhone": "80****54", "channels": [ { "speaker_id": "Zhang**", "channel_key": "ch-user-153****-80****54-1704870030317-job-46686139435843****" } ], "sourceType": 1, "channelKey": "ch-user-153****-80****54-1704870030317-job-46686139435843****", "skillGroupName": "Jin****", "voiceFileUrl": "https://ccc-***.oss-cn-****.aliyuncs.com/ccc-****/c****/2024/01/job-46686139435843****.mkv?Expires=****&OSSAccessKeyId=****&Signature=****", "skillGroupId": 0, "customerServiceId": 203242802**** } ] } |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Message |
string |
The response message. |
None |
| RequestId |
string |
The request ID, which is active for log query of the API operation. |
03C67DAD-EB26-41D8-949D-9B0C470FB716 |
Examples
Success response
JSON format
{
"Code": "OK",
"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=****&=****\",\n \"skillGroupId\": 0,\n \"customerServiceId\": 203242802****\n }\n ]\n}"
},
"HttpStatusCode": 200,
"Message": "无",
"RequestId": "03C67DAD-EB26-41D8-949D-9B0C470FB716"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.