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

文档中心 > API类目 > 店小蜜API

taobao.alimi.workorder.progress.notify (isv通知小蜜侧工单进度)

isv通知小蜜侧工单进度

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
work_order_notify_dxm_command WorkOrderNotifyDxmCommand 必须 工单进度更新comand
  • └ async_code
  • String
  • 必须
  • d064f3519426dcd30114b900431fc044
  • 异步返回的时候工单唯一标识
  • └ gmt_time
  • String
  • 必须
  • 2025-03-20 00:00:00
  • 当前节点处理时间
  • └ input_params
  • String
  • 可选
  • {"itemCode":"KLSJDFKLJSDF"}
  • 返回的每一个节点需要的业务数据
  • └ current_node
  • String
  • 可选
  • createNode
  • 当前节点code
  • └ completed
  • Boolean
  • 必须
  • false
  • 当前工单是否已经完结
  • └ work_order_id
  • String
  • 必须
  • 4323213123
  • 工单id

响应参数

名称 类型 示例值 描述
result_code String SUCCESS 是否成功
data Boolean true 业务数据
result_success Boolean true 是否调用成功
message String "" msg

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlimiWorkorderProgressNotifyRequest req = new AlimiWorkorderProgressNotifyRequest();
AlimiWorkorderProgressNotifyRequest.WorkOrderNotifyDxmCommand obj1 = new AlimiWorkorderProgressNotifyRequest.WorkOrderNotifyDxmCommand();
obj1.setAsyncCode("d064f3519426dcd30114b900431fc044");
obj1.setGmtTime("2025-03-20 00:00:00");
obj1.setInputParams("{\"itemCode\":\"KLSJDFKLJSDF\"}");
obj1.setCurrentNode("createNode");
obj1.setCompleted(false);
obj1.setWorkOrderId("4323213123");
req.setWorkOrderNotifyDxmCommand(obj1);
AlimiWorkorderProgressNotifyResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alimi_workorder_progress_notify_response>
    <result_code>SUCCESS</result_code>
    <data>true</data>
    <result_success>true</result_success>
    <message>&quot;&quot;</message>
</alimi_workorder_progress_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

返回
顶部