文档首页> ISDP> API参考> API接口> 人员管理> 查询单个人员信息(API名称:findPersonMoreInfoByPersonCode)
更新时间:2024-01-18 GMT+08:00
分享

查询单个人员信息(API名称:findPersonMoreInfoByPersonCode)

功能介绍

用于查询单个人员信息。

相关接口

接口名称

调用说明

获取Token

调用该接口获取到Token,再调用其他接口时,需要在请求消息头中添加“Authorization”,其值即为Token。

URL

请求方式

HTTPS地址

服务架构

消息体类型

POST

https://isdp+域名/openapi/v1/person/findPersonMoreInfoByPersonCode

OpenAPI

application/json

请求头

KEY

VALUE

是否必填

描述

Content-Type

application/json

Authorization

bearer ${access_token}

bearer +“ ”+5.2.1中获取的access_token的值

请求参数

参数

类型

是否必填

描述

personCode

String

人员编码

响应参数

参数

类型

描述

status

int

状态

entityName

String

实体名称

appName

Sring

应用名称

lastUpdateDate

String

最后更新时间

lastUpdatedBy

String

最后更新人

creationDate

String

创建时间

createdBy

String

创建人

deleteFlag

int

删除标志

integrationAccount

String

集成账户

userId

Long

用户ID

account

String

账户

adminOrgId

Long

所属行政组织

phone

String

电话号码

email

String

邮箱

tenantId

Long

租户ID

personType

String

人员类型

qualificationCode

String

人员资质(多个值用逗号分隔)

personName

String

人员姓名

lastName

String

firstName

String

personCode

String

人员编码

personId

Long

人员id

personStatus

String

人员状态

profilePictureStatus

String

证件照状态

profilePictureId

String

证件照id

udfExtend1

String

扩展字段1

udfExtend2

String

扩展字段2

udfExtend3

String

扩展字段3

udfExtend4

String

扩展字段4

udfExtend5

String

扩展字段5

phoneHash

String

电话加密结果

emailHash

String

邮箱加密结果

isSmartDevice

String

是否是智能设备

udfExtend7

String

扩展字段7

udfExtend8

String

扩展字段8

udfExtend9

String

扩展字段9

udfExtend10

String

扩展字段10

registerFace

int

0 未注册,1 已注册

blackList

int

黑名单 0:否 1:是

reason

String

原因

orgPath

String

组织单元路径

language

String

人员语言

countryCode

String

国家码

certificateType

String

证件类型

certificateNo

String

证件号码

userRole

List<UserRoleModel>

角色信息

extendInfo

String

扩展信息(JSON字符串)

personQual

List<PersonQualModel>

技能信息

personGroup

List<PersonGroupModel>

人员所在小组信息

UserRoleModel:

参数

类型

描述

relationId

Long

关系Id

userId

Long

用户Id

role

Map<String, Object>

角色

id

Long

角色id

roleId

Long

角色id

value

String

角色名称

roleName

String

角色名称

roleNo

String

角色编号

deletFlag

Int

删除标志

PersonQualModel:

参数

类型

描述

personQualId

Long

人员资质id

personQualPictureId

String

资质照片id

personQualPictureStatus

String

资质采集状态

personQualCode

String

人员资质编码

personQualName

String

人员资质名称

validPeriod

String

资质有效期

SkillId

Long

技能id

startDate

String

开始时间

endDate

String

结束时间

creationDate

String

创建时间

skillLevelCode

String

技能等级编码

skillLevelName

String

技能等级名称

skillCode

String

技能编码

skillName

String

技能名称

skillDomainCode

String

技能领域编码

skillDomainName

String

技能领域名称

personId

Long

人员ID

hireStatus

Integer

聘用状态,用1表示在聘,0表示未在聘

certificateCode

String

证书编码

PersonGroupModel:

参数

类型

描述

personGroupId

Long

分组id

personGroupName

String

分组名称

personGroupCode

String

分组编码

personGroupType

String

分组类型

level

int

分组层级

description

String

描述

parentGroupId

Long

归属班组id

operationQualIds

String

作业资质id列表,逗号分隔

leaderId

Long

组长人员id

请求示例

{
    "personCode": "18616681081"
}

响应示例

