dingtalk.oapi.ats.rpa.resume.mail.collect (获取招聘平台简历文件邮件回传信息)

招聘平台,简历文件回流信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param CollResumeMailParam 必须 简历文件参数
  • origin_mail
  • MailContent
  • 可选
  • 原始邮件信息,可选
  • └ from_mail_address
  • String
  • 可选
  • xxxx
  • 发件人邮件地址,可选
  • └ body_html
  • String
  • 可选
  • xxxx
  • 邮件正文,可选
  • └ title
  • String
  • 可选
  • xxxx
  • 邮件标题,可选
  • └ mail_address
  • String
  • 可选
  • xxxx
  • 邮件地址,可选
  • └ from_mail_alias
  • String
  • 可选
  • xxxx
  • 发件人姓名
  • └ mail_id
  • String
  • 可选
  • xxxx
  • 邮件id
  • └ received_time
  • Number
  • 可选
  • 15984483611280
  • 收件时间,时间戳毫秒
  • resume_file
  • ResumeFileStoreVo
  • 可选
  • 简历文件信息
  • └ download_url
  • String
  • 可选
  • xxxxx
  • 下载地址
  • └ file_type
  • String
  • 可选
  • pdf
  • 文件类型
  • └ file_name
  • String
  • 可选
  • xxx.pdf
  • 文件名,需要带后缀
  • └ channel
  • String
  • 必须
  • 51job
  • 渠道来源,接入前请提前沟通
  • └ matched_jobs
  • String []
  • 可选
  • [xxxx,xxxx,xxxx]
  • 匹配到的职位列表
  • resume_detail_info
  • ResumeDetailInfo
  • 可选
  • 结构化的简历详情
  • └ name
  • String
  • 可选
  • 张三
  • 姓名,必传
  • └ phone_num
  • String
  • 可选
  • 18668421234
  • 电话,必传
  • └ email
  • String
  • 可选
  • 123@mail.com
  • 邮箱地址
  • └ sex
  • String
  • 可选
  • 男性
  • 男性,女性
  • └ birth
  • String
  • 可选
  • 2010-01
  • 出生日期
  • └ graduate_time
  • String
  • 可选
  • 2010-01
  • 毕业时间
  • └ begin_work_time
  • String
  • 可选
  • 2010-01
  • 开始工作时间
  • └ nationality
  • String
  • 可选
  • 中国
  • 国籍
  • └ married
  • String
  • 可选
  • 已婚
  • 已婚,未婚,离婚
  • └ native_place
  • String
  • 可选
  • 浙江
  • 籍贯
  • └ now_location
  • String
  • 可选
  • 浙江省杭州市
  • 先居住地
  • └ forward_location
  • String
  • 可选
  • 浙江省杭州市
  • 期望工作地
  • └ school
  • String
  • 可选
  • 浙江大学
  • 毕业院校
  • └ education
  • String
  • 可选
  • 本科
  • 小学,初中,高中,中专,大专,本科,硕士,博士,其他
  • └ advanced_degree
  • String
  • 可选
  • 理学学士
  • 学位
  • └ student_type
  • String
  • 可选
  • 全日制
  • 学历情况
  • └ school_type
  • String
  • 可选
  • 985
  • 学校类别
  • └ speciality
  • String
  • 可选
  • 计算机科学与技术
  • 专业
  • └ salary
  • String
  • 可选
  • 1000
  • 当前薪资
  • └ aim_salary
  • String
  • 可选
  • 2000
  • 期望薪资
  • └ title_standard
  • String
  • 可选
  • 开发工程师
  • 职位名称
  • └ vocation_standard
  • String
  • 可选
  • 互联网
  • 行业名称
  • └ political
  • String
  • 可选
  • 党员
  • 政治面貌
  • └ job_status
  • String
  • 可选
  • 求职中
  • 求职状态
  • └ grade_of_english
  • String
  • 可选
  • 6级
  • 英语等级
  • education_info_list
  • EducationInfo []
  • 可选
  • 教育经历
  • └ start_date
  • String
  • 可选
  • 2010-01
  • 开始时间
  • └ end_date
  • String
  • 可选
  • 2010-01
  • 结束时间
  • └ school
  • String
  • 可选
  • 浙江大学
  • 学校名称
  • └ speciality
  • String
  • 可选
  • 计算机科学与技术
  • 专业
  • └ education
  • String
  • 可选
  • 本科
  • 学历
  • └ summary
  • String
  • 可选
  • 专业GPA3.2,一等奖学金
  • 详细介绍
  • experience_info_list
  • ExperienceInfo []
  • 可选
  • 工作经历
  • └ start_date
  • String
  • 可选
  • 2010-01
  • 开始时间
  • └ end_date
  • String
  • 可选
  • 2010-01
  • 结束时间
  • └ company
  • String
  • 可选
  • 阿里巴巴
  • 公司名称
  • └ title
  • String
  • 可选
  • 开发工程师
  • 职位名称
  • └ summary
  • String
  • 可选
  • 负责xxx项目的研发工作,取得了xx成果
  • 工作内容
  • training_info_list
  • TrainingInfo []
  • 可选
  • 培训经历
  • └ start_date
  • String
  • 可选
  • 2010-01
  • 开始时间
  • └ end_date
  • String
  • 可选
  • 2010-01
  • 结束时间
  • └ training_institution
  • String
  • 可选
  • 新东方
  • 培训机构名称
  • └ certificate
  • String
  • 可选
  • 高级厨师证书
  • 所获证书
  • └ description_in_details
  • String
  • 可选
  • 川菜,粤菜,维扬菜,煎炸蒸煮
  • 培训详情
  • project_info_list
  • ProjectInfo []
  • 可选
  • 项目经历
  • └ start_date
  • String
  • 可选
  • 2010-01
  • 开始时间
  • └ end_date
  • String
  • 可选
  • 2010-01
  • 结束时间
  • └ project_name
  • String
  • 可选
  • xxx项目
  • 项目名称
  • └ project_description
  • String
  • 可选
  • 项目描述
  • 项目描述
  • └ opt_user_id
  • String
  • 可选
  • 操作人userId
  • userId123
