URL 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 | 手机 |
list示例:
[ { 'name' : 'gtest1', 'industry' : 'test1', 'email' : 'test1@sina.com', 'phone' : '12345678901' }, { 'name' : 'test2', 'industry' : 'test2', 'email' : 'test2@sina.com', 'phone' : '12345678901' } ]
返回形如{“code”:200,”msg”:“success”,”data”:[]}
的json。
{ "code": 200, "msg": "success", "data":[] }
code | 含义 |
---|---|
10017 | 活动id为空 |
10010 | 活动不存在 |
10011 | 不是自己的活动 |
10050 | 服务器错误 |