感谢您的反馈!
根据接收单号查询接收单信息
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| info_top_query | RcvInfoTopQuery | 必须 | 查询条件 | ||
|
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | ActionResult | 操作返回结果 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaPurRcvInfoQueryRequest req = new AlibabaPurRcvInfoQueryRequest();
AlibabaPurRcvInfoQueryRequest.RcvInfoTopQuery obj1 = new AlibabaPurRcvInfoQueryRequest.RcvInfoTopQuery();
obj1.setRcvNumber("RT12345678");
req.setInfoTopQuery(obj1);
AlibabaPurRcvInfoQueryResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_pur_rcv_info_query_response>
<result>
<success>true</success>
<error_code>100</error_code>
<content>
<supplier_dto>
<supplier_name>洪著测试haofan@alitest.com====测试</supplier_name>
<supplier_id>628</supplier_id>
<supplier_code>SU010612</supplier_code>
</supplier_dto>
<rcv_type>RECEIVE</rcv_type>
<receiver>
<work_no>WB054249</work_no>
<user_name>徐x</user_name>
<resign>false</resign>
</receiver>
<rcv_number>RT1000065173</rcv_number>
<rcv_head_id>40186682160</rcv_head_id>
<rcv_description>说明</rcv_description>
<rcv_detail_url>https://procurement.alibaba.net/receipt/detail?rcvIdCode=150b8c7831fdce070b921102488294f2&rcvId=40186682160</rcv_detail_url>
<rcv_status>审批中</rcv_status>
<received_amount>650</received_amount>
<rcv_status_code>AUDITING</rcv_status_code>
<workflow_logs>
<workflow_logs>
<approver>
<work_no>WB12123</work_no>
<user_name>唧唧</user_name>
<resign>true</resign>
</approver>
<approval_role>提交申请</approval_role>
<attachments>
<file_dto>
<file_name>文件名</file_name>
<file_download_url>www.baidu.com</file_download_url>
</file_dto>
</attachments>
<comments>同意</comments>
<approve_time>1637843190000</approve_time>
<operation>提交申请</operation>
</workflow_logs>
</workflow_logs>
<credit_note>1</credit_note>
<execute_amount>650</execute_amount>
<instance_id>3db22ca5-f0a1-4b93-8f6b-2ca62ea26bc4</instance_id>
<is_allow_modify>false</is_allow_modify>
<rcv_shipment_lines>
<rcv_shipment_lines>
<item_name>天猫精灵-简化-xtc-2151</item_name>
<quantity>30</quantity>
<rcv_line_num>1</rcv_line_num>
<po_line_num>1</po_line_num>
<rcv_date>1637843174000</rcv_date>
<received_quantity>30</received_quantity>
<line_type>按数量</line_type>
<received_amount>390</received_amount>
<expense_month>2021-10</expense_month>
<rcv_line_id>2008599284181</rcv_line_id>
</rcv_shipment_lines>
</rcv_shipment_lines>
<files>
<file_dto>
<file_name>文件名</file_name>
<file_download_url>www.baidu.com</file_download_url>
</file_dto>
</files>
<company>
<code>T60</code>
<name>南京淘宝软件有限公司</name>
<id>1458</id>
</company>
<finish_date>2021-11-04</finish_date>
<po_number>PO200057380</po_number>
</content>
<error_level>1</error_level>
<error_msg>1</error_msg>
<args>1</args>
</result>
</alibaba_pur_rcv_info_query_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|