简要描述
请求URL
http://notice.v-call.cn/api/template/list?token=token-588d10b8-91a6-11ea-85e23212312312&pageNo=1&pageSize=10
请求方式
返回示例
{
"msg": "success",
"code": 0,
"data": {
"pageNo": 1,
"pageSize": 10,
"total": 5,
"pages": 1,
"list": [
{
"params": null,
"voiepath": "conv/20210412/652007f5-2ad3-4cf6-9512-8b5812bd22f9.mp3",
"templateSn": xxxxxxxxxx,
"name": "测试模板2222112",
"status": 3,
"descr": "审核通过",
"content": null
}
]
}
}
返回参数说明
参数名 |
类型 |
说明 |
msg |
string |
返回说明 |
code |
string |
返回码 |
data |
object |
返回数据 |
├ pageNo |
number |
页号 |
├ pageSize |
number |
每页条数 |
├ total |
number |
总条数 |
├ pages |
number |
总页数 |
└ list |
array |
模板列表 |
├ params |
array |
模板参数 |
├ voiepath |
string |
模板音频文件 |
├ template_sn |
string |
模板sn |
├ name |
string |
模板名称 |
├ status |
string |
模板状态,1:草稿,2待审核,3审核通过,4拒审 |
├ descr |
string |
说明 |
├ content |
string |
tts语音内容(文本类型模板有效) |
├ caller |
string |
主叫号 |
├ volume |
number |
音量(文本类型模板有效) |
├ pitch |
number |
语调(文本类型模板有效) |
└ speech |
number |
语速(文本类型模板有效) |
备注