人员异动信息接口
开发中
POST
/hr/employeeChanges
请求参数
Header 参数
Content-Type
string
必需
示例值:
application/json
Body 参数application/json
son数组格式,最大可传入数组不超过50条
array of:
employeeCode
string
员工编号
changeType
string
可选
changeEffectiveDate
string
可选
changeBeforeStoreNumber
string
异动前所属门店编号
changeBeforePostClassificationName
string
异动前职位分类名称
changeBeforePostName
string
异动前职位名称
changeBeforeEmployeeNatureName
string
异动前员工性质名称
changeAfterStoreNumber
string
异动后所属门店编号
changeAfterPostClassificationName
string
异动后职位分类名称
changeAfterPostName
string
异动后职位名称
changeAfterEmployeeNatureName
string
异动后员工性质名称
name
string
异动单编号
state
string
必需
active
boolean
必需
示例
[
{
"employeeCode": "string",
"changeType": "string",
"changeEffectiveDate": "string",
"changeBeforeStoreNumber": "string",
"changeBeforePostClassificationName": "string",
"changeBeforePostName": "string",
"changeBeforeEmployeeNatureName": "string",
"changeAfterStoreNumber": "string",
"changeAfterPostClassificationName": "string",
"changeAfterPostName": "string",
"changeAfterEmployeeNatureName": "string",
"name": "string",
"state": "string",
"active": true
}
]
示例代码
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/employeeChanges' \
--header 'Content-Type: application/json' \
--data-raw '[
{
"employeeCode": "string",
"changeType": "string",
"changeEffectiveDate": "string",
"changeBeforeStoreNumber": "string",
"changeBeforePostClassificationName": "string",
"changeBeforePostName": "string",
"changeBeforeEmployeeNatureName": "string",
"changeAfterStoreNumber": "string",
"changeAfterPostClassificationName": "string",
"changeAfterPostName": "string",
"changeAfterEmployeeNatureName": "string",
"name": "string",
"state": "string",
"active": true
}
]'
返回响应
🟢200成功
application/json
Body
code
number
可选
msg
string
可选
data
string
可选
示例
{
"code": 0,
"msg": "string",
"data": "string"
}
修改于 2023-10-24 03:51:04