欢迎!这里是飞印API文档

飞印API文档描述、示例


解除绑定打印机

<p><strong>简要描述:</strong></p> <ul> <li>解除绑定打印机接口,如果不再使用打印机,可以通过本接口,将打印机解除绑定,解除绑定后,该设备对应的设备编码将归还系统。</li> <li>本接口为重要接口,出于安全性考虑,只能对开发者自有的打印机进行操作。</li> </ul> <p><strong>请求URL:</strong></p> <ul> <li><code>https://api.open.feyin.net/device/{device_no}/unbind?access_token=ACCESS_TOKEN</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST</li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">device_no</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>机器编号</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <p>正常情况下,飞印开放平台会返回下述JSON数据:</p> <pre><code class="language-json"> {&amp;quot;errcode&amp;quot;:0,&amp;quot;errmsg&amp;quot;:&amp;quot;ok&amp;quot;}</code></pre> <p>错误时飞印开放平台会返回错误码等信息,JSON数据详见全局返回码说明。</p>

页面列表

ITEM_HTML