curl --location --request POST 'https://openapi.italent.cn/TenantBaseExternal/api/v5/Employee/Dimission' \
--header 'Content-Type: application/json' \
--data-raw '{
"employmentRecord": {
"lastWorkDate": "2021-06-14T03:45:36.193Z",
"transitionTypeOID" : "ca7976a6-d373-486f-98b5-bd624dd7d019",
"addOrNotBlackList" : true,
"blackListAddReason" : "1",
"blackStaffDesc" : "违反保密协议",
"remarks" : "违反保密协议",
"customProperties": {
"extbeizhua_127666_398499608": "这是一个备注字段"
}
},
"userId": 101501119
}
//外部id调用示例
{
"employmentRecord": {
"lastWorkDate": "2021-06-14T03:45:36.193Z",
"transitionTypeOID" : "ca7976a6-d373-486f-98b5-bd624dd7d019",
"addOrNotBlackList" : true,
"blackListAddReason" : "1",
"blackStaffDesc" : "违反保密协议",
"remarks" : "违反保密协议",
"customProperties": {
"extbeizhua_127666_398499608": "这是一个备注字段"
}
},
"originalId": "8785dd30-7b2d-4fce-8fd3-df0e4be79f46"
}'