文档中心 > API类目 > 五道口API

wdk.logistics.wcs.command.call.back.for.suspended.command (回调挂起命令)

回调挂起命令

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param_request WcsSuspendCommandQueryResultRequest 可选 入参
  • └ device_no
  • String
  • 可选
  • DEFAULT
  • 设备商编码
  • └ message
  • String
  • 可选
  • 取消成功
  • 其他信息
  • └ uuid
  • String
  • 可选
  • ax0001234
  • 命令uuid
  • └ warehouse_code
  • String
  • 可选
  • 123456
  • 仓code
  • └ status
  • Number
  • 可选
  • 1
  • 回调命令状态1:成功,-1:取消失败

响应参数

名称 类型 示例值 描述
result UmsResult 返回值
  • └ code
  • String
  • 200
  • 状态码
  • └ success
  • String
  • true
  • 是否成功
  • └ message
  • String
  • success
  • 返回信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
WdkLogisticsWcsCommandCallBackForSuspendedCommandRequest req = new WdkLogisticsWcsCommandCallBackForSuspendedCommandRequest();
WdkLogisticsWcsCommandCallBackForSuspendedCommandRequest.WcsSuspendCommandQueryResultRequest obj1 = new WdkLogisticsWcsCommandCallBackForSuspendedCommandRequest.WcsSuspendCommandQueryResultRequest();
obj1.setDeviceNo("DEFAULT");
obj1.setMessage("取消成功");
obj1.setUuid("ax0001234");
obj1.setWarehouseCode("123456");
obj1.setStatus(1L);
req.setParamRequest(obj1);
WdkLogisticsWcsCommandCallBackForSuspendedCommandResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<wdk_logistics_wcs_command_call_back_for_suspended_command_response>
    <result>
        <code>200</code>
        <success>true</success>
        <message>success</message>
    </result>
</wdk_logistics_wcs_command_call_back_for_suspended_command_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

返回
顶部