云客服-上传语音通知的文字转语音模板文件(createVoiceTemplate):报文样例

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

报文样例

请求头:

Content-Type:application/jsonAuthorization:Bearer XXXXXXXXXXXXXXXXXXXXXXXX-APP-Key:XXXXXXXXXXXXXXXXXXXXXXX

请求参数:

{     "name":"ctest1",     "scene":"3",     "volume":0,    "speed":50,     "voicename":"cn_kefuman_cn",     "callBackUrl" : "http://10.134.227.74:18133/upload",     "voicecontent":{             "language":"zh_CN",             "textcontent":"测试"     } }

响应参数:

{   "returnCode": "0",   "description": "The file is uploaded successfully.",   "templateId": "1249756280719641601" }

回调URL样例报文:

//请求参数{    "fileId": "1323606152730207249",    "status": "2",    "comment": "审核通过"}//响应参数{    "returnCode": "0"}
support.huaweicloud.com/api-ccfs-cec/cec_05_7154.html