{
"access_token": "实际的access_token",
"data": [
{
"code": "FW261001",
"parent": "BJ1001",
"name": "技术中心",
"fullname": "EC产品技术中心",
"coadjutant": "843355264352165888",
"description": "EC日常研发设计和交付",
"disporder": 2,
"subcompanyExtend": {
"1274912212559847424": "主表文本字段1号",
"1325366786786459649": [
{
"1325366786786459650": "RD_PRD_002",
"1325366786786459651": "122"
},
{
"1325366786786459650": "RD_PRD_003",
"1325366786786459651": "233"
}
]
}
}
],
"dataRule": {
"subcompany": "code",
"employee": "id"
}
}curl --location '/api/hrm/restful/syncSubcompany' \
--header 'Content-Type: application/json' \
--data '{
"access_token": "实际的access_token",
"data": [
{
"code": "FW261001",
"parent": "BJ1001",
"name": "技术中心",
"fullname": "EC产品技术中心",
"coadjutant": "843355264352165888",
"description": "EC日常研发设计和交付",
"disporder": 2,
"subcompanyExtend": {
"1274912212559847424": "主表文本字段1号",
"1325366786786459649": [
{
"1325366786786459650": "RD_PRD_002",
"1325366786786459651": "122"
},
{
"1325366786786459650": "RD_PRD_003",
"1325366786786459651": "233"
}
]
}
}
],
"dataRule": {
"subcompany": "code",
"employee": "id"
}
}'{
"message": {
"errcode": "0",
"errmsg": "success"
},
"data": [
{
"keyValue": "FW260901",
"id": 1315392326412533760,
"operate": "ADD",
"status": "SUCCESS",
"errcode": "SUCCESS",
"needRepush": false,
"logUUid": "bfadd05965ed4723a0cbebfcf42b34b5",
"extKeyMap": {
"index": 1
}
}
]
}