{
"access_token": "实际的access_token",
"matrixName": "部门负责人矩阵",
"dataList": [
{
"bm": "技术中心",
"fefe": "孟玲",
"outkey": "123"
},
{
"bm": "产品研发中心",
"fefe": "李长昊",
"outkey": "1234"
}
],
"optId": "1145025237538308107",
"taskId": "33",
"extKeyField": "outkey",
"dataRule": {
"department": "name",
"employee": "username"
}
}curl --location '/api/hrm/restful/syncMatrixData' \
--header 'tenantKey: tw14da0hky' \
--header 'Content-Type: application/json' \
--data '{
"access_token": "实际的access_token",
"matrixName": "部门负责人矩阵",
"dataList": [
{
"bm": "技术中心",
"fefe": "孟玲",
"outkey": "123"
},
{
"bm": "产品研发中心",
"fefe": "李长昊",
"outkey": "1234"
}
],
"optId": "1145025237538308107",
"taskId": "33",
"extKeyField": "outkey",
"dataRule": {
"department": "name",
"employee": "username"
}
}'{
"message": {
"errcode": "0",
"errmsg": "success"
},
"data": [
{
"keyValue": "1055317737314205696",
"id": 1055317737314205696,
"operate": "ADD",
"status": "SUCCESS",
"needRepush": false,
"extKeyMap": {
"outkey": "xxxxxxx001"
}
}
]
}