ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
# 获取培训计划详情 |拥有此API的权限集| |:---- | |培训计划管理-查询培训计划信息 | **请求方式及url** - 请求方式:`POST ` - 请求头:`Content-Type:application/json` - 接口地址:` https://api.xiaoe-tech.com/xe.training_plan_detail.get/1.0.0` - 频率限制: `10秒500次` {% api method="POST", data={ "access_token": "xe_xxxxx", "id": "1" }, url="https://api-doc.xiaoe-tech.com/_agent/forward?url=https://api.xiaoe-tech.com/xe.training_plan_detail.get/1.0.0" %} {% endapi %} **请求参数** |参数名|必选|类型|说明|备注(示例)| |:---- |:---|:----- |----- |:---------------------| |access_token |是 |string |[专属token](./../get_access_token.md) |`...`| |id |是 |string | 培训计划id | `...`| **请求示例** ``` { "access_token": "xe_xxxxx", "id": "1" } ``` **返回参数说明** |参数名|类型|说明| |:----- |:-----|----- | |code |int |0-成功;-1-参数错误;-3-请求调用失败; | |msg |string |提示信息 | |data.id |string |培训计划id | |data.title |string |培训计划名称 | |data.summary |string |培训计划简介 | |data.img_url |string |培训计划封面 | |data.img_url_compressed_larger |string |培训计划封面压缩大图 | |data.img_url_compressed |string |培训计划封面压缩图 | |data.org_content |string |培训计划详情 | |data.lesson_start_at |string |培训计划开始时间 | |data.lesson_stop_at |string |培训计划结束时间 | |data.join_count |string |培训计划指派人数 | |data.created_at |string |培训计划创建时间 | |data.updated_at |string |培训计划更新时间 | |data.task_type |int |培训计划任务类型(0-自由模式,1-日期解锁模式,2-闯关模式) | |data.term_state |int |培训计划任务状态, 3-未开始, 4-进行中, 5-已结束 | |data.certificate_name |string |培训计划证书名称 | |data.certificate_id |string |培训计划证书id | |data.task_list.id |string |培训计划任务id | |data.task_list.title |string |培训计划任务名称 | |data.task_list.resource_type |int |培训计划任务类型 | |data.task_list.order_weight |int |培训计划任务排序 | |data.task_list.created_at |string |培训计划任务添加时间 | |data.task_list.updated_at |string |培训计划任务更新时间 | |data.task_list.children.id |string |任务资源id | |data.task_list.children.type |int |任务资源类型 | |data.task_list.children.type_name |string |任务资源类型名称 | |data.task_list.children.title |string |任务资源标题 | **返回示例** ``` { "code": 0, "msg": "success", "data": { "id": "term_5fe6f42fa6f5e_Gts2mw", "title": "企培2.0测试一(勿改)", "summary": "用于企培2.0测试的培训计划", "img_url": "http://wechatapppro-1252524126.file.myqcloud.com/app9Ih8LElf5702/image/kj5flnuy0yaltexvwbc.jpg", "img_url_compressed_larger": "http://wechatapppro-1252524126.file.myqcloud.com/app9Ih8LElf5702/image/compress/640480431kj5flnuy0yaltexvwbc.jpg", "img_url_compressed": "http://wechatapppro-1252524126.file.myqcloud.com/app9Ih8LElf5702/image/compress/414320909kj5flnuy0yaltexvwbc.jpg", "org_content": "<ol class=\" list-paddingleft-2\" style=\"list-style-type: decimal;padding-left:30px;\"><li><p>用于企培2.0测试的培训计划</p></li><li><p>用于企培2.0测试的培训计划</p></li><li><p>用于企培2.0测试的培训计划<br/></p></li></ol>", "lesson_start_at": "2020-12-26 00:00:00", "lesson_stop_at": "2020-12-28 00:00:00", "join_count": 0, "created_at": "2020-12-26 16:28:33", "updated_at": "2021-03-15 17:30:39", "task_type": 0, "term_state": 5, "certificate_name": "结课证书", "certificate_id": "cer_sNJfW0N1FF3jpD05", "task_list": [ { "id": "sect_x9DsvB7abhCENmyq", "title": "计划一-第一节", "order_weight": 1, "created_at": "2020-12-26 16:28:33", "updated_at": "2020-12-26 16:28:33", "children": [ { "id": "i_5f323f2060b28eac34bdb1fb", "type": 1, "type_name": "图文", "title": "一分钟了解企学院" }, { "id": "a_5f6c5b5160b2bccfca150bf0", "type": 2, "type_name": "音频", "title": "123123" }, { "id": "p_5fb76ab560b225d85fcea478", "type": 33, "type_name": "采购课", "title": "测试免费01" }, { "id": "th_05fe6f3b158f73_wAKnd9j", "type": 28, "type_name": "日历打卡", "title": "日历打卡主题" } ] } ] } } ```