curl --location --request GET 'https://api.botgate.cn/v1/manager/organizations//departments/'
dept_path_names
的部门ID root/devid/golangiddept_path_names
的部门ID root/devid/golangid{
"name": "string",
"org_id": "string",
"dept_id": "string",
"parent_id": "string",
"short_no": "string",
"is_created_group": 0,
"sort_num": 0,
"child_count": 0,
"employee_count": 0,
"group_no": "string",
"group_name": "string",
"dept_path_names": "string",
"dept_path_ids": "string",
"supervisor_uid": "string",
"supervisor_name": "string",
"children": [
{}
],
"employees": [
{
"org_id": "string",
"employee_id": "string",
"workforce_type": "string",
"job_title": "string",
"uid": "string",
"employee_name": "string",
"role": 0,
"username": "string",
"remark": "string",
"is_creator": 0,
"idcard": "string",
"entry_time": 0,
"leave_time": 0,
"phone": "string",
"email": "string",
"is_friend": 0,
"sort_num": 0,
"direct_manager_uid": "string",
"direct_manager_name": "string",
"is_supervisor": 0,
"joined_dept_paths": [
"string"
],
"joined_dept_id_paths": [
"string"
],
"joined_deptartments": [
{}
]
}
]
}
扫码加入唐僧叨叨 微信交流群
唐僧叨叨是一款轻量级,高性能,重安全专注于私有化部署的开源即时通讯系统,让企业轻松拥有自己的即时通讯