文档中心 > API类目 > 天猫精灵供应链数字工厂

aliyun.gsc.production.receiveinfo.report (客户收货信息上报)

客户收货信息上报

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
receive_info_param ReceiveInfoParam [] 可选
  • 最大列表长度:1000
  • 收货信息入参
    • └ file_name
    • String
    • 必须
    • 附件.jpg
    • 签收单附件名称
    • └ sign_time
    • Date
    • 必须
    • 2020-10-27 17:58:00
    • 签收时间
    • └ finished
    • String
    • 必须
    • true/false
    • 是否全部接收
    • └ vendor_name
    • String
    • 可选
    • 供应商名称A
    • 供应商名称
    • └ vendor_code
    • String
    • 可选
    • vendor001
    • 供应商编码
    • item_infos
    • ReceiveInfoItem []
    • 必须
    • 收货信息项
    • └ to_be_signed_quantity
    • String
    • 必须
    • 10
    • 签收数量
    • └ product_name
    • String
    • 可选
    • 产品A
    • 产品名称
    • └ product_code
    • String
    • 必须
    • 1ACXXXXX
    • 产品编码
    • └ atd_line_no
    • String
    • 必须
    • 1
    • 发运单行号
    • └ sign_remark
    • String
    • 可选
    • 签收备注
    • 签收备注
    • └ file_content
    • String
    • 必须
    • 附件文件内容(二进制转BASE64)
    • 签收单附件内容
    • └ atd_no
    • String
    • 必须
    • ATDXXXXXX
    • 阿里发货单号
    • └ signer
    • String
    • 必须
    • 王xx
    • 签收人
    • └ signer_phone
    • String
    • 必须
    • 180xxxxxxxx
    • 签收人号码

    响应参数

    名称 类型 示例值 描述
    response_code String 200 返回状态码
    error_message String no 错误信息
    message String 成功 消息

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    AliyunGscProductionReceiveinfoReportRequest req = new AliyunGscProductionReceiveinfoReportRequest();
    List<AliyunGscProductionReceiveinfoReportRequest.ReceiveInfoParam> list2 = new ArrayList<AliyunGscProductionReceiveinfoReportRequest.ReceiveInfoParam>();
    AliyunGscProductionReceiveinfoReportRequest.ReceiveInfoParam obj3 = new AliyunGscProductionReceiveinfoReportRequest.ReceiveInfoParam();
    list2.add(obj3);
    obj3.setFileName("附件.jpg");
    obj3.setSignTime(StringUtils.parseDateTime("2020-10-27 17:58:00"));
    obj3.setFinished("true/false");
    obj3.setVendorName("供应商名称A");
    obj3.setVendorCode("vendor001");
    List<AliyunGscProductionReceiveinfoReportRequest.ReceiveInfoItem> list6 = new ArrayList<AliyunGscProductionReceiveinfoReportRequest.ReceiveInfoItem>();
    AliyunGscProductionReceiveinfoReportRequest.ReceiveInfoItem obj7 = new AliyunGscProductionReceiveinfoReportRequest.ReceiveInfoItem();
    list6.add(obj7);
    obj7.setToBeSignedQuantity("10");
    obj7.setProductName("产品A");
    obj7.setProductCode("1ACXXXXX");
    list4.setItemInfos(list6);
    obj3.setAtdLineNo("1");
    obj3.setSignRemark("签收备注");
    obj3.setFileContent("附件文件内容(二进制转BASE64)");
    obj3.setAtdNo("ATDXXXXXX");
    obj3.setSigner("王xx");
    obj3.setSignerPhone("180xxxxxxxx");
    req.setReceiveInfoParam(list2);
    AliyunGscProductionReceiveinfoReportResponse rsp = client.execute(req);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <aliyun_gsc_production_receiveinfo_report_response>
        <response_code>200</response_code>
        <error_message>no</error_message>
        <message>成功</message>
    </aliyun_gsc_production_receiveinfo_report_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

    返回
    顶部