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

文档中心 > API类目 > 淘宝客API

taobao.tbk.sc.intelligent.recommendation.results.report (淘宝客-服务商-导购智能推荐采纳结果上报)

淘宝客-服务商-导购智能推荐采纳结果上报

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
recommend_adopt_result_command RecommendAdoptResultCommand 可选 /
  • adopt_result_list
  • AdoptResult []
  • 可选
  • []
  • 采纳结果
  • └ result
  • Number
  • 可选
  • 1
  • 1、淘客采纳 2、淘客未采纳 3、产生购买
  • └ order_id
  • String
  • 可选
  • 3213123
  • 订单id
  • └ time
  • Number
  • 可选
  • 3123213
  • 购买时间/采纳时间
  • └ query_id
  • String
  • 可选
  • adasdas
  • 查询唯一标识

响应参数

名称 类型 示例值 描述
data Boolean true 是否成功true/false
result_code Number 200 结果code
biz_error_desc String xxxx 错误描述
result_msg String xxxx 结果信息
biz_error_code Number 404 错误code

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TbkScIntelligentRecommendationResultsReportRequest req = new TbkScIntelligentRecommendationResultsReportRequest();
TbkScIntelligentRecommendationResultsReportRequest.RecommendAdoptResultCommand obj1 = new TbkScIntelligentRecommendationResultsReportRequest.RecommendAdoptResultCommand();
List<TbkScIntelligentRecommendationResultsReportRequest.AdoptResult> list3 = new ArrayList<TbkScIntelligentRecommendationResultsReportRequest.AdoptResult>();
TbkScIntelligentRecommendationResultsReportRequest.AdoptResult obj4 = new TbkScIntelligentRecommendationResultsReportRequest.AdoptResult();
list3.add(obj4);
obj4.setResult(1L);
obj4.setOrderId("3213123");
obj4.setTime(3123213L);
obj4.setQueryId("adasdas");
obj1.setAdoptResultList(list3);
req.setRecommendAdoptResultCommand(obj1);
TbkScIntelligentRecommendationResultsReportResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tbk_sc_intelligent_recommendation_results_report_response>
    <data>true</data>
    <result_code>200</result_code>
    <biz_error_desc>xxxx</biz_error_desc>
    <result_msg>xxxx</result_msg>
    <biz_error_code>404</biz_error_code>
</tbk_sc_intelligent_recommendation_results_report_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

返回
顶部