注意:以下文档只适用于TOP接口,请谨慎使用!

文档中心 > API类目 > 阿里健康追溯码

alibaba.alihealth.drug.download.dataerrordiagnosis (数据未落地诊断)

阿里健康-追溯码-D2D数据未落地原因诊断

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
app_key_n String 必须 32777941 appKey
base_ent_name String 必须 香港测试107new 数据所有者企业名称
bill_ent_name String 可选 中信测试企业 单据所有者企业名称
type String 必须 2 下游模式填2 集团模式填3
bill_code String 可选 1234567 单据号
bill_type_flag String 可选 O 单据标识 入库填写I 出库填写O
re_upload String 必须 0 是否需要重传 1代表需要 0代表不需要
code String 可选 81103030114297915168 追溯码;当有code时候billEntname bill_code bill_type_flag可以不填,优先根据code判定

响应参数

名称 类型 示例值 描述
result DataEntTaskResultDto result
  • └ model
  • String
  • 中信测试企业未授权
  • 诊断原因
  • └ http_status_code
  • Number
  • 200
  • httpStatusCode
  • └ msg_info
  • String
  • "执行成功"
  • msgInfo
  • └ success
  • Boolean
  • true
  • success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthDrugDownloadDataerrordiagnosisRequest req = new AlibabaAlihealthDrugDownloadDataerrordiagnosisRequest();
req.setAppKeyN("32777941");
req.setBaseEntName("香港测试107new");
req.setBillEntName("中信测试企业");
req.setType("2");
req.setBillCode("1234567");
req.setBillTypeFlag("O");
req.setReUpload("0");
req.setCode("81103030114297915168");
AlibabaAlihealthDrugDownloadDataerrordiagnosisResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_drug_download_dataerrordiagnosis_response>
    <result>
        <model>中信测试企业未授权</model>
        <http_status_code>200</http_status_code>
        <msg_info>&quot;执行成功&quot;</msg_info>
        <success>true</success>
    </result>
</alibaba_alihealth_drug_download_dataerrordiagnosis_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

返回
顶部