所有文章
EVA功能介绍
系统应用
升级公告
常见问题
公开课
校招专栏
内推和门店
数据平台
亮点功能
热门活动
基础操作视频
API文档
时间字段格式说明(Date)
API开发指南(Guide)
主动推送说明(Webhooks)
公共API
招聘官网API
企业信息API
门店API
组织架构API
职责API
用户API
招聘需求 API
候选人API
职位API
面试API
Offer API
入职API
内推账户API
猎头API
BI报表API
district code
错误码
公告
查询人才库列表
最后更新于 2024/04/03 阅读数 188
返回值为该客户下设置的人才库列表
HTTP请求
GET https://api.mokahr.com/api-platform/v1/talentPool/list?hireMode=1
请求参数
字段 | 必填 | 描述 |
|---|---|---|
hireMode | 否 | 可选值: |
range | 否 | open/all 人才库返回数据的范围(不传或者传open默认返回除入职库和黑名单库之外的公共人才库) |
返回
返回body的JSON数据如下:
字段 | 类型 | 描述 |
|---|---|---|
id | integer | 人才库id |
name | string | 人才库名称 |
description | string | 描述 |
hire_mode | integer | 可选值: |
isPrivate | integer | 可选值: |
creatorId | integer | 创建者ID |
authUsers | Array | 有权限的用户 |
authUsers[].userId | integer | 有权限的用户ID |
authUsers[].name | string | 有权限的用户姓名 |
authUsers[].email | string | 有权限的用户邮箱 |
authUsers[].phone | string | 有权限的用户电话 |
authUsers[].number | string | 有权限的用户工号 |
请求样例
$ curl https://api.mokahr.com/api-platform/v1/talentPool/list?hireMode=1 \
-u 'your_api_key:' \
-X GET \
1
2
3
plaintext2
3
[ { "id": 115, "name": "系统入职人才库", "description": "保存已入职的员工,仅对授权用户、管理员及以上权限用户可见", "hire_mode": 1, "isPrivate": 0 }, { "id": 116, "name": "系统公共人才库", "description": "所有HR权限及以上用户可见,用户可浏览公共人才库中所有候选人", "hire_mode": 1, "isPrivate": 0 }, { "id": 117, "name": "系统黑名单", "description": "", "hire_mode": 1, "isPrivate": 0 } ]
1
plaintext传range参数视为新版本,返回样例
{ "success": true, "msg": "success", "data": [{ "id": 21, "name": "系统入职人才库", "description": "所有HR权限及以上用户可见,用户可浏览其相关职位下的已入职候选人", "hireMode": 1, "isPrivate": 0, "creatorId": null, "authUsers": [] }, { "id": 22, "name": "系统公共人才库", "description": "所有HR权限及以上用户可见,用户可浏览公共人才库中所有候选人", "hireMode": 1, "isPrivate": 0, "creatorId": null, "authUsers": [] }, { "id": 36, "name": "测试111", "description": "", "hireMode": 1, "isPrivate": 1, "creatorId": 1, "authUsers": [{ "userId": 1, "name": "haha", "email": "haha@trymoka.com", "phone": "18812345678", "number": null }, { "userId": 16, "name": "small hr ceshi", "email": "why_pm@163.com", "phone": null, "number": null } ] }, { "id": 203, "name": "系统黑名单", "description": null, "hireMode": 1, "isPrivate": 0, "creatorId": null, "authUsers": [] } ] }
1
plaintext评价这篇文档
有帮助
没帮助
未能解决您的问题?请联系
在线客服


