ATS用户中心
所有文章
系统应用
升级公告
常见问题
公开课
校招专栏
内推和门店
数据平台
亮点功能
热门活动
基础操作视频
更新候选人自定义字段
最后更新于 2024/04/03   阅读数 60

每次修改的字段数量不超过300个

HTTP请求

post https://api.mokahr.com/api-platform/v1/candidate/customField/update

请求query

字段

必填

类型

描述

updateCustomFieldsReqDTOList

array

更新数据

updateCustomFieldsReqDTOList[].candidateId

integer

候选人id

updateCustomFieldsReqDTOList[].hireMode

integer

招聘模式
可选值:
1:社招
2:校招

updateCustomFieldsReqDTOList[].operatorEmail

string

操作者邮箱

updateCustomFieldsReqDTOList[].customIdAndDetailDTOList

array

更新的自定义字段集合

updateCustomFieldsReqDTOList[].customIdAndDetailDTOList[].id

integer

自定义字段id

updateCustomFieldsReqDTOList[].customIdAndDetailDTOList[].detail

string

自定义字段修改后的值

updateCustomFieldsReqDTOList[].customIdAndDetailDTOList[].type

string

自定义字段类型 如果type是date_info或者day_info,detail格式必须是"2022-11-01 00:00:00"这种类型。如果type是date_group_info,则detail格式为{\"startDate\":\"2015-01\",\"endDate\":\"2016-01\"}。

返回

返回body的JSON数据如下:

字段

类型

描述

code

string

200:成功
非200代表错误

msg

string

接口返回值说明

请求样例

curl --silent --location --request POST 'https://api.mokahr.com/api-platform/v1/candidate/customField/update' \
--header 'Authorization: Basic xxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{ "updateCustomFieldsReqDTOList": [ { "candidateId": 326567157, "orgId": "test", "operatorEmail": "xxxx@qq.com", "hireMode": 1, "customIdAndDetailDTOList": [ { "id": 124106, "detail": "2022-11-01 00:00:00", "type": "string_info" } ] }, { "candidateId": 326563070, "orgId": "test", "operatorEmail": "xxxx@qq.com", "hireMode": 1, "customIdAndDetailDTOList": [ { "id": 124106, "detail": "单行文本", "type": "string_info" }, { "id": 124107, "detail": "1", "type": "text_info" } ] } ] }'
1
2
3
4
plaintext

返回样例

{ "code": 0, "msg": "success", "data": null }
1
plaintext
未能解决您的问题?请联系
本篇目录

HTTP请求

请求query

返回

请求样例

返回样例