接口使用须知
<p>接口说明:
本接口适用于使用振知设备以及振知APP,只是需要将相应的数据关联至其他平台进行分析展示的方案
如果需要用户的注册、设备绑定、设备信息查询修改都由贵方进行处理,请移步<a href="https://www.showdoc.com.cn/znitechextpai?page_id=5310795225060829&quot;这里&quot;">这里</a></p>
<pre><code>基本流程说明:
1、首先,使用振知app注册用户并绑定好相应的设备
2、用户提供手机号和设备编号,贵方平台调用[用户授权接口①]进行数据授权
3、授权之后,就可以根据需求来调用数据获取的接口了</code></pre>
<p>① 用户授权接口地址: [api/extUserInfo](<a href="https://www.showdoc.com.cn/znitechextpai/2373049662828675">https://www.showdoc.com.cn/znitechextpai/2373049662828675</a> "api/extUserInfo")</p>
<p><strong>一、注册授权</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">序号</th>
<th style="text-align: left;">接口名称</th>
<th style="text-align: left;">接口code</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">1</td>
<td style="text-align: left;">第三方用户注册并授权</td>
<td style="text-align: left;">[api/extUserRegister](<a href="https://www.showdoc.cc/znitechextpai?page_id=6517150184862861">https://www.showdoc.cc/znitechextpai?page_id=6517150184862861</a> "api/extUserRegister")</td>
<td>第三方平台进行用户的注册同时授权绑</td>
</tr>
<tr>
<td style="text-align: left;">2</td>
<td style="text-align: left;">第三方平台用户授权</td>
<td style="text-align: left;">[api/extUserInfo](<a href="https://www.showdoc.com.cn/znitechextpai?page_id=2373049662828675">https://www.showdoc.com.cn/znitechextpai?page_id=2373049662828675</a> "api/extUserInfo")</td>
<td>第三方平台用户数据调用授权/是否已授权的查询</td>
</tr>
</tbody>
</table>
<p><strong>二、数据查询</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">序号</th>
<th style="text-align: left;">接口名称</th>
<th style="text-align: left;">接口code</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">1</td>
<td style="text-align: left;">查询设备状态</td>
<td style="text-align: left;">[api/extDeviceInfo](<a href="https://www.showdoc.cc/znitechextpai?page_id=6063864756118871">https://www.showdoc.cc/znitechextpai?page_id=6063864756118871</a> "api/extDeviceInfo")</td>
<td>查询设备信息</td>
</tr>
<tr>
<td style="text-align: left;">2</td>
<td style="text-align: left;">实时监测信息</td>
<td style="text-align: left;">[api/extRealTime](<a href="https://www.showdoc.cc/znitechextpai?page_id=2374301271875264">https://www.showdoc.cc/znitechextpai?page_id=2374301271875264</a> "api/extRealTime")</td>
<td>获取设备当前的实时状态</td>
</tr>
<tr>
<td style="text-align: left;">3</td>
<td style="text-align: left;">日报告信息接口</td>
<td style="text-align: left;">[api/extDailyReport](<a href="https://www.showdoc.cc/znitechextpai?page_id=2374356448562249">https://www.showdoc.cc/znitechextpai?page_id=2374356448562249</a> "api/extDailyReport")</td>
<td>对外提供用户的每日报告信息</td>
</tr>
<tr>
<td style="text-align: left;">4</td>
<td style="text-align: left;">监测数据列表接口</td>
<td style="text-align: left;">[api/extMonitorData](<a href="https://www.showdoc.cc/znitechextpai?page_id=2374663818759297">https://www.showdoc.cc/znitechextpai?page_id=2374663818759297</a> "api/extMonitorData")</td>
<td>获取用户指定时间段内的监测数据列表</td>
</tr>
<tr>
<td style="text-align: left;">5</td>
<td style="text-align: left;">波形数据接口</td>
<td style="text-align: left;">[api/extWaveForm](<a href="https://www.showdoc.cc/znitechextpai?page_id=2374992652417498">https://www.showdoc.cc/znitechextpai?page_id=2374992652417498</a> "api/extWaveForm")</td>
<td>获取设备指定时间点的波形图</td>
</tr>
<tr>
<td style="text-align: left;">6</td>
<td style="text-align: left;">获取用户指定日期的睡眠相关信息</td>
<td style="text-align: left;">[api/sleepInfo](<a href="https://www.showdoc.cc/znitechextpai?page_id=3806834992691686">https://www.showdoc.cc/znitechextpai?page_id=3806834992691686</a> "api/sleepInfo")</td>
<td>获取用户的睡眠的相关信息</td>
</tr>
</tbody>
</table>
<p><strong>三、H5页面引用</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">序号</th>
<th style="text-align: left;">接口名称</th>
<th style="text-align: left;">接口code</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">1</td>
<td style="text-align: left;">实时页面引用</td>
<td style="text-align: left;">[api/realTimeMonitorUrl](<a href="https://www.showdoc.cc/znitechextpai?page_id=2375031064435061">https://www.showdoc.cc/znitechextpai?page_id=2375031064435061</a> "api/realTimeMonitorUrl")</td>
<td>获取引用振知实时监测页面的地址</td>
</tr>
<tr>
<td style="text-align: left;">2</td>
<td style="text-align: left;">日报告页面引用</td>
<td style="text-align: left;">[api/dailyReportUrl](<a href="https://www.showdoc.cc/znitechextpai?page_id=2375033483799932">https://www.showdoc.cc/znitechextpai?page_id=2375033483799932</a> "api/dailyReportUrl")</td>
<td>获取引用振知日报页面的地址</td>
</tr>
<tr>
<td style="text-align: left;">3</td>
<td style="text-align: left;">七日报告页面引用</td>
<td style="text-align: left;">[api/multiDayReportUrl](<a href="https://www.showdoc.cc/znitechextpai?page_id=6510305002796766">https://www.showdoc.cc/znitechextpai?page_id=6510305002796766</a> "api/multiDayReportUrl")</td>
<td>获取引用振知多日报<7日>页面的地址</td>
</tr>
<tr>
<td style="text-align: left;">4</td>
<td style="text-align: left;">整体日报分享链接</td>
<td style="text-align: left;">[extInterface/dailyReportUrlPhone](<a href="https://www.showdoc.cc/znitechextpai?page_id=4937131599603669">https://www.showdoc.cc/znitechextpai?page_id=4937131599603669</a> "extInterface/dailyReportUrlPhone")</td>
<td>振知日报的分享链接</td>
</tr>
</tbody>
</table>
<p><strong>四、定制化开发</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">序号</th>
<th style="text-align: left;">接口名称</th>
<th style="text-align: left;">接口code</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">1</td>
<td style="text-align: left;">日报告生成通知</td>
<td style="text-align: left;">[--](<a href="https://www.showdoc.cc/znitechextpai?page_id=2375079503198309">https://www.showdoc.cc/znitechextpai?page_id=2375079503198309</a> "--")</td>
<td>振知日报告生成通知,暂时需要定制开发</td>
</tr>
</tbody>
</table>