创建云会议帐号
一、 接口描述
1.接口名称:
2.发送方式:
POST
3.参数格式:
accept: application/json;content-type: application/json
二、 输入参数
参数名 | 必选 | 类型 | 说明 |
---|---|---|---|
appId | 是 | int | 应用ID,请传递6 |
username | 是 | string | 管理员用户名 |
password | 是 | string | 管理员密码 |
hostUserId | 是 | int | 创建账号依赖的模板用户ID |
account_userName | 是 | string | 新开账号的用户姓名 |
account_userEmail | 是 | string | 电子邮箱 |
account_userPassword | 否 | string | 指定账号密码(非必填),新开账号的预设密码 |
AccountSiteUrl | 否 | string | 站点url |
AccountType | 否 | int | 1:账号(有主持人权限,可以预约会议,会强制开启电话语音的外呼权限)2. 用户(只参加会议) 如果不填写默认创建与HostUserId的是否具有主持人权限一致。 |
account_countryCode | 否 | string | 国家码,传空时默认86 |
account_userMobile | 否 | string | 手机(非必填),新开账号的手机号码 |
account_company | 否 | string | 公司名称(非必填) |
AccountUserTel | 否 | string | 用户联系电话(非必填),新开账号的电话号码 |
language | 否 | string | 帐号语言(中文:zh-cn 英文:en) |
confScale | 否 | int | 会议方数,允许入会的最大人数(非必填,当accountType=1,appId =6时才有效) |
allowHostCall | 否 | int | 是否允许主持人自我外呼(非必填,当accountType=1,appId =6时才有效) 0:不允许主持人自我外呼,1:允许主持人自我外呼(默认) |
allowAttendeeCall | 否 | int | 是否允许参会人自我外呼(非必填,当accountType=1,appId =6时才有效) 0:不允许参会人自我外呼 1:允许参会人自我外呼 (默认) |
callbackUrl | 否 | string | PC3.0账号开通成功的回调地址(账号开通后,以Post方式回调该地址,通知账号可用,空值默认不回调) |
三、 示例
返回示例
{
"status": 0,
"result": {
"userId": 87670835,
"passwd": "PhP5531"
},
"request_id": "confopenapiserver-192.168.22.58-1598340812.762903000.887",
"timestamp": 1598340812762,
"callSeq": "",
"content_type": "application/json",
"request_duration": "3.899501601s"
}
四、返回参数
参数名 | 类型 | 说明 |
---|---|---|
status | int | 0:成功,非0失败 |
result | json字符串 | 成功的结果 |
userId | int | 新创建账号对应的userID |
passwd | string | 新创建账号的登录密码 |
备注
更多返回错误代码请看首页的错误代码描述