企学院获取组织架构
POST
https://api.xiaoe-tech.com/xe.college.department.get/1.0.0
拥有此API的权限集 |
---|
学员管理-查询组织学员信息(限企学院) |
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.xiaoe-tech.com/xe.college.department.get/1.0.0' \
--header 'Content-Type: application/json' \
--data-raw '{
"access_token":"xe_xxx",
"fetch_child":0,
"department_id":1
}'
响应示例响应示例
{
"code": 0,
"msg": "OK",
"data": [
{
"department_id": "19",
"name": "name",
"parent_id": "1",
"sort": 0,
"user_num": -1,
"children": [
{
"department_id": "24",
"name": "子部门3",
"parent_id": "19",
"sort": 0,
"user_num": -1,
"children": []
}
]
}
]
}
请求参数
Body 参数application/json