注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 阿里巴巴招聘系统API

alibaba.recruit.website.jobs.search (招聘官网职位搜索)

招聘官网指定条件搜索相关职位

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
query PositionQuery 必须 系统自动生成
  • └ channel
  • String []
  • 可选
  • lazada_website
  • 职位发布的渠道code
  • └ location
  • String []
  • 可选
  • CHN
  • 职位工作地点code
  • └ dept
  • String []
  • 必须
  • 00001/00002
  • 职位所属部门路径
  • └ keyword
  • String
  • 可选
  • java
  • 职位搜索关键词
  • └ lang
  • String
  • 必须
  • en
  • 返回内容语言
  • └ page_size
  • Number
  • 可选
  • 20
  • 单次返回职位数量
  • └ category
  • String []
  • 可选
  • 100
  • 职位类别code
  • └ client_id
  • String
  • 可选
  • LazadaWebSite
  • 客户端识别标识
  • └ page_index
  • Number
  • 必须
  • 1
  • 请求页码数

响应参数

名称 类型 示例值 描述
result Result 返回结果
  • content
  • Page
  • 结果内容
  • datas
  • PositionDto []
  • 职位信息数组
  • └ gmt_modified
  • Date
  • 1523332625000
  • 职位更新时间
  • work_locations
  • AreaDto []
  • 职位要求工作地点
  • └ name
  • String
  • Singapore
  • 工作地点名称
  • └ path
  • String
  • SGP
  • 工作地点code路径
  • └ full_name
  • String
  • Singapore
  • 工作地点全名
  • └ code
  • String
  • SGP
  • 工作地点code
  • └ name
  • String
  • Lazada-Test-Singapore
  • 职位名
  • └ validity_period
  • Date
  • 1523332625000
  • 职位有效期截止时间
  • └ category_code
  • String
  • 00000099
  • 职位分类CODE
  • category
  • PositionCategoryDto
  • 职位分类
  • └ name
  • String
  • 结算服务
  • 职位分类名称
  • └ full_name
  • String
  • 金融类-结算服务
  • 职位分类全名
  • └ code
  • String
  • 00000099
  • 职位分类code
  • └ recruit_num
  • Number
  • 1
  • 招募人数
  • └ code
  • String
  • GP1113238
  • 职位编码
  • └ work_location_codes
  • String []
  • 职位日工作地点code列表
  • └ department_name
  • String
  • 阿里巴巴-信息平台
  • 职位所属部门名
  • └ page_size
  • Number
  • 20
  • 分页大小
  • └ page_index
  • Number
  • 1
  • 当前页面
  • └ total_page
  • Number
  • 12
  • 总页数
  • └ error_code
  • String
  • "isv.invalid-parameter"
  • 错误码
  • └ error_msg
  • String
  • "参数错误"
  • 错误信息
  • └ success
  • Boolean
  • false
  • 接口调用结果

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaRecruitWebsiteJobsSearchRequest req = new AlibabaRecruitWebsiteJobsSearchRequest();
AlibabaRecruitWebsiteJobsSearchRequest.PositionQuery obj1 = new AlibabaRecruitWebsiteJobsSearchRequest.PositionQuery();
obj1.setChannel("lazada_website");
obj1.setLocation("CHN");
obj1.setDept("00001/00002");
obj1.setKeyword("java");
obj1.setLang("en");
obj1.setPageSize(20L);
obj1.setCategory("100");
obj1.setClientId("LazadaWebSite");
obj1.setPageIndex(1L);
req.setQuery(obj1);
AlibabaRecruitWebsiteJobsSearchResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_recruit_website_jobs_search_response>
    <result>
        <content>
            <datas>
                <position_dto>
                    <gmt_modified>1523332625000</gmt_modified>
                    <work_locations>
                        <area_dto>
                            <name>Singapore</name>
                            <path>SGP</path>
                            <full_name>Singapore</full_name>
                            <code>SGP</code>
                        </area_dto>
                    </work_locations>
                    <name>Lazada-Test-Singapore</name>
                    <validity_period>1523332625000</validity_period>
                    <category_code>00000099</category_code>
                    <category>
                        <name>结算服务</name>
                        <full_name>金融类-结算服务</full_name>
                        <code>00000099</code>
                    </category>
                    <recruit_num>1</recruit_num>
                    <code>GP1113238</code>
                    <work_location_codes>
                        <string></string>
                    </work_location_codes>
                    <department_name>阿里巴巴-信息平台</department_name>
                </position_dto>
            </datas>
            <page_size>20</page_size>
            <page_index>1</page_index>
            <total_page>12</total_page>
        </content>
        <error_code>&quot;isv.invalid-parameter&quot;</error_code>
        <error_msg>&quot;参数错误&quot;</error_msg>
        <success>false</success>
    </result>
</alibaba_recruit_website_jobs_search_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部