荣电床垫相关接口


同步策略是否开启

<h2>接口名称</h2> <p>同步策略是否开启</p> <h2>接口地址</h2> <p><code>POST htts://mesh.szalive.com/business/api/RDBed/syncPolicyEn</code></p> <h2>请求参数</h2> <table> <thead> <tr> <th>参数名</th> <th>参数类型</th> <th>是否必填</th> <th>参数描述</th> </tr> </thead> <tbody> <tr> <td>deviceMac</td> <td>string</td> <td>是</td> <td>设备MAC</td> </tr> <tr> <td>policyEn</td> <td>string</td> <td>是</td> <td>是否开启。enable / disable</td> </tr> <tr> <td>policyType</td> <td>string</td> <td>是</td> <td>开启的类别 &quot;onetime&quot; / &quot;onetimeWeek&quot;</td> </tr> </tbody> </table> <h2>响应参数</h2> <table> <thead> <tr> <th>参数名</th> <th>参数类型</th> <th>参数描述</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>string</td> <td>返回编号</td> </tr> <tr> <td>msg</td> <td>string</td> <td>返回消息</td> </tr> </tbody> </table> <h2>请求示例</h2> <pre><code>POST htts://mesh.szalive.com/business/api/syncPolicyEn</code></pre> <h2>传参示例</h2> <pre><code>{ &amp;quot;deviceMac&amp;quot;:&amp;quot;123456789&amp;quot;, &amp;quot;policyEn&amp;quot;:&amp;quot;enable&amp;quot;, &amp;quot;policyType&amp;quot;:&amp;quot;onetime&amp;quot; }</code></pre>

页面列表

ITEM_HTML