HTTP请求
POST https://api.mokahr.com/api-platform/candidate/v1/application/list_by_pipeline
请求参数(JSON格式)
字段 | 必填 | 类型 | 描述 |
---|---|---|---|
pipelineId | 是 | long | 流程ID |
stageId | 否 | long | 阶段ID |
jobId | 否 | string | 职位ID |
lockType | 否 | integer | 锁类型,0-无锁;1-黄锁;2-灰锁 |
customFieldParmList | 否 | Object[] | 候选人自定义字段参数数组 |
customFieldParmList[].field | 是 | string | 自定义字段ID |
customFieldParmList[].value | 否 | string[] | 选中的自定义字段选项数组 |
customFieldParmList[].fieldType | 是 | string | 自定义字段类型。要与自定义字段ID对应的字段一致。仅支持 |
customFieldParmList[].from | 否 | string | 范围查询时起始的值 |
customFieldParmList[].to | 否 | string | 范围查询时结束的值 |
nextCursor | 否 | string | 分页参数,第一页next不用填 |
返回
返回body的JSON数据如下:
字段 | 类型 | 描述 |
---|---|---|
code | integer | 返回的code:0正常,其他的都是错误 |
msg | string | 成功返回success,失败返回false或者对应的错误信息 |
data | object | |
data.hasMore | boolean | 下一页是否有返回值,枚举值:true和false |
data.nextCursor | string | 下一页分页标记 |
data.dataList | object[] | 查询到候选人及申请信息记录列表 |
data.dataList[].candidateId | long | 候选人ID |
data.dataList[].applicationList | object[] | 满足条件的候选人申请列表 |
data.dataList[].applicationList[].applicationId | long | 申请ID |
data.dataList[].applicationList[].jobId | string | 职位ID |
data.dataList[].applicationList[].jobTitle | string | 职位名称 |
data.dataList[].applicationList[].lockType | integer | 锁类型,0-无锁;1-黄锁;2-灰锁 |
请求样例
curl --location --request POST 'https://api.mokahr.com/api-platform//candidate/v1/application/list_by_pipeline' \
--header 'Content-Type: application/json' \
--data-raw '{ "pipelineId": 19, "stageId": 56, "jobId": "65280789-4e5a-45f0-8956-8148d4b4e55f", "lockType": 2, "customFieldParmList": [ { "field": "526", "fieldType": "number_info", "from": "1", "to": "6" }, { "field": "525", "fieldType": "day_info", "from": "2023-05-01", "to": "2023-05-31" }, { "field": "524", "fieldType": "date_info", "from": "2023-05-01", "to": "2023-05-17" }, { "field": "522", "fieldType": "select_info", "value": [ "1", "2" ] }, { "field": "148", "fieldType": "select_info", "value": [ "是" ] } ] }'
2
3
返回样例
{ "code": 0, "msg": "success", "data":{ "hasMore":111, "nextCursor":2323, "stageId":3232, "dataList":[ { "candidateId":123, "applicationList":[ { "applicationId":123, "jobId":"", "jobTitle":"", "lockType":0 } ] } ] } }