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

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

alibaba.alihealth.dental.store.insertorupdate (ISV新增/修改口腔门店)

ISV新增/修改口腔门店

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
store DentalOuterStoreRequest 可选 门店
  • └ logo
  • String
  • 可选
  • http://baidu.com
  • 门店主图
  • └ store_name
  • String
  • 可选
  • 门店名称
  • 门店名称
  • └ city_code
  • String
  • 可选
  • 城市码
  • 城市码
  • └ store_desc
  • String
  • 可选
  • 门店描述
  • 门店描述
  • └ license_name
  • String
  • 可选
  • 医疗执业许可证名称
  • 医疗执业许可证名称
  • └ store_phone
  • String
  • 可选
  • 门店号码
  • 门店号码
  • └ point_x
  • String
  • 可选
  • 11.11
  • 经度
  • └ license_no
  • String
  • 可选
  • 营业执照号
  • 营业执照号
  • └ point_y
  • String
  • 可选
  • 11.11
  • 纬度
  • └ address
  • String
  • 可选
  • 测试地址
  • 门店地址
  • └ store_id
  • Number
  • 可选
  • 1
  • 门店ID
  • └ store_code
  • String
  • 可选
  • 123123
  • 外部门店code
  • └ key_words
  • String
  • 可选
  • 洗牙
  • 关键字
  • └ work_time
  • String
  • 可选
  • 周一到周五 8:00-18:00
  • 营业时间
  • └ routes
  • String
  • 可选
  • 5路公交XX站
  • 交通路线
  • └ sign_pic
  • String
  • 可选
  • 123
  • 标记图片
  • └ license_pics
  • String []
  • 可选
  • 123
  • 营业执照图片
  • └ medical_pics
  • String []
  • 可选
  • 123
  • 医疗执业许可证图片
  • └ store_pics
  • String []
  • 可选
  • 123
  • 门店图片

响应参数

名称 类型 示例值 描述
result MtopResult result 结果
  • model
  • StoreAuditVo
  • model
  • model
  • └ store_id
  • Number
  • 1
  • 门店ID
  • └ store_audit_id
  • Number
  • 1
  • 门店审核ID
  • └ reason
  • String
  • 成功
  • 审核原因
  • └ check_status
  • Number
  • 1
  • 审核状态码
  • └ check_status_string
  • String
  • 上线
  • 审核状态
  • └ msg_code
  • String
  • 200
  • msg_code
  • └ msg_info
  • String
  • 成功
  • msg_info
  • └ success
  • Boolean
  • true
  • true

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaAlihealthDentalStoreInsertorupdateRequest req = new AlibabaAlihealthDentalStoreInsertorupdateRequest();
AlibabaAlihealthDentalStoreInsertorupdateRequest.DentalOuterStoreRequest obj1 = new AlibabaAlihealthDentalStoreInsertorupdateRequest.DentalOuterStoreRequest();
obj1.setLogo("http://baidu.com");
obj1.setStoreName("门店名称");
obj1.setCityCode("城市码");
obj1.setStoreDesc("门店描述");
obj1.setLicenseName("医疗执业许可证名称");
obj1.setStorePhone("门店号码");
obj1.setPointX("11.11");
obj1.setLicenseNo("营业执照号");
obj1.setPointY("11.11");
obj1.setAddress("测试地址");
obj1.setStoreId(1L);
obj1.setStoreCode("123123");
obj1.setKeyWords("洗牙");
obj1.setWorkTime("周一到周五 8:00-18:00");
obj1.setRoutes("5路公交XX站");
obj1.setSignPic("123");
obj1.setLicensePics("123");
obj1.setMedicalPics("123");
obj1.setStorePics("123");
req.setStore(obj1);
AlibabaAlihealthDentalStoreInsertorupdateResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_alihealth_dental_store_insertorupdate_response>
    <result>
        <model>
            <store_id>1</store_id>
            <store_audit_id>1</store_audit_id>
            <reason>成功</reason>
            <check_status>1</check_status>
            <check_status_string>上线</check_status_string>
        </model>
        <msg_code>200</msg_code>
        <msg_info>成功</msg_info>
        <success>true</success>
    </result>
</alibaba_alihealth_dental_store_insertorupdate_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

返回
顶部