该接口用于获取指定的待办详情。
请求方式: POST(HTTPS)
请求地址: https://qyapi.weixin.qq.com/cgi-bin/todo/get?access_token=ACCESS_TOKEN
请求包体:
{
"todo_id": "17c7d2bd9f20d652840f72f59e796AAA"
}
参数说明:
| 参数 | 是否必须 | 说明 |
|---|---|---|
| access_token | 是 | 调用接口凭证。获取方法查看“获取access_token” |
| todo_id | 是 | 待办ID |
返回结果:
{
"errcode": 0,
"errmsg": "ok",
"content": "完成述职PPT",
"creator": "zhangsan",
"status": 1,
"create_time": 177777777,
"attendees": [
{
"userid": "lisi",
"status": 0
},
{
"userid": "zhangsan",
"status": 1
}
],
"end_time": 17777777,
"reminders": [
{
"remind_time": 17777777
}
]
}
参数说明:
| 参数 | 类型 | 说明 |
|---|---|---|
| errcode | int32 | 返回码 |
| errmsg | string | 错误码描述 |
| content | string | 待办内容 |
| creator | string | 待办创建人ID |
| status | int32 | 待办状态。 0 - 已完成 1 - 进行中 |
| create_time | int32 | 待办创建时间戳 |
| attendees.userid | string | 待办参与人ID |
| attendees.status | int32 | 参与人的待办状态 0 - 完成 1 - 进行中 |
| end_time | int32 | 待办截止时间戳 |
| reminders.remind_time | int32 | 提醒时间戳 |
