云客服-录音下载接口:接口URI

时间:2023-11-01 16:19:55

接口URI

https://ip:port/agentgateway/resource/recordfile/{agentid}?recordId= xxx&filetype=1

例:https://ip:port/agentgateway/resource/recordfile/102?recordId=y:\1\0\20181217\120\1524488.V3

其中,ip为CC-Gateway服务器地址,port为CC-Gateway服务器的HTTPS端口号。

表1 URI中携带的参数说明

序号

名称

参数类型

是否必选

说明

1

agentid

string

True

签入的座席id。

2

recordId

string

True

录音文件的路径和名称。

录音文件的路径和名称是在触发了AgentMediaEvent_Record时生成的,在fileName中返回。

录音文件路径格式详见下方说明。

3

filetype

string

False

录音文件类型:

1:座席通话录音

2:IVR留言录音或者第三方留言录音文件

说明:

1.IVR录音留言录音文件路径格式为:盘符:/vdn编号/record/****

例:y:/1/record/20190412/playvoice1551276018824.wav

2.第三方留言录音文件路径格式为:盘符:/3rdfile/vdn编号/record/***

例:y:/3rdfile/1/record/20190408/515/1633022.V3

默认为座席通话录音

4

locationId

number

False

节点Id(CTI POOL模式下为必选),在触发了AgentMediaEvent_Record时生成。

support.huaweicloud.com/api-ccfs-cec/cec_05_6014.html