Skip to content

批量获取员工在该组织的任职

基本信息

中文名: 批量获取员工在该组织的任职

接口名: /mozi/employee/listOrgEmployeePositionsByCodes

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

调用方式: POST(HTTPS)

请求参数

名称类型是否必填示例值描述
tenantIdLong1租户Id
organizationCodeStringGO_123组织 Code
employeeCodesList<String>[“GE_123”,“GE_abc”]员工 Code 列表最多100个

返回参数

参数类型示例值说明
_RequestIdString网关请求ID
successBooleantrue网关调用是否成功
errorCodeString0网关错误码
HostIdString网关HostId
CodeString网关Code
errorMsgString网关错误信息
errorLevelString网关错误级别
MessageString网关信息
content.successBooleantrue业务调用是否成功
content.requestIdString业务请求ID
content.responseCodeString0业务响应Code
content.responseMessageString业务响应信息
content.data[]业务返回值
content.data.organizationCodeStringGO_123组织code
content.data.employeeCodeStringGE_123人员Code
content.data.mainJobBooleantrue是否员工主任职
content.data.statusStringA任职状态
content.data.gmtCreateString2021-02-08 10:57:19创建时间
content.data.govEmpPosPhoneNoString1111111办公电话
content.data.orderNumber1任职序号
content.data.orderInOrganizationNumber1组织内排序
content.data.govEmpPosAddressString东南路102号办公地址
content.data.govEmpPosJobString工程师任职
content.data.empPosUnitCodeStringGO_123所在单位Code(content.data.organizationCode对应的组织类型为单位时返回,否则为空)
content.data.empPosInnerInstitutionCodeStringGO_123所在内设机构Code(content.data.organizationCode对应的组织类型为内设机构时返回,否则为空)
content.data.empPosDepartmentCodeStringGO_123所在部门Code(content.data.organizationCode对应的类型为内设部门时返回,否则为空)
content.data.empPosVirtualOrganizationCodeStringGO_123所在虚拟组织Code(content.data.organizationCode对应的组织类型为虚拟组织时返回,否则为空)
content.data.empPosFaxNoString111111传真
content.data.managerStringGE_xxx直属主管(主管的employeeCode)
content.data.empPosEmployeeRoleStringREN_YUAN_JU_SE_GAO_JI_YONG_HU人员角色
content.data.jobAttributesCodeString1任职属性Code
content.data.posJobRankCodeStringCENG_CI_GONG_JIA_JI_ZHENG_ZHI职务层次Code
content.data.visibilityIndicatorCodeStringXIAN_JI_YI_BAN_GONG_ZUO_REN_YUAN可见性标签
content.data.positionExtProperties[]任职扩展属性,自定义的拓展任职信息字段
content.data.positionExtProperties.codeStringext_EMPLOYEEPOSITION_fe789104任职扩展属性的Code
content.data.positionExtProperties.typeString3扩展属性的类型:<br/>0字符串类型<br/>1数字类型<br/>2 单选<br/>3 多选
content.data.positionExtProperties.valueList<String>[“1”]扩展属性职:<br/>字符串类型时,返回一个数值,如 [“stringValue”]<br/>数字类型,返回一个数值,如 [“numberValue”]<br/>单选,返回一个选项code,如 [“code1”]<br/>多选,返回若干个选项code,如 [“code1”,“code2”]