{
    "status": "success",
    "msg": null,
    "data": {
        "status": 0,
        "entityName": "person",
        "appName": "pub-server",
        "lastUpdateDate": "2023-08-14T23:59:40.000+08:00",
        "lastUpdatedBy": -1,
        "creationDate": "2021-07-09T09:30:41.000+08:00",
        "createdBy": 2736,
        "deleteFlag": 0,
        "integrationAccount": null,
        "userId": 2736,
        "account": null,
        "adminOrgId": 1318,
        "phone": "18616681081",
        "email": null,
        "tenantId": 1,
        "personType": "Employee",
        "qualificationCode": null,
        "personName": "韩斌测试1",
        "lastName": null,
        "firstName": null,
        "personCode": "18616681081",
        "personId": 190148,
        "personStatus": "OpenAccount",
        "profilePictureStatus": "CollectionSucceeded",
        "profilePictureId": "1319567",
        "udfExtend1": "test",
        "udfExtend2": "PROJECT",
        "udfExtend3": null,
        "udfExtend4": null,
        "udfExtend5": "2022-09-28T00:00:00.000+08:00",
        "phoneHash": "d49f7367557b1b60739ea688b4f4627bfa7f7efbb38a8ad0b95ae6995ed481e3e46647633c4c09107035bc238e0b02756b36ca2223268b51d1bc79c16e1e3e86",
        "emailHash": null,
        "isSmartDevice": "N",
        "udfExtend7": null,
        "udfExtend8": null,
        "udfExtend9": null,
        "udfExtend10": null,
        "registerFace": 0,
        "blackList": 0,
        "reason": null,
        "orgPath": "null.1318",
        "language": "zh_CN",
        "countryCode": null,
        "certificateType": null,
        "certificateNo": null,
        "certificateNoHash": null,
        "userRole": [
            {
                "relationId": 101080,
                "userId": 2736,
                "role": {
                    "id": 100001,
                    "roleId": 100001,
                    "value": "人员管理",
                    "roleName": "人员管理",
                    "roleNo": "person",
                    "deleteFlag": 0
                },
                "permanentFlagStr": "1",
                "permanentFlag": 1,
                "beginDateStr": "2021-12-27",
                "beginDate": "2021-12-27 00:00:00",
                "endDateStr": "2022-12-27",
                "endDate": "2022-12-27 23:59:59"
            },
            {
                "relationId": 101250,
                "userId": 2736,
                "role": {
                    "id": 101403,
                    "roleId": 101403,
                    "value": "9686.445217992365",
                    "roleName": "9686.445217992365",
                    "roleNo": "9686.445217992365",
                    "deleteFlag": 0
                },
                "permanentFlagStr": "1",
                "permanentFlag": 1,
                "beginDateStr": "2021-12-27",
                "beginDate": "2021-12-27 00:00:00",
                "endDateStr": "2022-12-27",
                "endDate": "2022-12-27 23:59:59"
            },
            {
                "relationId": 101378,
                "userId": 2736,
                "role": {
                    "id": -998,
                    "roleId": -998,
                    "value": "Admin",
                    "roleName": "Admin",
                    "roleNo": "Admin",
                    "deleteFlag": 0
                },
                "permanentFlagStr": "1",
                "permanentFlag": 1,
                "beginDateStr": "2021-12-27",
                "beginDate": "2021-12-27 00:00:00",
                "endDateStr": "2023-12-27",
                "endDate": "2023-12-27 23:59:59"
            }
        ],
        "extendInfo": [],
        "personQual": [
            {
                "personQualId": 5000088,
                "personQualPictureId": null,
                "personQualPictureStatus": null,
                "personQualCode": "First aid",
                "personQualName": "急救证",
                "validPeriod": "1_days",
                "skillId": 60001,
                "startDate": "2023-07-28",
                "endDate": "2023-07-29",
                "creationDate": "2023-07-28T19:07:51.000+08:00",
                "skillLevelCode": "DJ202106001",
                "skillLevelName": "1级",
                "skillCode": "First aid",
                "skillName": "急救证",
                "skillDomainCode": "LY202106001",
                "skillDomainName": "ugagu",
                "personId": 190148,
                "hireStatus": null
            }
        ],
        "personGroup": [
            {
                "personGroupId": 100028,
                "personGroupName": "123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890",
                "personGroupCode": "12345678901234567890123456789012345678901234567890",
                "personGroupType": "",
                "level": 1,
                "description": "",
                "operationQualIds": null
            }
        ]
    },
    "failed": false,
    "success": true
}
分享:

    相关文档

    相关产品