{
"data": [
{
"department": "5493376151437312",
"position":"1493376151437316",
"job_num":"WS001",
"username": "冰冰",
"alias":"阿满",
"email":"1122@email.com",
"mobile":"17317576779",
"telephone":"6058",
"sex":"male",
"hiredate":"2023-01-01",
"id_no":"342401158804061678",
"superior":"972098004390019071",
"other_superior":["972098004390019076","972098004390019072"],
"birthday":"1911-02-05",
"age":"16",
"graduate_school":"安徽科技学院",
"graduate_date":"1992-02-01",
"degree":"博士",
"education":"大专",
"personnel_status":"3",
"job_call":"972098004390019075",
"grade":"172098004390019071",
"marital_status":"divorced",
"native_place":"安徽省",
"nation":"汉族",
"household_type":"本市农村",
"politics_status":"团员",
"residence_place":"上海市",
"family_contact":"021",
"first_work_date":"2022-01-01",
"work_year":3,
"child_status":"2个儿子",
"userInfoExtend":{
"766265897162719232":"单行文本a",
"766265965832413188":["测试兼职检查-212","安全级别"],
"766265965832413189":["5495890441397212937"]
},
"employeeExtend":{
"dhwb":"1122",
"drl":["张三"]
},
"multiObj":{
"username":{
"8":"dailishangd",
"9":"代理商-繁体"
}
}
}
],
"dataRule": {
"employee": "username",
"department":"id"
}
}
curl --location --request POST '/api/hrm/restful/syncEmployee' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": [
{
"department": "5493376151437312",
"position":"1493376151437316",
"job_num":"WS001",
"username": "冰冰",
"alias":"阿满",
"email":"1122@email.com",
"mobile":"17317576779",
"telephone":"6058",
"sex":"male",
"hiredate":"2023-01-01",
"id_no":"342401158804061678",
"superior":"972098004390019071",
"other_superior":["972098004390019076","972098004390019072"],
"birthday":"1911-02-05",
"age":"16",
"graduate_school":"安徽科技学院",
"graduate_date":"1992-02-01",
"degree":"博士",
"education":"大专",
"personnel_status":"3",
"job_call":"972098004390019075",
"grade":"172098004390019071",
"marital_status":"divorced",
"native_place":"安徽省",
"nation":"汉族",
"household_type":"本市农村",
"politics_status":"团员",
"residence_place":"上海市",
"family_contact":"021",
"first_work_date":"2022-01-01",
"work_year":3,
"child_status":"2个儿子",
"userInfoExtend":{
"766265897162719232":"单行文本a",
"766265965832413188":["测试兼职检查-212","安全级别"],
"766265965832413189":["5495890441397212937"]
},
"employeeExtend":{
"dhwb":"1122",
"drl":["张三"]
},
"multiObj":{
"username":{
"8":"dailishangd",
"9":"代理商-繁体"
}
}
}
],
"dataRule": {
"employee": "username",
"department":"id"
}
}'
{
"message": {
"errcode": "0",
"errmsg": "success"
},
"data": [
{
"keyValue": "接布议阶五",
"operate": "UPDATE",
"status": "ERROR",
"errcode": "组织 未找到:711513701328371713",
"needRepush": false
}
]
}