1. 开放平台-组织人事接口
组织人事
  • 开放平台-组织人事接口
    • 开放平台认证步骤
    • 同步人员
      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
    • 查询虚拟维度人员
      POST
    • 清理组织人事缓存
      POST
    • 清理矩阵中无效数据
      POST
    • 查询职务
      POST
    • 查询职务类别
      POST
  1. 开放平台-组织人事接口

人员查询

POST
/api/hrm/restful/queryEmployee
当前接口默认查询: 在职的(userStatusList)、内部的、未删除的人员;如果不希望默认请按照文档提供参数即可。

请求参数

Body 参数application/json

示例
{
    "jobNumList":["RYGH5612"],
    "containEmployeeExtend":true
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
cURL
curl --location '/api/hrm/restful/queryEmployee' \
--header 'Content-Type: application/json' \
--data '{
    "jobNumList":["RYGH5612"],
    "containEmployeeExtend":true
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "message": {
        "errcode": "0",
        "errmsg": "success"
    },
    "data": {
        "current": 1,
        "total": 1,
        "data": [
            {
                "employeeExtend": {
                    "802830263522590723": {
                        "title": "单行文本",
                        "value": "aassff"
                    }
                },
                "education": {
                    "id": "767257884333465620",
                    "name": "高中及以下"
                },
                "accumfundaccount": "sss",
                "nation": {
                    "id": "767257884333465630",
                    "name": "汉族"
                },
                "residence_place": "1122",
                "modifier": "2226184113539534645",
                "active_date": "2022-12-12",
                "type": "inside",
                "bankid": "798795283734192129",
                "id_no": "342401198802051876",
                "bank_accountname": "aass",
                "id": "805851627118034951",
                "bank_account": "aaas",
                "created": "2022-12-12",
                "degree": {
                    "id": "767257884333465627",
                    "name": "博士"
                },
                "first_work_date": "2022-12-17",
                "work_year": 0,
                "formdata": "807746708413734913",
                "login_status": "invited",
                "native_place": "安徽省",
                "last_update_time": "2022-12-17",
                "pinyin": "anbang,anbeng",
                "user_id": "2227082695389976109",
                "child_status": "ffss",
                "birthday": "1988-02-05",
                "tenant_key": "t7emfkqmmm",
                "family_contact": "3344",
                "sec_level": 0,
                "update_time": "2022-12-17",
                "job_num": "RYGH5612",
                "department": "2226184113543634646",
                "logogram": "ab",
                "personnel_status": "5",
                "im_uid": "805851627118034951",
                "household_type": {
                    "id": "767257884333465611",
                    "name": "本市城镇"
                },
                "graduate_school": "aaass",
                "marital_status": "married",
                "politics_status": {
                    "id": "767257884333465615",
                    "name": "党员(含预备党员)"
                },
                "age": 34,
                "username": "安蚌"
            }
        ],
        "pageSize": 100
    }
}
修改于 2026-08-27 05:50:50
上一页
分部自定义字段信息
下一页
组织查询
Built with