数据推送接口
<p>[TOC]</p>
<h3>请求说明</h3>
<p>> 请求地址:/pushData/pushHuiTongJiaRenData (待定)
请求方式:POST
数据格式:JSON
数据位于请求体里面:body</p>
<h3>1,参数说明</h3>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数类型</th>
<th>是否必传</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>sn</td>
<td>String</td>
<td>是</td>
<td>设备编号</td>
</tr>
<tr>
<td>dateTime</td>
<td>Date</td>
<td>是</td>
<td>报警时间 yyyy-MM-dd HH:mm:ss</td>
</tr>
<tr>
<td>state</td>
<td>String</td>
<td>是</td>
<td>体征状态 on:在床 off:离床 mov:体动</td>
</tr>
<tr>
<td>heartbeat</td>
<td>int</td>
<td>是</td>
<td>心率</td>
</tr>
<tr>
<td>breath</td>
<td>int</td>
<td>是</td>
<td>呼吸频率</td>
</tr>
<tr>
<td>wet</td>
<td>boolean</td>
<td>是</td>
<td>是否尿湿 true 是 false 不是</td>
</tr>
<tr>
<td>odor</td>
<td>int</td>
<td>是</td>
<td>呼吸暂停次数</td>
</tr>
</tbody>
</table>
<h3>2,请求示例</h3>
<pre><code class="language-json">[
{
&quot;sn&quot;: &quot;B01530&quot;,
&quot;dateTime&quot;: &quot;2024-10-17 10:18:56&quot;,
&quot;state&quot;: &quot;off&quot;,
&quot;heartbeat&quot;: 0,
&quot;breath&quot;: 0,
&quot;wet&quot;: false,
&quot;odor&quot;: 0
}
]</code></pre>