添加猎头顾问
最后更新于 2024/04/03 阅读数 71
HTTP请求
POST https://api.mokahr.com/api-platform/v1/headhunters/addContacts
请求body(JSON)
字段 | 必填 | 类型 | 描述 |
---|---|---|---|
activated | 是 | number | 是否启用 |
headHunterName | 是 | string | 猎头顾问名称 |
headHunterPhone | 否 | string | 猎头顾问手机 |
headHunterTelephone | 否 | string | 猎头顾问固定电话 |
telephonePrefixLocal | 否 | string | 固话区号 |
telephonePrefixInternational | 否 | string | 固话国家号码 |
headhunterCompanyId | 是 | number | 猎头公司id |
headhunterEmail | 是 | string | 猎头顾问邮箱 |
operatorEmail | 是 | string | 操作者email,必须为moka系统用户 |
返回
返回body的JSON数据如下:
字段 | 类型 | 描述 |
---|---|---|
code | number | 返回码:非200代表错误 |
msg | number | 报错信息 |
data | object | |
data.headHunterId | number | 猎头顾问的id |
请求样例
$ curl https://api.mokahr.com/api-platform/v1/headhunters/addContacts
-u 'your-api-key:'
-X POST
-H 'content-type: application/json'
-d ' { "activated": 1, "headHunterName": "202101701371", "headHunterPhone": "13111111311", "telephonePrefixInternational": "89", "telephonePrefixLocal": "010", "headHunterTelephone": "11111111", "headhunterCompanyId": 410020302, "headhunterEmail": "16318917@qq.com", "operatorEmail": "fengxiang@mokahr.com", "orgId": "bytedance003" } '
1
2
3
4
5
plaintext2
3
4
5
返回样例
{ "code": 200, "msg": "success", "data": { "headHunterId":3344555 } }
1
plaintext评价这篇文档
有帮助
没帮助
未能解决您的问题?请联系
在线客服