所有文章
系统应用
升级公告
常见问题
公开课
校招专栏
内推和门店
数据平台
亮点功能
热门活动
基础操作视频
API文档
时间字段格式说明(Date)
API开发指南(Guide)
主动推送说明(Webhooks)
公共API
招聘官网API
企业信息API
门店API
组织架构API
职责API
用户API
招聘需求 API
候选人API
人才库API
职位API
面试API
Offer API
入职API
内推账户API
猎头API
BI报表API
district code
错误码
获取招聘流程列表
最后更新于 2024/04/03 阅读数 22
HTTP请求
GET https://api.mokahr.com/api-platform/v2/pipelines/getPipelinesList
返回
返回body的JSON数据如下:
字段 | 类型 | 描述 |
---|---|---|
code | integer | 返回的code: |
msg | string | 成功返回success,失败返回false |
data | array or object | 如果是单条数据则返回object多条数据返回的是数组 |
data.id | integer | 流程Id |
data.entryConditions | string | 进入本阶段所需条件,默认',来自常量STAGE_ENTRY_CONDITIONS,json格式 |
data.departmentIds | string | 支持的部门 |
data.disabled | boolean | 是否禁用 |
data.hireMode | integer | 招聘类型 |
data.isOptimizedDeptIds | boolean | 是否优化的部门 |
data.stageIds | string | 阶段id列表 |
data.name | string | 流程名称 |
请求样例
$ curl https://api.mokahr.com/api-platform/v2/pipelines/getPipelinesList
-u 'your-api-key:'
1
2
plaintext2
返回样例
{ "code": 200, "msg": "success", "data": [ { "id": "485", "departmentIds": "[3427,15825,47702]", "disabled": false, "entryConditions": "{\"29083\":{\"match\":\"and\",\"conditions\":[{\"stageId\":9886,\"type\":17,\"status\":1}]}}", "hireMode": 1, "isOptimizedDeptIds": false, "name": "默认招聘流程", "stageIds": "[2601,43451,2602,49375,12983,14827,15794,10784,43651,40780,7164,14826,9276,9240,7278,3407,11049,5890,3385,7642,4008,2603,9886,29083,3460,2604,44665,5544,15360,2605]" }, { "id": "632", "departmentIds": "[47702]", "disabled": true, "entryConditions": "", "hireMode": 1, "isOptimizedDeptIds": false, "name": "产品招聘流程", "stageIds": "[2601,15794,3459,2602,15698,2604,8396,3462,3385,2605]" }, { "id": "657", "departmentIds": "[]", "disabled": false, "entryConditions": "", "hireMode": 1, "isOptimizedDeptIds": true, "name": "商业产品部招聘流程", "stageIds": "[2601,4009,43143,5890,3385,2603,2604,3479,15352,2605]" }, { "id": "3533", "departmentIds": "[47702]", "disabled": false, "entryConditions": "", "hireMode": 1, "isOptimizedDeptIds": false, "name": "报表统计招聘", "stageIds": "[2601,3385,4009,4008,7164,9245,2604,6669,2605]" } ] }
1
plaintext评价这篇文档
有帮助
没帮助
未能解决您的问题?请联系
在线客服