荣电床垫相关接口


查询床垫状态

<h2>接口名称</h2> <p>查询床垫状态</p> <h2>接口地址</h2> <p><code>POST htts://mesh.szalive.com/business/api/RDBed/queryBedState</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>operate</td> <td>string</td> <td>是</td> <td>查询操作 read</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/queryBedState</code></pre> <h2>传参示例</h2> <pre><code>{ &amp;quot;deviceMac&amp;quot;:&amp;quot;123456789&amp;quot;, &amp;quot;operate&amp;quot;:&amp;quot;read&amp;quot; }</code></pre>

页面列表

ITEM_HTML