alibaba.mtp.supplychain.inboundorder.print (MTP二期入库单打印)

MTP二期入库单打印

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
inbound_order_print_param InboundOrderPrintParam 可选 入参
  • └ out_trace_id
  • String
  • 可选
  • xx
  • 外部traceId
  • └ merchant_code
  • String
  • 可选
  • xx
  • 商家编码
  • └ outer_order_no
  • String
  • 可选
  • xx
  • 外部来源单号
  • └ source
  • String
  • 可选
  • xx
  • 调用来源
  • └ warehouse_code
  • String
  • 可选
  • xx
  • MTP中心仓虚编码

响应参数

名称 类型 示例值 描述
result ResultDTO 出参
  • └ success
  • Boolean
  • true
  • 成功
  • └ error_message
  • String
  • xx
  • 错误信息
  • └ error_code
  • String
  • xx
  • 错误编码
  • content
  • InboundOrderPrintResDTO
  • 内容
  • └ url
  • String
  • xx
  • 入库单打印地址
  • └ inbound_order_no
  • String
  • xx
  • 入库单号
  • └ outer_order_no
  • String
  • xx
  • 外部来源单号

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaMtpSupplychainInboundorderPrintRequest req = new AlibabaMtpSupplychainInboundorderPrintRequest();
AlibabaMtpSupplychainInboundorderPrintRequest.InboundOrderPrintParam obj1 = new AlibabaMtpSupplychainInboundorderPrintRequest.InboundOrderPrintParam();
obj1.setOutTraceId("xx");
obj1.setMerchantCode("xx");
obj1.setOuterOrderNo("xx");
obj1.setSource("xx");
obj1.setWarehouseCode("xx");
req.setInboundOrderPrintParam(obj1);
AlibabaMtpSupplychainInboundorderPrintResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_mtp_supplychain_inboundorder_print_response>
    <result>
        <success>true</success>
        <error_message>xx</error_message>
        <error_code>xx</error_code>
        <content>
            <url>xx</url>
            <inbound_order_no>xx</inbound_order_no>
            <outer_order_no>xx</outer_order_no>
        </content>
    </result>
</alibaba_mtp_supplychain_inboundorder_print_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

返回
顶部