Skip to content

查询组织下人员详情

基本信息

中文名: 查询组织下人员详情

接口名: /mozi/organization/pageOrganizationEmployeePositions

所在目录: 获取通讯录用户信息

调用方式: GET(HTTPS)

请求参数

名称类型是否必填示例值描述
returnTotalSizeBooleantrue是否请求总数,默认是false
pageSizeInteger10分页大小,默认是20,范围0-100
employeeStatusStringA员工状态,A为有效,F为无效,默认是所有
organizationCodeStringGO_123组织code
pageNoInteger1请求起始页,默认是1
tenantIdLong1租户id

返回参数

参数类型示例值说明
_RequestIdString网关请求ID
successBooleantrue网关调用是否成功
errorCodeString0网关错误码
HostIdString网关HostId
CodeString网关Code
errorMsgString网关错误信息
errorLevelString网关错误级别
MessageString网关信息
content.successBooleantrue业务调用是否成功
content.requestIdString业务请求ID
content.responseCodeString0业务响应Code
content.responseMessageString业务响应信息
content.totalSizeNumber102组织下用户总数
content.currentPageNumber1当前页
content.pageSizeNumber10分页大小
content.data[]业务返回值
-employeeNameString张三员工名称
-employeeCodeStringGE_123员工Code
-gmtCreateString2022-05-31 17:11:50员工创建时间
-empGenderString2员工性别,具体参见‘人员数据字典表’
-empPoliticalStatusCodeString01政治面貌,具体参见‘人员数据字典表’
-empJobLevelCodeStringZHI_JI_ZHENG_GUO_JIA_JI职级,具体参见‘人员数据字典表’
-empBudgetedPostCodeStringBIAN_ZHI_GONG_WU_YUAN_BIAN_ZHI编制,具体参见‘人员数据字典表’
-statusStringA人员状态,A 在职; F 离职
-govEmployeePositions[]组织范围下的任职信息(列表)
-govEmployeePositions[].posJobRankCodeStringCENG_CI_GONG_JIA_JI_ZHENG_ZHI职务层次,具体参见‘人员数据字典表’
-govEmployeePositions[].orderInOrganizationNumber1任职在组织内排序
-govEmployeePositions[].mainJobBooleantrue是否主职
-govEmployeePositions[].empPosUnitCodeStringGO_123所在单位Code(content.data.organizationCode对应的组织类型为单位时返回,否则为空)
-govEmployeePositions[].gmtCreateString2022-05-31 17:11:51任职创建时间
-govEmployeePositions[].empPosInnerInstitutionCodeStringGO_123所在内设机构Code(content.data.organizationCode对应的组织类型为内设机构时返回,否则为空)
-govEmployeePositions[].employeeCodeStringGE_123员工Code
-govEmployeePositions[].jobAttributesCodeString1任职属性
-govEmployeePositions[].organizationCodeStringGO_123部门编码
-govEmployeePositions[].empPosVirtualOrganizationCodeStringGO_123所在虚拟组织Code(content.data.organizationCode对应的组织类型为虚拟组织类型时返回,否则为空)
-govEmployeePositions[].statusStringA任职状态,A有效,F无效
-govEmployeePositions[].govEmpPosJobString工程师职务
-govEmployeePositions[].managerStringGE_1243直属主管的人员code