企业内部开发 服务端API 会议 会中控制管理 创建会议投票主题
创建会议投票主题
最后更新:2023/05/30
可联系渠道经理采购或代理智慧硬件接口已支持设备 联系渠道经理
创建会议投票主题
最后更新:2023/05/30

为指定的会议创建投票。该接口支持多问题投票。

仅进行中的会议可以调用该接口
操作者是主持人或者会议管理员

请求方式: POST(HTTPS
请求地址: https://qyapi.weixin.qq.com/cgi-bin/meeting/poll/create_theme?access_token=ACCESS_TOKEN

请求包体

{
	"operator_userid":"OPENID",
	"instance_id":1,
	"meetingid": "ID",
	"poll_topic": "TOPIC",
	"poll_desc": "desc",
	"is_anony": 1,
	"poll_questions": [{
		"question_type": 1,
		"question_desc": "DESC",
		"poll_option": ["OPTION1", "OPTION2"]
	}]
}

参数说明:

参数必须类型说明
access_tokenstring调用接口凭证。获取方法查看“获取access_token
operator_useridstring操作者的openid
instance_idint操作者入会所用的设备id
meetingidstring会议ID
poll_topicstring投票主题,最多50个字符。
poll_descstring投票主题描述,最多100个字符。
is_anonyint32是否匿名。
0:实名,默认值
1:匿名
poll_questionsobject[]投票问题数组,每个投票支持添加10个问题。详见Question

Question说明

参数必须类型说明
question_descstring问题描述,最多50个字符。
question_typeint32问题选择类型。
0:单选
1:多选
poll_optionstring[]每个问题支持添加10个选项,最少为2个选项。每个选项最多支持36个字符。

返回结果:

{
	"errcode": 0,
	"errmsg": "ok",
	"poll_theme_id":"theme1"
}

参数说明:

参数类型说明
errcodeint32返回码
errmsgstring对返回码的文本描述内容
poll_theme_idstring投票主题 ID

 

上一篇
结束会议
下一篇
修改会议投票主题