Appearance
根据员工Code获取员工的任职
基本信息
中文名: 根据员工code获取员工的任职
接口名: /mozi/employee/listEmployeePositionsByEmployeeCode
所在目录: 获取通讯录用户信息
调用方式: POST(HTTPS)
请求参数
名称 | 类型 | 是否必填 | 示例值 | 描述 |
---|---|---|---|---|
employeePositionStatus | String | 否 | A | 员工在组织内任职状态条件 <br/>A - 查询有效的数据 <br/>F - 查询无效的数据 <br/>TOTAL - 查询所有的数据 (默认 ) |
employeePositionType | String | 否 | EMPLOYEE_POSITION_ALL | 所需员工任职类型,默认是主职 ** ** <br/>EMPLOYEE_POSITION_ALL - 所有 <br/>EMPLOYEE_POSITION_MAIN - 主职EMPLOYEE_POSITION_ADJUNCT - 非主职 |
employeeCode | String | 是 | GE_123 | 员工code |
tenantId | Long | 是 | 1 | 租户ID |
返回参数
参数 | 类型 | 示例值 | 说明 |
---|---|---|---|
_RequestId | String | 网关请求ID | |
success | Boolean | true | 网关调用是否成功 |
errorCode | String | 0 | 网关错误码 |
HostId | String | 网关HostId | |
Code | String | 网关Code | |
errorMsg | String | 网关错误信息 | |
errorLevel | String | 网关错误级别 | |
Message | String | 网关信息 | |
content.success | Boolean | true | 业务调用是否成功 |
content.requestId | String | 业务请求ID | |
content.responseCode | String | 0 | 业务响应Code |
content.responseMessage | String | 业务响应信息 | |
content.data | [] | 业务返回值 | |
content.data.organizationCode | String | GO_123 | 组织code |
content.data.employeeCode | String | GE_123 | 人员Code |
content.data.mainJob | Boolean | true | 是否员工主任职 |
content.data.status | String | A | 任职状态 |
content.data.gmtCreate | String | 2021-02-08 10:57:19 | 创建时间 |
content.data.govEmpPosPhoneNo | String | 1111111 | 办公电话 |
content.data.order | Number | 1 | 任职序号 |
content.data.orderInOrganization | Number | 1 | 组织内排序 |
content.data.govEmpPosAddress | String | 东南路102号 | 办公地址 |
content.data.govEmpPosJob | String | 工程师 | 任职 |
content.data.manager | String | GE_xxx | 直属主管(返回主管的employeeCode) |
content.data.empPosUnitCode | String | GO_123 | 所在单位Code(content.data.organizationCode对应的组织类型为单位时返回,否则为空) |
content.data.empPosInnerInstitutionCode | String | GO_123 | 所在内设机构Code(content.data.organizationCode对应的组织类型为内设机构时返回,否则为空) |
content.data.empPosVirtualOrganizationCode | String | GO_123 | 所在虚拟组织Code(content.data.organizationCode对应的组织类型为虚拟组织类型时返回,否则为空) |
content.data.empPosFaxNo | String | 111111 | 传真 |
content.data.empPosEmployeeRole | String | REN_YUAN_JU_SE_GAO_JI_YONG_HU | 人员角色 |
content.data.jobAttributesCode | String | 1 | 任职属性Code |
content.data.posJobRankCode | String | CENG_CI_GONG_JIA_JI_ZHENG_ZHI | 职务层次Code |
content.data.visibilityIndicatorCode | String | XIAN_JI_YI_BAN_GONG_ZUO_REN_YUAN | 可见性标签 |
content.data.positionExtProperties | [] | 任职扩展属性,自定义的拓展任职信息字段 | |
content.data.positionExtProperties.code | String | ext_EMPLOYEEPOSITION_fe789104 | 任职扩展属性的Code |
content.data.positionExtProperties.type | String | 3 | 扩展属性的类型:<br/>0字符串类型<br/>1数字类型<br/>2 单选<br/>3 多选 |
content.data.positionExtProperties.value | List<String> | [“1”] | 扩展属性职:<br/>字符串类型时,返回一个数值,如 [“stringValue”]<br/>数字类型,返回一个数值,如 [“numberValue”]<br/>单选,返回一个选项code,如 [“code1”]<br/>多选,返回若干个选项code,如 [“code1”,“code2”] |