爱康云医接口文档

爱康云医API文档


获取科室挂号URL

<p><strong>迭代版本:</strong>2.8.31(新增)</p> <p><strong>简要描述:</strong></p> <ul> <li>获取科室挂号URL</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://aky.mynatapp.cc/chronic/department/selectGhUrl</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST/GET</li> <li>Content-Type:application/form</li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">doctorId</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>医生ID,默认从jwt中获取</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code> { "retcode": "0000", "errMsg": "操作成功", "body": { "choose":false, "result":null } } { "retcode": "0000", "errMsg": "操作成功", "body": { "choose":false, "result":"http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=6014" } } { "retcode": "0000", "errMsg": "操作成功", "body": { "choose": true, "result": [ { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=8002", "department": "产科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=6014", "department": "儿科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=2008", "department": "耳鼻喉科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=8001", "department": "妇科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=6013", "department": "骨科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=6015", "department": "呼吸内科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=3011", "department": "口腔科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=6010", "department": "泌尿外科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=2019", "department": "内分泌科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=3013", "department": "皮肤科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=2002", "department": "肾病内科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=3012", "department": "烧伤科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=6009", "department": "神经内科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=2031", "department": "神经外科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=6008", "department": "消化内科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=6011", "department": "心血管内科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=6007", "department": "中医科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=2025", "department": "肿瘤科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=1118", "department": "营养科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=2009", "department": "眼科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=3016", "department": "医学美容科" }, { "ghUrl": "http://yswyweb.1451cn.com/wx_hsak/gh!getdeptMsgBydeptcode.html?hospital_id=85a0c682-f648-4dc5-b28d-7fcacbc13e45&amp;parent_dept_id=0&amp;base_deptcode=2053", "department": "康复医学科" } ] } } </code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">retcode</td> <td style="text-align: left;">string</td> <td>0000=成功,其他=失败</td> </tr> <tr> <td style="text-align: left;">errMsg</td> <td style="text-align: left;">string</td> <td>错误信息</td> </tr> <tr> <td style="text-align: left;">body</td> <td style="text-align: left;">obj</td> <td>返回体</td> </tr> <tr> <td style="text-align: left;">choose</td> <td style="text-align: left;">boolean</td> <td>false=result为null(当前科室不支持在线挂号)或挂号链接,true=result为list,多个科室的挂号链接需要选择</td> </tr> <tr> <td style="text-align: left;">result</td> <td style="text-align: left;">String/List</td> <td>挂号链接</td> </tr> <tr> <td style="text-align: left;">department</td> <td style="text-align: left;">string</td> <td>科室名称</td> </tr> <tr> <td style="text-align: left;">ghUrl</td> <td style="text-align: left;">String</td> <td>挂号链接</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML