接口描述
1.1、接口调用形式
本接口采用HTTP方式调用如:http://xx.xx.xx/qiongqiapi/
本接口支持POST或GET两种传递参数方式
1.2、返回状态及错误码
【例如:{"status":"200","msg":null,"data":null}】
编号 | 状态 | 返回值 | 说明 |
---|---|---|---|
1 | 200 | success | 调用成功 |
2 | 400 | appid is null | appid不能为空 |
3 | 401 | appsecret is null | 密码不能为空 |
4 | 402 | appkey is null | 应用key不能为空 |
5 | 403 | phone list file is null 或者 phone is null | 拨打手机不能为空 |
6 | 404 | play_url or words is null | 录音播放路径或TTS文字不能为空 |
7 | 405 | appid or appsecret is error | appid或密码错误 |
8 | 406 | app is disable | 应用不可用 |
9 | 407 | app is arrears | 应用已欠费 |
10 | 408 | not support batch submit | 不支持批量提交 |
11 | 409 | app_status is null | 应用状态为空 |
12 | 410 | app_status is not 1 or 2 | 应用不在执行或暂停状态 |
13 | 411 | callday is null | 呼叫日期不能为空 |
14 | 412 | phone is null | 拨打手机不能为空 |
15 | 413 | callday is no "Ymd" | 呼叫日期不是“Ymd”格式 |
16 | 414 | app_play_url is null | 录音文件地址为空 |
17 | 415 | app_play_url non existent | 录音文件地址不在系统列表 |
18 | 416 | play_url too long, max strlen is 100 | 录音文件最大32个字符长度 |
19 | 417 | batch too long, max strlen is 32 | 批次/备注最大32个字符长度 |
20 | 418 | phonelist is null | 号码列表为空 |
21 | 419 | phonelist format error | 号码列表格式错误,应该是号码加逗号,如 18680080001,18681471888 |
22 | 420 | not support wav upload submit | 该应用不支持上传wav或mp3文件 |
23 | 421 | file format no wav or mp3 | 文件格式不是wav或mp3 |
24 | 422 | file too max | 文件太大(不能大于2M) |
25 | 423 | file name not support chinese characters | 只支持中文文件名 |
26 | 424 | file already exists | 文件已存在 |
27 | 425 | mkdir fail | 系统创建文件目录失败、请联系我们 |
28 | 426 | file move fail | 系统移动文件失败、请联系我们 |
29 | 427 | no upload file | 没有上传文件 |
30 | 428 | words is no UTF-8 | 合成文字不是UTF-8编码 |
31 | 429 | sorry, your tts credit is running low | 语音合成点数不够 |
32 | 430 | play_url have chinese characters | play_url 含有中文字符串 |
33 | 431 | short_phone is no number | short_phone 不是数字 |
34 | 432 | remarks is null | 备注名称不能为空 |
35 | 433 | voice error | 录音操作失败 |
36 | 444 | move file fail | 上传文件移动失败 |
37 | 445 | fail insufficient privilege | 没有立刻呼叫权限 |
38 | 446 | nlu_project_id too long, max strlen is 100 | 项目ID模板太长 |
39 | 447 | nlu_project_id have chinese characters | 项目ID包含特殊字符 |
40 | 448 | nlu_project_id is NULL | 项目ID为空 |
41 | 449 | variable is no UTF-8 | AI话术变量格式非UTF-8 |
42 | 450 | ttsstatus is no 0/1/2 | 值只能是0、1、2 |
43 | 451 | ttsstatus is null | 变量合成状态为空,0不用合成的录音、1已经合成、3待合成 |
44 | 452 | variable is null | ttsstatus=2的情况下变量不能为空 |
45 | 453 | maxcall is null | 最大并发数不能为空 |
46 | 454 | maxcall is notnumeric | maxcall 不是数字类型 |
47 | 455 | maxcall > allow_maxcall | 大于最大并发值 |
48 | 456 | tts_info is not json data | tts_info 不是正确的JSON格式字符串 |
49 | 457 | voice or volume or speed or engine variable error | voice 或者 volume 或者 speed 或者 engine 变量为空 |
50 | 458 | variable is not json data | variable 不是正确的JSON格式字符串 |
51 | 459 | xxx is no number | xxx 不是数字字符串 |
52 | 460 | xxx is error | xxx 不是该应用的线路 |
53 | 461 | transfer format is error | 转接数据格式错误 |
54 | 462 | transfer ip format is error | 转接数据的IP格式错误 |
55 | 463 | transfer callerid format is error | 转接数据的callerid格式错误 |
56 | 464 | ip is null | ip 参数为空 |
57 | 465 | callerid_list is null | callerid_list 数据为空 |