35API
Example
POST uploadFileUrl
https://global.talk-cloud.net/WebAPI/uploadFileUrl
参数
| 参数名 | 是否必填 | 类型 | 说明 |
|---|---|---|---|
| key | 是 | String | 企业Key |
| serial | 否 | String | 房间编号:选填(该字段和thirdroomid必须至少填写一个) |
| thirdroomid | 否 | String | 用户自定义房间号:选填(该字段和serial必须至少填写一个)如果用户创建房间时自定义了房间号,可使用此字段 |
| fileurl | 是 | String | 文件地址(文件类型必须是:xls;.xlsx;.ppt;.pptx;.doc;.docx;.txt;.pdf;.jpg;.gif;.jpeg;.png;.bmp;.mp3;.mp4,.zip。除了html,其它格式都默认转换) |
| isopen | 否 | Int | 是否是公开文档,默认1;0:表示非公开文档 1:表示公开文档 公开文档表示公司的其他房间都可以关联此文档,非公开文档表示只对本房间 |
| dynamicppt | 否 | Int | 是否是动态ppt,默认0; 0: 静态 1: 动态 |
| isdefault | 否 | Int | 是否是缺省显示文件,默认0;0:不是 1:是 只有上传到房间的文件才需要设置 |
| name | 否 | String | 上传文件名称 |
| catalogid | 否 | Int | 文件夹id |
| replacefileid | 否 | Int | 被替换课件id,传值时会将该课件id内容替换成本次上传的内容 |
| 参数名 | 类型 | 描述 |
|---|---|---|
| result | String | 错误码0:成功 -1:失败 (参考页末错误码) |
| fileid | String | 文件id |
返回示例
1 2 3 4 | |




