爱康云医接口文档

爱康云医API文档


根据蓝牙MAC地址查询设备列表

<p><strong>迭代版本:</strong>2.8.28(新增)</p> <p><strong>简要描述:</strong></p> <ul> <li>根据蓝牙MAC地址查询设备列表</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><a href="http://aky.mynatapp.cc/iot/device/selectDeviceByMac">http://aky.mynatapp.cc/iot/device/selectDeviceByMac</a></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST/GET</li> <li>Content-Type:application/json</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;">mac数组</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string[]</td> <td>mac数组,例如:[&quot;D0:08:14:C3:41:00&quot;,&quot;D0:08:14:C3:41:01&quot;]</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "retcode": "0000", "errMsg": "操作成功", "body": [ { "cellStyleMap": {}, "id": 10301, "sn": "B19B0001950", "brandId": "11", "brandName": "智能血压", "model": "A221-1", "mac": "D0:08:14:C3:41:00", "version": null, "mobile": "", "imei": null, "imsi": null, "ccid": "郭1队长", "deviceName": "01", "deviceType": "XYJ,XL", "deviceTransferWay": "WIFI", "producer": "深圳爱奥乐", "producerTime": null, "insertTime": 1538293484000, "insertBy": "Excel导入", "updateTime": null, "updateBy": null, "sortBy": null, "state": 1, "deviceBrand": null, "macList": null }, { "cellStyleMap": {}, "id": 10302, "sn": "B19B0001951", "brandId": "11", "brandName": "智能血压", "model": "A221-1", "mac": "D0:08:14:C3:41:01", "version": null, "mobile": "", "imei": null, "imsi": null, "ccid": "郭2队长", "deviceName": "02", "deviceType": "XYJ,XL", "deviceTransferWay": "WIFI", "producer": "深圳爱奥乐", "producerTime": null, "insertTime": 1538293484000, "insertBy": "Excel导入", "updateTime": null, "updateBy": null, "sortBy": null, "state": 1, "deviceBrand": null, "macList": null } ] }</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;">sn</td> <td style="text-align: left;">string</td> <td>序列号</td> </tr> <tr> <td style="text-align: left;">deviceName</td> <td style="text-align: left;">string</td> <td>设备编码(爱康云内部编码)</td> </tr> <tr> <td style="text-align: left;">ccid</td> <td style="text-align: left;">String</td> <td>主护(爱康云用户)</td> </tr> <tr> <td style="text-align: left;">model</td> <td style="text-align: left;">string</td> <td>设备型号</td> </tr> <tr> <td style="text-align: left;">deviceTransferWay</td> <td style="text-align: left;">string</td> <td>通讯方式 WIFI,GPRS</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML