- 开放平台-组织人事接口
- 开放平台认证步骤
- 同步人员POST
- 同步部门POST
- 同步分部POST
- 同步岗位POST
- 同步条件矩阵数据POST
- 同步兼职信息POST
- 封存部门POST
- 解封部门POST
- 人员返聘POST
- 基本信息自定义字段信息POST
- 部门自定义字段信息POST
- 分部自定义字段信息POST
- 人员 查询POST
- 组织查询POST
- 岗位查询POST
- 条件矩阵-保存数据POST
- 条件矩阵-删除数据POST
- 条件矩阵-条件查询取值POST
- 条件矩阵-生产视图创建语句(兼容E9)POST
- 批量新增职务POST
- 同步职称POST
- 群组列表查询POST
- 批量删除群组POST
- 新增或修改群组POST
- 批量封存/解封群组POST
- 群组成员查询接口POST
- 新增群组成员POST
- 删除群组成员POST
- 添加群组可见范围POST
- 更新群组可见范围项POST
- 删除群组可见范围项POST
- 根据组织或者人员查询全路径数据POST
- 同步人力共享权限数据POST
- 同步职级POST
- 同步外部联系人POST
- 同步外部企业POST
- 同步外部部门POST
- 同步虚拟维度人员POST
- 查询虚拟维度人员POST
根据组织或者人员查询全路径数据
开发中
POST
/api/hrm/restful/department_link_allpath/getData
版本:0501基线+支持
请求参数
Body 参数application/json
ids
array[string]
组织id列表
employeeIds
array[string]
人员id列表
employeeOrgType
string
人员组织类型
pathOrderType
string
全路径顺序
示例
{
"ids": [
"string"
],
"employeeIds": [
"string"
],
"employeeOrgType": "string",
"pathOrderType": "string"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/hrm/restful/department_link_allpath/getData' \
--header 'Content-Type: application/json' \
--data-raw '{
"ids": [
"string"
],
"employeeIds": [
"string"
],
"employeeOrgType": "string",
"pathOrderType": "string"
}'
返回响应
🟢200成功
application/json
Body
code
integer
请求状态编码
msg
string
请求信息
status
boolean
状态
data
object
数据内容
$id
array [object {6}]
组织id或者人员id,动态值
示例
{
"code": 200,
"msg": "接口返回成功",
"status": true,
"data": {
"992805583600967681": [
{
"subcompanyid": "922786458314588161",
"code": "0000",
"name": "泛微",
"id": "922786458314588161",
"fullname": "泛微(全黎)",
"disporder": -99
}
],
"4261500958268885673": [
{
"subcompanyid": "922786458314588161",
"code": "0000",
"name": "泛微",
"id": "922786458314588161",
"fullname": "泛微(全黎)",
"disporder": -99
},
{
"subcompanyid": "922786458314588161",
"code": "DEPT003",
"name": "需求分析部",
"id": "4261500958227885672",
"disporder": 1000001
}
]
},
"fail": false
}
修改于 2024-06-03 09:51:09