ATS用户中心
所有文章
系统应用
升级公告
常见问题
公开课
校招专栏
内推和门店
数据平台
亮点功能
热门活动
基础操作视频
获取招聘流程列表
最后更新于 2024/04/03   阅读数 22

HTTP请求

GET https://api.mokahr.com/api-platform/v2/pipelines/getPipelinesList

返回

返回body的JSON数据如下:

字段

类型

描述

code

integer

返回的code:200正常,其他的都是错误

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

招聘类型
可选值:
1 社招
2 校招

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
plaintext

返回样例

{ "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
未能解决您的问题?请联系
本篇目录

HTTP请求

返回

请求样例

返回样例