上传间隔设置
<h5>简要描述</h5>
<ul>
<li>设置成功后会调用,推送接口(intervalSuccess)里面来返回</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{{url}}/commonApi/kq/updateInterval</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>post</li>
</ul>
<h5>Header</h5>
<table>
<thead>
<tr>
<th>header</th>
<th>示例值</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>authCode</td>
<td>{{authCode}}</td>
<td>是</td>
<td>string</td>
<td>授权码(杰佳通)提供</td>
</tr>
</tbody>
</table>
<h5>请求参数示例</h5>
<pre><code class="language-json">{
&quot;uuid&quot;: &quot;473FDCE5DB32417787569B0A6DCA4880&quot;,
&quot;imei&quot;: &quot;860870050149496&quot;,
&quot;type&quot;: &quot;1&quot;,
&quot;interval&quot;: 20
}</code></pre>
<h5>请求json字段说明</h5>
<table>
<thead>
<tr>
<th>字段名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>uuid</td>
<td>是</td>
<td>string</td>
<td>唯一id 设置成功后返回</td>
</tr>
<tr>
<td>imei</td>
<td>是</td>
<td>string</td>
<td>设备号</td>
</tr>
<tr>
<td>type</td>
<td>是</td>
<td>string</td>
<td>1.心率测量周期;2.gps测量周期;3.体温测量周期</td>
</tr>
<tr>
<td>interval</td>
<td>是</td>
<td>int</td>
<td>上次间隔 1 到 300</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code class="language-json">{
&quot;code&quot;: 200,
&quot;msg&quot;: &quot;成功&quot;,
&quot;data&quot;: null,
&quot;isSuccess&quot;: true
}</code></pre>
<h5>失败返回示例</h5>
<pre><code class="language-json">{
&quot;code&quot;: 1009,
&quot;msg&quot;: &quot;设备未在线&quot;,
&quot;data&quot;: null,
&quot;isSuccess&quot;: false
}</code></pre>