员工信息接口
开发中
POST
/hr/employeeInfo
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
json数组格式,最大可传入数组不超过50条
array of:
employeeCode
string
员工编号
name
string
员工姓名
gender
string
必需
employeeTypeCode
string
员工类型编号
employeeTypeName
string
员工类型名称
legalEntityCode
string
法人实体编号
legalEntityName
string
法人实体名称
departmentCode
string
部门编号
departmentName
string
部门名称
jobCode
string
岗位编号
jobName
string
岗位名称
employeeNowRankCode
string
职级编号
employeeNowRankName
string
职级名称
functionName
string
职能
otherFunctionNotes
string
其他职能说明
parentEmployeeNumber
string
直属上级的员工编号
parentEmployeeName
string
直属上级的员工名称
birthday
string
必需
workPhone
string
必需
workEmail
string
工作邮件
workActivity
string
必需
employeeGroup
string
员工分组
workingHoursName
string
员工工时制类别
hiredate
string
必需
probationDate
string
必需
contractTypeName
string
必需
contractStartDate
string
必需
contractEndDate
string
必需
departureTime
string
必需
innerWorkingAge
string
公司服务年限
socialWorkingAge
string
必需
socialWorkStartDate
string
必需
maritalName
string
必需
locationCode
string
城市编号
locationName
string
城市名称
writeDate
string
必需
membershipNumber
string
会员号码
qywxAccount
string
企业微信账号
xDepartmentManager
string
区域经理名称
xOperator
string
营运经理名称
groupHireDate
string
集团入职日期
entryOwnershipStore
string
入职归属门店
bankAccount
string
必需
bankNo
string
必需
bankName
string
必需
costCenterFi
string
成本中心-财务
active
boolean
必需
cardNo
string
证件号(加密字段)
cardType
string
必需
secondDept
string
二级部门编码
threeDept
string
三级部门编码
fourDept
string
四级部门编码
fiveDept
string
五级部门编码
sixDept
string
六级部门编码
示例
[
{
"employeeCode": "string",
"name": "string",
"gender": "string",
"employeeTypeCode": "string",
"employeeTypeName": "string",
"legalEntityCode": "string",
"legalEntityName": "string",
"departmentCode": "string",
"departmentName": "string",
"jobCode": "string",
"jobName": "string",
"employeeNowRankCode": "string",
"employeeNowRankName": "string",
"functionName": "string",
"otherFunctionNotes": "string",
"parentEmployeeNumber": "string",
"parentEmployeeName": "string",
"birthday": "string",
"workPhone": "string",
"workEmail": "string",
"workActivity": "string",
"employeeGroup": "string",
"workingHoursName": "string",
"hiredate": "string",
"probationDate": "string",
"contractTypeName": "string",
"contractStartDate": "string",
"contractEndDate": "string",
"departureTime": "string",
"innerWorkingAge": "string",
"socialWorkingAge": "string",
"socialWorkStartDate": "string",
"maritalName": "string",
"locationCode": "string",
"locationName": "string",
"writeDate": "string",
"membershipNumber": "string",
"qywxAccount": "string",
"xDepartmentManager": "string",
"xOperator": "string",
"groupHireDate": "string",
"entryOwnershipStore": "string",
"bankAccount": "string",
"bankNo": "string",
"bankName": "string",
"costCenterFi": "string",
"active": true,
"cardNo": "string",
"cardType": "string",
"secondDept": "string",
"threeDept": "string",
"fourDept": "string",
"fiveDept": "string",
"sixDept": "string"
}
]
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/hr/employeeInfo' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"employeeCode": "string",
"name": "string",
"gender": "string",
"employeeTypeCode": "string",
"employeeTypeName": "string",
"legalEntityCode": "string",
"legalEntityName": "string",
"departmentCode": "string",
"departmentName": "string",
"jobCode": "string",
"jobName": "string",
"employeeNowRankCode": "string",
"employeeNowRankName": "string",
"functionName": "string",
"otherFunctionNotes": "string",
"parentEmployeeNumber": "string",
"parentEmployeeName": "string",
"birthday": "string",
"workPhone": "string",
"workEmail": "string",
"workActivity": "string",
"employeeGroup": "string",
"workingHoursName": "string",
"hiredate": "string",
"probationDate": "string",
"contractTypeName": "string",
"contractStartDate": "string",
"contractEndDate": "string",
"departureTime": "string",
"innerWorkingAge": "string",
"socialWorkingAge": "string",
"socialWorkStartDate": "string",
"maritalName": "string",
"locationCode": "string",
"locationName": "string",
"writeDate": "string",
"membershipNumber": "string",
"qywxAccount": "string",
"xDepartmentManager": "string",
"xOperator": "string",
"groupHireDate": "string",
"entryOwnershipStore": "string",
"bankAccount": "string",
"bankNo": "string",
"bankName": "string",
"costCenterFi": "string",
"active": true,
"cardNo": "string",
"cardType": "string",
"secondDept": "string",
"threeDept": "string",
"fourDept": "string",
"fiveDept": "string",
"sixDept": "string"
}
]'
返回响应
🟢200成功
application/json
Body
code
number
可选
msg
string
可选
data
null
可选
示例
{
"code": 0,
"msg": "string",
"data": null
}
修改于 2023-11-02 05:52:09