AI写作智能体 自主规划任务,支持联网查询和网页读取,多模态高效创作各类分析报告、商业计划、营销方案、教学内容等。 广告
# 企学院获取部门信息 |拥有此API的权限集| |:----- | | 学员管理-查询组织学员信息(限企学院) | **请求方式及url** - 请求方式:`POST` - 请求头:`Content-Type:application/json` - 接口地址:`https://api.xiaoe-tech.com/xe.college.department.info/1.0.0` - 频率限制:`10秒3000次` {%     api      method="POST",     data={ "access_token":"xe_xxx", "department_id":1 },     url="https://api-doc.xiaoe-tech.com/_agent/forward?url=https://api.xiaoe-tech.com/xe.college.department.info/1.0.0" %}  {% endapi %} **请求参数** |参数名 |必选 |类型 |说明 | |:---- |:--- |:----- |:----- | |access_token |是 |string | [专属token](./../get_access_token.md) | |department_id |是 |int |部门id | **请求示例** ``` { "access_token":"xe_xxx", "department_id":1 } ``` **返回参数** |参数名 |类型 |说明 | |:---- |:--- |:----- | |code |int | 错误码 | |msg |string | 错误描述 | |data |object | 返回数据 | 返回数据`data` |参数名 |类型 |说明 | |:---- |:--- |:----- | |department_id |string |所属部门id | |id |string |id | |name |string |部门名称 | |parent_id |string |父id | |parent_name |string |父部门名称 | |sort |int |排序 | |total_employees|int |部门中的员工数量 | |type |string |部门类型 | **返回示例** ``` { "code": 0, "msg": "OK", "data": { "name": "name", "department_id": "1", "parent_id": "1", "sort": 100000000, "parent_name": "name", "totol_employees": 63, "id": "1", "type": "group" } } ```