招聘上传简历到流程中
接口说明: 招聘上传简历,简历同步到对应职位所属流程的简历初筛阶段的待定。
备注:
1、简历默认是同步到超管账号下
2、如果系统中超管账号下存在相同名称的职位则同步到对应职位下,如果没有则新建一个职位。
请求方式:POST(HTTPS)
请求地址:https://api.xinrenxinshi.com/v5/recruitment/resume/add
请求Header:
| key | value |
|---|---|
| access_token | 获取的access_token的实际值 |
Query参数:
| key | value |
|---|---|
| sign | 签名值 |
Body参数:
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| type | Integer | N | 职位负责人的唯一标识类型(如果为空,则默认为超管) 1-手机号,2-员工ID,3-邮箱 |
| empInfoIds | List<String> | N | 职位负责人的唯一标识列表,最多100条,和type对应,例如type=1,则empInfoIds为mobile列表 |
| name | String | Y | 姓名 |
| mobile | String | Y | 手机号 |
| sex | Integer | Y | 性别,0-未知,1-男,2-女 |
| resume | String | Y | 原始简历url,支持支持PDF、DOC、DOCX、JPG、JPEG、PNG、BMP、PPT、PPTX等格式,必须是可下载的链接 |
| videoResumeMark | Integer | Y | 是否是视频简历,0-不是,1-是 |
| statusModelList | List<RecruitmentResumeStatusInfo> | Y | 简历状态 |
| timestamp | Long | Y | 请求时间戳(精确到毫秒) |
| String | N | 邮件 | |
| headImage | String | N | 头像图片URL |
| birthDate | String | N | 出生日期,格式:yyyy-MM-dd |
| workStartDate | String | N | 首次参加工作时间,格式:yyyy-MM |
| workAge | Integer | N | 工作年限 |
| lastCompany | String | N | 最近受聘公司 |
| lastJob | String | N | 最近工作职位 |
| degree | Integer | N | 学历,0-无学历,1-初中,2-高中,3-中专,4-大专,5-本科,6-硕士,7-博士,8-其他,9-小学,10-中职,11-中技 |
| school | String | N | 学校 |
| schoolType | String | N | 学校类型,分为 普通院校 ,985院校 , 211院校 , 港澳台院校 , 国外院校 , 中学 , 职业教育 , 培训机构 , 985211双一流院校 , 985211院校 , 985双一流院校 , 211_双一流院校 |
| major | String | N | 最近毕业专业 |
| birthPlace | Integer | N | 籍贯,传城市id,通过通用接口查询城市id |
| liveCity | String | N | 居住城市 |
| politicalStatus | String | N | 政治面貌 |
| nation | String | N | 民族 |
| marriage | Integer | N | 婚姻状态,0-无,1-未婚,2-已婚,3-离异 |
| resumePreview | String | N | 简历预览文件url |
| industry | String | N | 所在行业 |
| skill | String | N | 技能 |
| interesting | String | N | 兴趣爱好 |
| remark | String | N | 备注 |
| attachmentModels | List<RecruitmentResumeAttachmentInfo> | N | 简历附件 |
| resumeBriefModel | RecruitmentResumeBriefInfo | N | 简历简要信息 |
| jobIntentionModelList | List<RecruitmentResumeJobIntentionInfo> | N | 求职意向 |
| educationExperienceModelList | List<RecruitmentResumeEducationExprienceInfo> | N | 教育经历 |
| languageModelList | List<RecruitmentResumeLanguageInfo> | N | 语言 |
| projectExperienceModelList | List<RecruitmentResumeProjectExperienceInfo> | N | 项目经历 |
| selfEvaluationModelList | List<RecruitmentResumeProjectExperienceInfo> | N | 自我评价 |
| socialModelList | List<RecruitmentResumeSocialInfo> | N | 社交主页 |
| trainingExperienceModelList | List<RecruitmentResumeTrainingExperienceInfo> | N | 培训经历 |
| workExperienceModelList | List<RecruitmentResumeWorkExperienceInfo> | N | 工作经历 |
| awardExperienceModelList | List<RecruitmentResumeAwardExperienceInfo> | N | 获奖经历 |
RecruitmentResumeAttachmentInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| fileUrl | String | Y | 附件URL |
| fileName | String | N | 附件名 |
RecruitmentResumeStatusInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| job | String | Y | 职位 |
| channelTypeDesc | String | Y | 渠道名,如51job,boss招聘等 |
RecruitmentResumeBriefInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| currentStatus | String | N | 离在职情况 |
| overseasEducation | Integer | N | 是否有留学经历 0-否 1-是 |
| graduationYear | String | N | 毕业时间 |
| overseasExperience | Integer | N | 是否海外工作经历 0-否 1-是 |
| String | N | ||
| String | N | 微信号 | |
| currentSalary | String | N | 当前薪资 |
| namePinyin | String | N | 姓名拼音 |
| surName | String | N | 姓氏 |
| englishName | String | N | 英文名 |
| bloodType | String | N | 血型 |
| IDCard | String | N | 身份证 |
| IDCardType | String | N | 身份证类型 |
| height | String | N | 身高 |
| weight | String | N | 体重 |
| nationality | String | N | 国籍 |
| ethnicity | String | N | 民族 |
| constellation | String | N | 星座 |
| consultantEmail | String | N | 猎头顾问邮箱 |
| emergentContact | String | N | 紧急联系人 |
| postCode | String | N | 邮编 |
| isTongZhao | String | N | 是否统招 |
| lastEduNature | String | N | 最近教育性质 |
| schoolRank | String | N | 学校国内排名 |
| globalSchoolRank | String | N | 学校国际排名 |
| englishLevel | String | N | 英语水平 |
| computerLevel | String | N | 计算机水平 |
| currentJobNature | String | N | 当前工作性质 |
| currentJobLocation | String | N | 当前工作地点 |
| expectedJobTitle | String | N | 目标职能 |
RecruitmentResumeJobIntentionInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| jobNature | Integer | Y | 职位性质,0-全职,1-兼职,2-实习 |
| expectedJob | String | Y | 期望职位 |
| onboardTime | String | N | 到岗时间,格式:yyyy-MM-dd |
| expectSalary | String | N | 期望薪资 |
| expectIndustry | String | N | 期望行业 |
RecruitmentResumeEducationExprienceInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| startDate | String | Y | 开始时间,格式:yyyy-MM |
| endDate | String | Y | 结束时间, 格式:yyyy-MM |
| school | String | Y | 学校名称 |
| degree | Integer | Y | 学历 |
| degreeDesc | String | N | 学历描述 |
| major | String | N | 专业 |
| classRank | String | N | 班级排名 |
| collegeName | String | N | 院系 |
| eduNature | String | N | 教育性质,如在职,统招,自考,成人,专升本,全日制,交换生,自学等 |
| isTongzhao | Integer | N | 是否统一招生,0-否 1-是 |
| schoolType | String | N | 学校类型. 普通院校 ,985院校 , 211院校 , 港澳台院校 , 国外院校 , 中学 , 职业教育 , 培训机构 , 985211双一流院校 , 985211院校 , 985双一流院校 , 211_双一流院校 |
| thesis | String | N | 毕业设计 |
| eduNatureId | Integer | N | 教育性质 |
| isHighestDegree | Integer | N | 是否是最高学历 1-是 0-否 |
RecruitmentResumeLanguageInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| languageType | String | Y | 语种 |
| depth | Integer | Y | 掌握程度,0-了解,1-熟悉,2-掌握,3-精通,4-专家 |
RecruitmentResumeProjectExperienceInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| startDate | String | Y | 开始时间,格式:yyyy-MM |
| endDate | String | Y | 结束时间, 格式:yyyy-MM |
| projectName | String | Y | 项目名称 |
| projectDetail | String | Y | 项目描述 |
| liability | String | N | 个人职责 |
| company | String | N | 所属公司 |
| projectLink | String | N | 项目链接 |
| achievements | String | N | 项目成绩 |
| technology | String | N | 项目使用技术 |
| role | String | N | 角色 |
| projectMemberCount | String | N | 项目人数 |
RecruitmentResumeSelfEvaluationInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| selfEvaluation | String | Y | 自我介绍 |
RecruitmentResumeSocialInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| platform | String | Y | 平台 |
| socialPage | String | Y | 社交主页 |
RecruitmentResumeTrainingExperienceInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| startDate | String | Y | 开始时间,格式:yyyy-MM |
| endDate | String | Y | 结束时间,格式:yyyy-MM |
| training | String | Y | 培训机构 |
| trainingCourse | String | N | 培训课程 |
| trainingDetail | String | N | 培训描述 |
| name | String | N | 培训认证 |
| location | String | N | 培训地点 |
RecruitmentResumeWorkExperienceInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| startDate | String | Y | 开始时间,格式:yyyy-MM |
| endDate | String | Y | 结束时间,格式:yyyy-MM |
| companyName | String | Y | 公司名称 |
| serveJob | String | N | 任职职位 |
| jobDetail | String | N | 职位描述 |
| industry | String | N | 所在行业 |
| report | String | N | 汇报对象 |
| size | String | N | 公司规模 |
| type | String | N | 公司类型 |
| leaveReason | String | N | 离职原因 |
| salary | String | N | 薪资 |
| manageNumbers | String | N | 下属人数 |
| jobDuration | String | N | 工作时间 如“2年3个月” |
| department | String | N | 部门 |
| jobAchieve | String | N | 工作成绩 |
| jobResp | String | N | 工作职责 |
| jobSummary | String | N | 工作总结 |
| jobCapacity | String | N | 工作能力 |
| jobLocation | String | N | 工作地点 |
| jobNature | String | N | 工作性质(全职|简兼职|实习) |
| isLastJob | Integer | N | 是否是最近受雇 1-是,0-否 |
RecruitmentResumeAwardExperienceInfo
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| awardDate | String | Y | 获奖时间 |
| award | String | Y | 获奖名称 |
返回结果:
| 参数 | 类型 | 必传(Y/N) | 说明 |
|---|---|---|---|
| errcode | Integer | Y | 0成功,其他失败 |
| errmsg | String | Y | 操作结果描述 |
| data | String | N | 上传的简历ID |
请求示例(HTTPS):
https://api.xinrenxinshi.com/v5/recruitment/resume/add?sign=0HO9Ki%2ByZNQzWIN%2BEAMwvr8xAZ8%3D
请求Body示例:
{
"type": 1,
"empInfoIds": ["19156683730,19156683731,19156683732"],
"name": "测试",
"mobile": "19156683739",
"email": "19156683739@xinrenxinshi.com",
"sex": 1,
"timestamp": "1643018710000",
"birthDate": "1989-10-23",
"workStartDate": "2015-07",
"workAge": 6,
"lastCompany": "宝马集团",
"lastJob": "资深后端开发工程师",
"degree": 6,
"school": "西南交通大学",
"major": "计算机应用技术",
"resume": "www.baidu.com",
"statusModelList": [
{
"channelTypeDesc": "51job",
"job": "后端工程师"
}
],
"resumeBriefTO": {
"currentStatus": "在职看机会",
"overseasEducation": 0,
"graduationYear": "2005",
"overseasExperience": 0
},
"jobIntentionDOList": [
{
"jobNature": 0,
"expectedJob": "java",
"expectSalary": "35000~50000元/月"
}
],
"educationExperienceDOList": [
{
"startDate": "2002-09",
"endDate": "2005-07",
"school": "西南交通大学",
"major": "计算机应用技术",
"degree": 6,
"schoolRank": 54,
"schoolType": "211院校"
},
{
"startDate": "2001-09",
"endDate": "2004-07",
"school": "山东大学",
"major": "计算机科学与技术",
"degree": 5,
"schoolRank": 12,
"schoolType": "985_211_双一流院校"
}
],
"languageDOList": [],
"projectExperienceDOList": [
{
"startDate": "2017-05",
"endDate": "2017-10",
"projectDetail": "内部系统入职公司前已有系统,采用spring-mvc框架搭建,主要负责接入支付合作方,开发支付网关。\n接手支付网关,开发针对不同支付方式的逻辑"
}
],
"selfEvaluationDOList": [
{
"selfEvaluation": "· 熟练掌握java,具有6年的java开发经验,在应对复杂业务场景方面有一定经验\n· 熟悉java多线程编程,对java内存模型有一定了解\n· 熟悉spring框架,阅读过spring源码,了解spring加载流程\n· 熟悉mysql数据库,熟练运用sql语言对数据库进行操作,熟悉数据库事务操作\n· 熟悉redis,了解redis基本用法\n· 熟悉linux基本命令,熟悉shell语言"
}
],
"socialPageDOList": [],
"trainingExperienceDOList": [],
"workExperienceDOList": [
{
"startDate": "2018-12",
"endDate": "至今",
"companyName": "宝马集团",
"serveJob": "资深后端开发工程师",
"jobDetail": "任职瓜子二手车严选事业线,入职至今一直负责店仓业务,开发和维护5个以上微服务,入职前期服务之间耦合性较高,边界不明显,后尝试系统间解耦并取得有一定成果。\n2020年下半年以后,一直在做中台化的尝试,目前中台化进度处于开始阶段。",
"jobDuration": "2年8个月"
}
],
"awardExperienceDOList": []
}
SDK请求示例(java):
RecruitmentSyncResumeRequest request=new RecruitmentSyncResumeRequest(access_token());
requset.setType(1);
requset.setEmpInfoIds(Arrays.asList("19156683730,19156683731"));
request.setName("测试");
request.setSex(1);
request.setEmail("19156683739@xinrenxinshi.com");
request.setMobile("19156683739");
request.setBirthDate("1989-10-23");
request.setWorkStartDate("2015-07");
request.setWorkAge(6);
request.setDegree(6);
request.setLastCompany("宝马集团");
request.setLastJob("资深后端开发工程师");
request.setSchool("西南交通大学");
request.setMajor("计算机应用技术");
request.setResume("www.baidu.com");
request.setVideoResumeMark(0);
RecruitmentResumeStatusInfo statusModel=new RecruitmentResumeStatusInfo();
statusModel.setChannelTypeDesc("51job");
statusModel.setJob("后端工程师");
request.setStatusModelList(Arrays.asList(statusModel));
RecruitmentResumeBriefInfo briefModel=new RecruitmentResumeBriefInfo();
briefModel.setCurrentStatus("在职看机会");
briefModel.setOverseasEducation(0);
briefModel.setGraduationYear("2005");
briefModel.setOverseasExperience(0);
request.setResumeBriefModel(briefModel);
RecruitmentResumeJobIntentionInfo intentionModel=new RecruitmentResumeJobIntentionInfo();
intentionModel.setJobNature(0);
intentionModel.setExpectedJob("java");
intentionModel.setExpectSalary("35000~50000元/月");
request.setJobIntentionModelList(Arrays.asList(intentionModel));
List<RecruitmentResumeEducationExprienceInfo> exprienceInfos=new ArrayList<>();
RecruitmentResumeEducationExprienceInfo educationExprienceModel=new RecruitmentResumeEducationExprienceInfo();
educationExprienceModel.setStartDate("2002-09");
educationExprienceModel.setEndDate("2005-07");
educationExprienceModel.setDegree(6);
educationExprienceModel.setSchool("西南交通大学");
educationExprienceModel.setMajor("计算机应用技术");
educationExprienceModel.setSchoolRank(54);
educationExprienceModel.setSchoolType("211院校");
exprienceInfos.add(educationExprienceModel);
RecruitmentResumeEducationExprienceInfo educationExprienceModel2=new RecruitmentResumeEducationExprienceInfo();
educationExprienceModel2.setStartDate("2001-09");
educationExprienceModel2.setEndDate("2004-07");
educationExprienceModel2.setDegree(5);
educationExprienceModel2.setSchool("山东大学");
educationExprienceModel2.setMajor("计算机科学与技术");
educationExprienceModel2.setSchoolRank(12);
educationExprienceModel2.setSchoolType("985_211_双一流院校");
exprienceInfos.add(educationExprienceModel2);
request.setEducationExperienceModelList(exprienceInfos);
RecruitmentResumeProjectExperienceInfo experienceInfo=new RecruitmentResumeProjectExperienceInfo();
experienceInfo.setStartDate("2017-05");
experienceInfo.setEndDate("2017-10");
experienceInfo.setProjectDetail("内部系统入职公司前已有系统,采用spring-mvc框架搭建,主要负责接入支付合作方,开发支付网关。\\n接手支付网关,开发针对不同支付方式的逻辑");
request.setProjectExperienceModelList(Arrays.asList(experienceInfo));
RecruitmentResumeSelfEvaluationInfo selfEvaluationInfo=new RecruitmentResumeSelfEvaluationInfo();
selfEvaluationInfo.setSelfEvaluation("· 熟练掌握java,具有6年的java开发经验,在应对复杂业务场景方面有一定经验\\n· 熟悉java多线程编程,对java内存模型有一定了解\\n· 熟悉spring框架,阅读过spring源码,了解spring加载流程\\n· 熟悉mysql数据库,熟练运用sql语言对数据库进行操作,熟悉数据库事务操作\\n· 熟悉redis,了解redis基本用法\\n· 熟悉linux基本命令,熟悉shell语言");
request.setSelfEvaluationModelList(Arrays.asList(selfEvaluationInfo));
RecruitmentResumeWorkExperienceInfo workExperienceInfo=new RecruitmentResumeWorkExperienceInfo();
workExperienceInfo.setStartDate("2018-12");
workExperienceInfo.setEndDate("至今");
workExperienceInfo.setCompanyName("宝马集团");
workExperienceInfo.setServeJob("资深后端开发工程师");
workExperienceInfo.setJobDetail("任职瓜子二手车严选事业线,入职至今一直负责店仓业务,开发和维护5个以上微服务,入职前期服务之间耦合性较高,边界不明显,后尝试系统间解耦并取得有一定成果。\\n2020年下半年以后,一直在做中台化的尝试,目前中台化进度处于开始阶段。");
workExperienceInfo.setJobDuration("2年8个月");
request.setWorkExperienceModelList(Arrays.asList(workExperienceInfo));
OpenapiResponse<String> response=XrxsRecruitmentService.syncRecruitmentResume(request);
响应示例:
{
"errcode": 0,
"errmsg": "成功",
"data": "be9f3301f562478da0893851ff0a32bb"
}