获取投票主题的详细信息,包括问题、选项,但不包括投票结果。
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/meeting/poll/get_theme_info?access_token=ACCESS_TOKEN
请求包体
{
"operator_userid":"OPENID",
"instance_id":1,
"meetingid":"ID",
"poll_theme_id":"theme1"
}
参数说明:
| 参数 | 必须 | 类型 | 说明 |
|---|---|---|---|
| access_token | 是 | string | 调用接口凭证。获取方法查看“获取access_token” |
| operator_userid | 是 | string | 操作者openid |
| instance_id | 是 | int | 操作者入会设备对应的id |
| meetingid | 否 | string | 会议ID |
| poll_theme_id | 是 | string | 投票主题id |
返回结果:
{
"errcode": 0,
"errmsg": "ok",
"poll_topic": "TITLE",
"poll_desc": "DESC",
"is_anony": 1,
"poll_question_data": [{
"question_desc": "desc",
"question_type": 1,
"option_info": [{
"option_desc": "option"
}]
}]
}
参数说明:
| 参数 | 类型 | 说明 |
|---|---|---|
| errcode | int32 | 返回码 |
| errmsg | string | 对返回码的文本描述内容 |
| poll_topic | string | 投票主题 |
| poll_desc | string | 投票描述 |
| is_anony | int32 | 是否匿名。 0:实名 1:匿名 |
| poll_question_data | object[] | 投票问题数组,详见Question |
Question说明
| 参数 | 类型 | 说明 |
|---|---|---|
| question_desc | string | 问题描述,最多50个字符 |
| question_type | int32 | 问题选择类型。 0:单选 1:多选 |
| option_info | object[] | 选项信息数组,详见Option |
Option说明
| 参数 | 类型 | 说明 |
|---|---|---|
| option_desc | string | 选项描述 |
