curl --location --request POST 'https://openapi.italent.cn/TenantBaseExternal/api/v5/Position/Update' \
--header 'Content-Type: application/json' \
--data-raw '//主键ID方式
{
"data": {
"objectId":"89cc6d6d-77e1-4eb9-8dc8-04709f4383af",
"name": "PositionTest0712011",
"code": "PositionTest0712011",
"establishDate": "2021-07-01T00:00:00",
"oIdOrganization": 4745267,
"oIdJobPost": "2400",
"oIdJobLevelType": "0a021c69-182e-4c85-aab8-bda0d80d656e",
"oIdJobSequence": "180",
"highestOIdJobLevel": "c56c867f-f716-4283-8b9b-9e2a2114af88",
"description": "这是一个职位的职责描述",
"place": "1100",
"positionKey": "1",
"positionSecret": "1",
"order": 100,
"score": 100.0,
"jobRequirements": "35岁以下",
"customProperties": {
"extcuntomField_127666_1101051360":"测试自定义"
},
"emptyFields":["oIdProfessionalLine"] //清空指定字段值
}
}
//业务OId方式
{
"data": {
"oId":"89cc6d6d-77e1-4eb9-8dc8-04709f4383af",
"name": "PositionTest0712011",
"code": "PositionTest0712011",
"establishDate": "2021-07-01T00:00:00",
"oIdOrganization": 4745267,
"oIdJobPost": "2400",
"oIdJobLevelType": "0a021c69-182e-4c85-aab8-bda0d80d656e",
"oIdJobSequence": "180",
"highestOIdJobLevel": "c56c867f-f716-4283-8b9b-9e2a2114af88",
"description": "这是一个职位的职责描述",
"place": "1100",
"positionKey": "1",
"positionSecret": "1",
"order": 100,
"score": 100.0,
"jobRequirements": "35岁以下",
"customProperties": {
"extcuntomField_127666_1101051360":"测试自定义"
},
"emptyFields":["oIdProfessionalLine"] //清空指定字段值
}
}'