文档中心 > API类目 > ICBU卖家API

alibaba.icbu.supplierfoster.isvtask.notify (任务执行结果通知)

ISV任务执行结果通知接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
isv_task_status_notify_request IsvTaskStatusNotifyRequest 可选 ISV任务执行结果通知入参
  • └ isv
  • String
  • 可选
  • xxxxx
  • ISV 标识
  • └ type
  • String
  • 可选
  • xxxxx
  • 任务类型
  • └ task_key
  • String
  • 可选
  • xxxxx
  • 任务 Key
  • └ task_status
  • String
  • 可选
  • xxxxx
  • 任务状态
  • └ deduction
  • String
  • 可选
  • xxxxx
  • 扣费金额
  • └ no_tax_deduction
  • String
  • 可选
  • xxxxx
  • 不含税扣费金额
  • └ fail_reason
  • String
  • 可选
  • xxxxx
  • 失败原因

响应参数

名称 类型 示例值 描述
isv_task_status_notify_response IsvTaskStatusNotifyResponse ISV任务执行结果通知返回
  • └ result
  • String
  • xxxxx
  • 结果码,0000 成功,1001 参数错误,9999 系统错误
  • └ fail_reason
  • String
  • xxxxx
  • 失败原因

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaIcbuSupplierfosterIsvtaskNotifyRequest req = new AlibabaIcbuSupplierfosterIsvtaskNotifyRequest();
AlibabaIcbuSupplierfosterIsvtaskNotifyRequest.IsvTaskStatusNotifyRequest obj1 = new AlibabaIcbuSupplierfosterIsvtaskNotifyRequest.IsvTaskStatusNotifyRequest();
obj1.setIsv("xxxxx");
obj1.setType("xxxxx");
obj1.setTaskKey("xxxxx");
obj1.setTaskStatus("xxxxx");
obj1.setDeduction("xxxxx");
obj1.setNoTaxDeduction("xxxxx");
obj1.setFailReason("xxxxx");
req.setIsvTaskStatusNotifyRequest(obj1);
AlibabaIcbuSupplierfosterIsvtaskNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_icbu_supplierfoster_isvtask_notify_response>
    <isv_task_status_notify_response>
        <result>xxxxx</result>
        <fail_reason>xxxxx</fail_reason>
    </isv_task_status_notify_response>
</alibaba_icbu_supplierfoster_isvtask_notify_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

返回
顶部