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

文档中心 > API类目 > 阿里健康处方药平台

alibaba.alihealth.alidoc.drug.store.update (更新药店)

药店信息更新接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
drug_store_update_top_request DrugStoreUpdateTopRequest 必须 更新对象
  • └ drug_store_code
  • String
  • 必须
  • 1
  • 药店编码
  • └ drug_store_name
  • String
  • 可选
  • 1
  • 药店名称
  • └ drug_store_address
  • String
  • 可选
  • 1
  • 药店地址
  • └ drug_strore_phone
  • String
  • 可选
  • 1
  • 电话
  • └ medicare_label
  • byte
  • 可选
  • 1
  • 1-支持医保,0-不支持医保
  • └ latitude
  • String
  • 可选
  • 1
  • 纬度
  • └ status
  • byte
  • 可选
  • 1
  • 状态,1-启动,0-封存
  • └ longitude
  • String
  • 可选
  • 1
  • 经度

响应参数

名称 类型 示例值 描述
err_message String errMessage
err_kode String errCode
successed Boolean success

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthAlidocDrugStoreUpdateRequest req = new AlibabaAlihealthAlidocDrugStoreUpdateRequest();
AlibabaAlihealthAlidocDrugStoreUpdateRequest.DrugStoreUpdateTopRequest obj1 = new AlibabaAlihealthAlidocDrugStoreUpdateRequest.DrugStoreUpdateTopRequest();
obj1.setDrugStoreCode("1");
obj1.setDrugStoreName("1");
obj1.setDrugStoreAddress("1");
obj1.setDrugStrorePhone("1");
obj1.setMedicareLabel("1");
obj1.setLatitude("1");
obj1.setStatus("1");
obj1.setLongitude("1");
req.setDrugStoreUpdateTopRequest(obj1);
AlibabaAlihealthAlidocDrugStoreUpdateResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_alidoc_drug_store_update_response>
    <err_message></err_message>
    <err_kode></err_kode>
    <successed></successed>
</alibaba_alihealth_alidoc_drug_store_update_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

返回
顶部