https://open-api.lebanban.com/staff/get-staff-info
POST方式
该接口用于在已有的企业下根据手机号码查询员工信息
字段名称 | 类型 | 是否必填 | 字段说明 |
---|---|---|---|
compRootId | String | 是 | 企业ID |
mobile | String | 是 | 手机号码 |
字段名称 | 类型 | 字段说明 |
---|---|---|
compRootId | String | 企业ID |
compId | String | 公司ID |
deptId | String | 部门ID |
staffNo | String | 员工编号 |
name | String | 员工姓名 |
mobile | String | 手机号码 |
marriage | Integer | 婚姻状况 0-未婚 1-已婚 |
sex | Integer | 性别 0-男 1-女 99-未知 |
idcard | String | 身份证号 |
birthDate | String | 出生日期 格式2019-02-13 |
String | 邮箱 | |
kind | Integer | 类型 1-全职 2-兼职 3-实习生 |
status | Integer | 目前状态 0-试用 1-正式 |
entryDate | String | 入职日期 格式2019-02-13 |
formalDate | String | 转正日期 格式2019-02-13 |
reprotToId | String | 汇报对象ID |
{
"accessKeyId": "8823158db9203ad486f1a0f1f7616616",
"saltStr": "8823158db9203ad486f1a0f1f7616617",
"timestamp": 1550122509539,
"sign": "774255bdaf0b67708bb9f88b57eebaa9",
"compRootId": "9562daf9df1647a0",
"mobile":"18863540990"
}
{
"code": "0",
"form": {
"reprotToId": 21240,
"staffNo": "0",
"entryDate": "2019-02-22",
"compRootId": 1695,
"kind": 0,
"sex": 99,
"deptId": 100,
"mobile": "18863540990",
"formalDate": "2019-02-22",
"birthDate": "2019-10-10",
"compId": 1695,
"marriage": 0,
"idcard": "",
"name": "ceshili",
"email": "",
"status": 0
}
}