添加观看直播白名单
描述
添加观看直播白名单
接口地址
http://e.vhall.com/api/vhallapi/v2/attendee/add-whitelist
请求参数
参数名 | 类型 | 必选 | 说明 |
---|---|---|---|
webinar_id | int | 是 | 9位数字,直播ID |
list | JSON数组 | 是 | 添加的白名单列表,默认添加到此分组下,组名为:“导入”+webinar_id |
接口中必须包含公共请求参数。关于公共请求参数详细内容,请参考 公共请求参数。
list参数
参数名 | 类型 | 说明 |
---|---|---|
name | string | 姓名 |
industry | string | 行业名称 |
string | 邮箱 | |
phone | string | 手机 |
job_number | string | 工号 |
other | string | 其他 |
list示例
[
{
'name' : 'gtest1',
'industry' : 'test1',
'email' : 'test1@sina.com',
'phone' : '12345678901',
'job_number':1,
'other':'333'
},
{
'name' : 'test2',
'industry' : 'test2',
'email' : 'test2@sina.com',
'phone' : '12345678901',
'job_number':1,
'other':'333'
}
]
响应参数
返回形如''{"code":200,"msg":"success","data":[]}''的json。
响应示例
{
"code": 200,
"msg": "success",
"data":[]
}
错误码
code | 含义 |
---|---|
10017 | 直播id为空 |
10010 | 直播不存在 |
10011 | 不是自己的直播 |
10050 | 服务器错误 |