单据的资料信息
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| ref_ent_id | String | 必须 | bacf4ad0a3eb82b9b6ae74 | refEntId | |
| bill_code | String | 必须 | bc132 | 单据号 | |
| license_token | String | 必须 | 1234567 | 获取licenseToken,通过alibaba.alihealth.drug.scc.getlicense | |
| upload_ref_user_id | String | 必须 | 单据上传人refUserId | 单据上传人refUserId |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | ResultModel | 返回结果 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthDrugSccBillDetailMaterialRequest req = new AlibabaAlihealthDrugSccBillDetailMaterialRequest();
req.setRefEntId("bacf4ad0a3eb82b9b6ae74");
req.setBillCode("bc132");
req.setLicenseToken("1234567");
req.setUploadRefUserId("单据上传人refUserId");
AlibabaAlihealthDrugSccBillDetailMaterialResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
<alibaba_alihealth_drug_scc_bill_detail_material_response>
<result>
<response_success>SUCCESS</response_success>
<model>
<bill_code>单据号</bill_code>
<from_user_name>发货货主单位</from_user_name>
<to_user_name>收货货主单位</to_user_name>
<mod_date>modDate</mod_date>
<bill_type>单据类型</bill_type>
<from_assed_user_name>发货方委托的企业名称</from_assed_user_name>
<to_assed_user_name>受收货方委托的企业名称</to_assed_user_name>
<up_material_total>上游资料总数</up_material_total>
<up_material_send>上游已发送资料</up_material_send>
<up_material_un_send>上游未发送资料</up_material_un_send>
<down_material_sign>下游资料签收数</down_material_sign>
<down_material_un_sign>下游资料未签收数</down_material_un_sign>
<down_material_reject>下游资料拒收数</down_material_reject>
<scc_bill_material_show_response_dto_list_of_bill>
<scc_bill_material_show_response_d_t_o>
<material_name>资料名称</material_name>
<material_class>资料分类</material_class>
<material_status>资料状态</material_status>
<materialup_stamp_status>资料上游盖章状态</materialup_stamp_status>
<material_down_stamp_status>资料下游盖章状态</material_down_stamp_status>
<material_id>资料id</material_id>
</scc_bill_material_show_response_d_t_o>
</scc_bill_material_show_response_dto_list_of_bill>
<scc_bill_material_show_response_dto_list_of_detail_bill>
<scc_bill_material_show_response_d_t_o_detail>
<material_name>资料名称</material_name>
<material_class>资料分类</material_class>
<material_status>资料状态</material_status>
<materialup_stamp_status>资料上游盖章状态</materialup_stamp_status>
<material_down_stamp_status>资料下游盖章状态</material_down_stamp_status>
<material_id>资料id</material_id>
</scc_bill_material_show_response_d_t_o_detail>
</scc_bill_material_show_response_dto_list_of_detail_bill>
<scc_bill_material_show_response_dto_list_of_dis_bill>
<scc_bill_material_show_response_d_t_o_dis>
<material_name>资料名称</material_name>
<material_class>资料分类</material_class>
<material_status>资料状态</material_status>
<materialup_stamp_status>资料上游盖章状态</materialup_stamp_status>
<material_down_stamp_status>资料下游盖章状态</material_down_stamp_status>
<material_id>资料id</material_id>
</scc_bill_material_show_response_d_t_o_dis>
</scc_bill_material_show_response_dto_list_of_dis_bill>
<scc_bill_material_show_response_dto_list_of_history_temperature_bill>
<scc_bill_material_show_response_d_t_o>
<material_name>资料名称</material_name>
<material_class>资料分类</material_class>
<material_status>资料状态</material_status>
<materialup_stamp_status>资料上游盖章状态</materialup_stamp_status>
<material_down_stamp_status>资料下游盖章状态</material_down_stamp_status>
<history_bill_type>历史单据类型</history_bill_type>
<bill_time>单据时间</bill_time>
<material_id>资料id</material_id>
</scc_bill_material_show_response_d_t_o>
</scc_bill_material_show_response_dto_list_of_history_temperature_bill>
<scc_bill_material_show_response_dto_list_of_drug_report_bill>
<scc_bill_material_show_response_d_t_o>
<material_name>资料名称</material_name>
<material_class>资料分类</material_class>
<material_status>资料状态</material_status>
<materialup_stamp_status>资料上游盖章状态</materialup_stamp_status>
<material_down_stamp_status>资料下游盖章状态</material_down_stamp_status>
<material_id>123</material_id>
<bill_detail_id>123</bill_detail_id>
</scc_bill_material_show_response_d_t_o>
</scc_bill_material_show_response_dto_list_of_drug_report_bill>
<bill_id>123</bill_id>
</model>
<msg_info>成功失败信息</msg_info>
<msg_code>成功失败信息</msg_code>
<sub_msg_code>SUCCESS</sub_msg_code>
<operation>无后续操作</operation>
</result>
</alibaba_alihealth_drug_scc_bill_detail_material_response>
<error_response>
<code>50</code>
<msg>Remote service error</msg>
<sub_code>isv.invalid-parameter</sub_code>
<sub_msg>非法参数</sub_msg>
</error_response>
| 错误码 | 错误描述 | 解决方案 |
|---|