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

alibaba.alihealth.drug.kyt.service.getenddate (获取企业服务截止时间)

获取企业服务截止时间

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
ref_ent_id String 必须 1212122 调用接口的企业ID
business Number 必须 1 行业线 1:药,2:非药
service Number 必须 11 基础版:11 高级版 :12

响应参数

名称 类型 示例值 描述
result ResultModel 接口返回
  • └ success
  • Boolean
  • true
  • true:接口调用成功
  • └ end_date
  • String
  • 2023-03-31
  • 服务截止时间
  • └ msg_info
  • String
  • xxx
  • 接口调用失败具体信息
  • └ msg_code
  • String
  • xxx
  • 接口调用失败具体code

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthDrugKytServiceGetenddateRequest req = new AlibabaAlihealthDrugKytServiceGetenddateRequest();
req.setRefEntId("1212122");
req.setBusiness(1L);
req.setService(11L);
AlibabaAlihealthDrugKytServiceGetenddateResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_drug_kyt_service_getenddate_response>
    <result>
        <success>true</success>
        <end_date>2023-03-31</end_date>
        <msg_info>xxx</msg_info>
        <msg_code>xxx</msg_code>
    </result>
</alibaba_alihealth_drug_kyt_service_getenddate_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

返回
顶部