biz_code String 必须 ddats 业务唯一标识,接入前请提前沟通

响应参数

名称 类型 示例值 描述
errmsg String 无访问权限 错误信息
errcode Number 400020 错误码
result Boolean true 处理结果

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
DingTalkClient client = new DefaultDingTalkClient("https://oapi.dingtalk.com/topapi/ats/rpa/resume/mail/collect");
OapiAtsRpaResumeMailCollectRequest req = new OapiAtsRpaResumeMailCollectRequest();
CollResumeMailParam obj1 = new CollResumeMailParam();
MailContent obj2 = new MailContent();
obj2.setFromMailAddress("xxxx");
obj2.setBodyHtml("xxxx");
obj2.setTitle("xxxx");
obj2.setMailAddress("xxxx");
obj2.setFromMailAlias("xxxx");
obj2.setMailId("xxxx");
obj2.setReceivedTime(15984483611280L);
obj1.setOriginMail(obj2);
ResumeFileStoreVo obj3 = new ResumeFileStoreVo();
obj3.setDownloadUrl("xxxxx");
obj3.setFileType("pdf");
obj3.setFileName("xxx.pdf");
obj1.setResumeFile(obj3);
obj1.setChannel("51job");
obj1.setMatchedJobs("xxxx,xxxx,xxxx");
ResumeDetailInfo obj4 = new ResumeDetailInfo();
obj4.setName("张三");
obj4.setPhoneNum("18668421234");
obj4.setEmail("123@mail.com");
obj4.setSex("男性");
obj4.setBirth("2010-01");
obj4.setGraduateTime("2010-01");
obj4.setBeginWorkTime("2010-01");
obj4.setNationality("中国");
obj4.setMarried("已婚");
obj4.setNativePlace("浙江");
obj4.setNowLocation("浙江省杭州市");
obj4.setForwardLocation("浙江省杭州市");
obj4.setSchool("浙江大学");
obj4.setEducation("本科");
obj4.setAdvancedDegree("理学学士");
obj4.setStudentType("全日制");
obj4.setSchoolType("985");
obj4.setSpeciality("计算机科学与技术");
obj4.setSalary("1000");
obj4.setAimSalary("2000");
obj4.setTitleStandard("开发工程师");
obj4.setVocationStandard("互联网");
obj4.setPolitical("党员");
obj4.setJobStatus("求职中");
obj4.setGradeOfEnglish("6级");
List<EducationInfo> list6 = new ArrayList<EducationInfo>();
EducationInfo obj7 = new EducationInfo();
list6.add(obj7);
obj7.setStartDate("2010-01");
obj7.setEndDate("2010-01");
obj7.setSchool("浙江大学");
obj7.setSpeciality("计算机科学与技术");
obj7.setEducation("本科");
obj7.setSummary("专业GPA3.2,一等奖学金");
obj4.setEducationInfoList(list6);
List<ExperienceInfo> list9 = new ArrayList<ExperienceInfo>();
ExperienceInfo obj10 = new ExperienceInfo();
list9.add(obj10);
obj10.setStartDate("2010-01");
obj10.setEndDate("2010-01");
obj10.setCompany("阿里巴巴");
obj10.setTitle("开发工程师");
obj10.setSummary("负责xxx项目的研发工作,取得了xx成果");
obj4.setExperienceInfoList(list9);
List<TrainingInfo> list12 = new ArrayList<TrainingInfo>();
TrainingInfo obj13 = new TrainingInfo();
list12.add(obj13);
obj13.setStartDate("2010-01");
obj13.setEndDate("2010-01");
obj13.setTrainingInstitution("新东方");
obj13.setCertificate("高级厨师证书");
obj13.setDescriptionInDetails("川菜,粤菜,维扬菜,煎炸蒸煮");
obj4.setTrainingInfoList(list12);
List<ProjectInfo> list15 = new ArrayList<ProjectInfo>();
ProjectInfo obj16 = new ProjectInfo();
list15.add(obj16);
obj16.setStartDate("2010-01");
obj16.setEndDate("2010-01");
obj16.setProjectName("xxx项目");
obj16.setProjectDescription("项目描述");
obj4.setProjectInfoList(list15);
obj1.setResumeDetailInfo(obj4);
obj1.setOptUserId("操作人userId");
req.setParam(obj1);
req.setBizCode("ddats");
OapiAtsRpaResumeMailCollectResponse rsp = client.execute(req, access_token);
System.out.println(rsp.getBody());

响应示例

  • JSON示例
{
    "errmsg":"无访问权限",
    "errcode":400020,
    "result":true
}

异常示例

  • JSON示例
{
	"errcode":88,
	"errmsg":"ding talk error"
}

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部