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

wdk.logistics.wcs.command.pull.suspend.command (拉取挂起命令)

拉取挂起命令

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
param0 WcsSuspendCommandQueryRequest 可选 入参
  • └ device_no
  • String
  • 可选
  • DEFAULT
  • 设备商编码
  • └ warehouse_code
  • String
  • 可选
  • 88886
  • 仓code

响应参数

名称 类型 示例值 描述
result UmsResult 返回值
  • └ code
  • String
  • 200
  • 状态码
  • data
  • WcsCommandQueryResponse
  • 返回数据
  • └ warehouse_code
  • String
  • 8886
  • 仓code
  • └ biz_type
  • Number
  • 99
  • 业务类型
  • └ device_no
  • String
  • DEFAULT
  • 设备商编码
  • commands
  • Command []
  • 命令
  • └ content
  • String
  • {"1":"b"}
  • 命令内容
  • └ uuid
  • String
  • 123456
  • 命令uuid
  • └ success
  • Boolean
  • true
  • 是否成功
  • └ message
  • String
  • success
  • 返回信息

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
WdkLogisticsWcsCommandPullSuspendCommandRequest req = new WdkLogisticsWcsCommandPullSuspendCommandRequest();
WdkLogisticsWcsCommandPullSuspendCommandRequest.WcsSuspendCommandQueryRequest obj1 = new WdkLogisticsWcsCommandPullSuspendCommandRequest.WcsSuspendCommandQueryRequest();
obj1.setDeviceNo("DEFAULT");
obj1.setWarehouseCode("88886");
req.setParam0(obj1);
WdkLogisticsWcsCommandPullSuspendCommandResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<wdk_logistics_wcs_command_pull_suspend_command_response>
    <result>
        <code>200</code>
        <data>
            <warehouse_code>8886</warehouse_code>
            <biz_type>99</biz_type>
            <device_no>DEFAULT</device_no>
            <commands>
                <command>
                    <content>{&quot;1&quot;:&quot;b&quot;}</content>
                    <uuid>123456</uuid>
                </command>
            </commands>
        </data>
        <success>true</success>
        <message>success</message>
    </result>
</wdk_logistics_wcs_command_pull_suspend_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

返回
顶部