获取招聘人才库分类
接口说明: 获取招聘的人才库分类。
请求方式:POST(HTTPS)
请求地址:https://api.xinrenxinshi.com/v5/recruitment/talentbank/list
请求Header:
key | value |
---|---|
access_token | 获取的access_token的实际值 |
Query参数:
key | value |
---|---|
sign | 签名值 |
Body参数:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
timestamp | Long | Y | 请求时间戳(精确到毫秒) |
返回结果:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
errcode | Integer | Y | 0成功,其他失败 |
errmsg | String | Y | 结果描述 |
data | List<TalentBankInfo> | Y | 人才库分类列表 |
TalentBankInfo
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
id | String | Y | 报表头列表 |
labelName | String | Y | 人才库分类id |
parentId | String | Y | 人才库的父分类id 根节点id是 -1 |
authType | String | Y | 权限类型。0:默认;1:公开;2:保密 |
请求示例(HTTPS):
https://api.xinrenxinshi.com/v5/recruitment/talentbank/list?sign=0HO9Ki%2ByZNQzWIN%2BEAMwvr8xAZ8%3D
请求Body示例:
{
"timestamp":"1606299293203"
}
SDK请求示例(java):
RecruitmentTalentBankListRequest talentBankListRequest =new RecruitmentTalentBankListRequest(access_token());
OpenapiResponse<List<TalentBankInfo>> talentBankList = XrxsRecruitmentService.getTalentBankList(talentBankListRequest);
响应示例:
{
"errcode":0,
"errmsg":"成功",
"data":[
{
"id":0,
"labelName":"人才储备",
"parentId":3,
"authType":1
},
{
"id":1,
"labelName":"已淘汰",
"parentId":3,
"authType":1
},
{
"id":2,
"labelName":"黑名单",
"parentId":-1,
"authType":1
},
{
"id":3,
"labelName":"系统人才库",
"parentId":-1,
"authType":1
},
{
"id":6,
"labelName":"已入职",
"parentId":-1,
"authType":1
},
{
"id":107756,
"labelName":"简历备份",
"parentId":3,
"authType":1
},
{
"id":107757,
"labelName":"已淘汰",
"parentId":2,
"authType":0
},
{
"id":107758,
"labelName":"12月入职",
"parentId":6,
"authType":0
}
]
}