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

文档中心 > API类目 > CRM猎户座前台

alibaba.okki.leads.import.resource.query (小满leads资源导入与分发结果查询)

小满leads资源导入与分发结果查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
import_id Number 必须 2018244392460042241 导入ID

响应参数

名称 类型 示例值 描述
result ResultModel 响应结果集
  • └ dateline
  • Number
  • 1770082441956
  • 响应时间戳
  • └ success
  • Boolean
  • true
  • 是否执行成功,true-成功,false-失败
  • values
  • ImportResourceStatusDto
  • 导入结果
  • └ status
  • String
  • FAILED
  • 导入状态
  • └ status_desc
  • String
  • 资源判重状态过滤|depot_repeat
  • 导入状态描述
  • └ error_code
  • String
  • PARAMS_NULLLeads导入资源ID不能为空
  • 错误码
  • └ error_msg
  • String
  • 参数不能为空
  • 错误信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaOkkiLeadsImportResourceQueryRequest req = new AlibabaOkkiLeadsImportResourceQueryRequest();
req.setImportId(2018244392460042241L);
AlibabaOkkiLeadsImportResourceQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_okki_leads_import_resource_query_response>
    <result>
        <dateline>1770082441956</dateline>
        <success>true</success>
        <values>
            <status>FAILED</status>
            <status_desc>资源判重状态过滤|depot_repeat</status_desc>
        </values>
        <error_code>PARAMS_NULLLeads导入资源ID不能为空</error_code>
        <error_msg>参数不能为空</error_msg>
    </result>
</alibaba_okki_leads_import_resource_query_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

返回
顶部