ATS用户中心
所有文章
系统应用
升级公告
常见问题
公开课
校招专栏
内推和门店
数据平台
亮点功能
热门活动
基础操作视频
API文档
时间字段格式说明(Date)
API开发指南(Guide)
主动推送说明(Webhooks)
公共API
招聘官网API
企业信息API
门店API
组织架构API
职责API
用户API
招聘需求 API
候选人API
人才库API
职位API
面试API
Offer API
入职API
内推账户API
BI报表API
district code
错误码
添加猎头顾问
最后更新于 2024/04/03   阅读数 71

HTTP请求

POST https://api.mokahr.com/api-platform/v1/headhunters/addContacts

请求body(JSON)

字段

必填

类型

描述

activated

number

是否启用
可选值:
0:否
1:是

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
plaintext

返回样例

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

HTTP请求

请求body(JSON)

返回

请求样例

返回样例