零售端平台单据列表详情
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
ref_ent_id | String | 必须 | 8b0d323bca554a8d88d903a8a71a2730 | 企业ID | |
bill_code | String | 可选 | inout_1127_08 | 单据编码 | |
bill_type | String | 必须 | 103 | 单据类型 | |
process_flag | String | 必须 | 3 | 处理标示resultType | |
upload_file_name | String | 可选 | DEF_RETAIL_OUT_20181127141128765848.xml | 上传方件名称 | |
bill_id | String | 必须 | 900032800194 | 订单ID |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | ResultModel | 0 | 监控宝推送网站监控信息,返回结果 |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaAlihealthDrugKytStorebilldetailRequest req = new AlibabaAlihealthDrugKytStorebilldetailRequest(); req.setRefEntId("8b0d323bca554a8d88d903a8a71a2730"); req.setBillCode("inout_1127_08"); req.setBillType("103"); req.setProcessFlag("3"); req.setUploadFileName("DEF_RETAIL_OUT_20181127141128765848.xml"); req.setBillId("900032800194"); AlibabaAlihealthDrugKytStorebilldetailResponse rsp = client.execute(req); System.out.println(rsp.getBody());
<alibaba_alihealth_drug_kyt_storebilldetail_response> <result> <model> <bill_id>1234576</bill_id> <bill_time>2018-08-11</bill_time> <bill_type>202</bill_type> <from_user_name>中信21世纪</from_user_name> <to_user_name>中信21世纪</to_user_name> <from_user_id>8b0d323bca554a8d88d903a8a71a2730</from_user_id> <to_user_id>8b0d323bca554a8d88d903a8a71a2730</to_user_id> <process_flag>3</process_flag> <remarks>相关信息</remarks> <customer_i_d_type>领药出库</customer_i_d_type> <customer_i_d>130701298837128812</customer_i_d> <is_personal>0</is_personal> <store_spec_info> <return_type>退货原因类型</return_type> <return_reason>退货原因</return_reason> <destroy_reason_code>销毁原因类型</destroy_reason_code> <destroy_reason_des>销毁原因</destroy_reason_des> <destroy_actor>出库执行人</destroy_actor> <destroy_actor_cert>出库执行人证件</destroy_actor_cert> <destroy_checker>出库监督人</destroy_checker> <destroy_checker_cert>出库监督人证件</destroy_checker_cert> </store_spec_info> <store_physic_infos> <store_physic_info> <physic_name>药品名称</physic_name> <prod_name>商品名称</prod_name> <prepn_type>剂型</prepn_type> <prepn_spec>制剂规格</prepn_spec> <pkg_spec>包装规格</pkg_spec> <produce_ent_name>8b0d323bca554a8d88d903a8a71a2730</produce_ent_name> <product_batch_no>p121213</product_batch_no> <produce_date>2018-01-02</produce_date> <valid_end_date>2018-01-02</valid_end_date> <least_pkg_amount>10</least_pkg_amount> <least_measure_amount>2</least_measure_amount> <approval_no>F8859-1</approval_no> <physic_type>3</physic_type> <drug_id>111111111111</drug_id> <pkg_unit>0</pkg_unit> <prepn_unit>0</prepn_unit> <store_code_info_list> <store_code_info> <package_level>1</package_level> <code>12312321</code> <code_is_matched>W</code_is_matched> </store_code_info> </store_code_info_list> </store_physic_info> </store_physic_infos> <order_is_matched>W</order_is_matched> <bill_code>GBK8859-1</bill_code> </model> <msg_code>SUCCESS</msg_code> <msg_info>调用成功</msg_info> <response_success>ture</response_success> </result> </alibaba_alihealth_drug_kyt_storebilldetail_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|