远程开(降)锁
<ul>
<li>接口控制车位锁降锁</li>
</ul>
<h5>接口状态</h5>
<ul>
<li>已完成</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://{{host}}/api/v3/lock/open</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>Authorization</td>
<td>JXU4RkQ5</td>
<td>是</td>
<td>string</td>
<td>接口权限检测用</td>
</tr>
</tbody>
</table>
<h5>请求参数示例</h5>
<pre><code>{
&quot;SnList&quot;: [
&quot;4E5446344700000F00620030&quot;,&quot;6714325648817748066CFF52&quot;
],
&quot;OpenType&quot;: 1
}</code></pre>
<h5>请求json字段说明</h5>
<table>
<thead>
<tr>
<th>字段名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>SnList</td>
<td>是</td>
<td>array</td>
<td>要控制的车位序列号,可多个,最多批量控制为20台</td>
</tr>
<tr>
<td>SnList</td>
<td>是</td>
<td>string</td>
<td>车位序列号</td>
</tr>
<tr>
<td>OpenType</td>
<td>是</td>
<td>string</td>
<td>开锁类别,具体详阅本页枚举表</td>
</tr>
</tbody>
</table>
<h5>成功返回示例</h5>
<pre><code>{
&quot;Message&quot;: &quot;调用完成&quot;,
&quot;Status&quot;: 0,
&quot;Value&quot;: [
{
&quot;Sn&quot;: &quot;string&quot;,
&quot;Result&quot;: 7,
&quot;Msg&quot;: &quot;设备未在线或不存在&quot;
},
{
&quot;Sn&quot;: &quot;sdfsdf&quot;,
&quot;Result&quot;: 7,
&quot;Msg&quot;: &quot;设备未在线或不存在&quot;
}
],
&quot;ErrCode&quot;: 0
}</code></pre>
<h5>成功返回示例的参数说明</h5>
<table>
<thead>
<tr>
<th>参数名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>Message</td>
<td>string</td>
<td>本次操作结果</td>
</tr>
<tr>
<td>Status</td>
<td>string</td>
<td>接口调用状态,0=成功,非零表示接口调用失败,具体错误描述看Message</td>
</tr>
<tr>
<td>ErrCode</td>
<td>string</td>
<td>接口错误代码</td>
</tr>
<tr>
<td>Value</td>
<td>array</td>
<td>接口返回的数据</td>
</tr>
<tr>
<td>Sn</td>
<td>string</td>
<td>设备序列号</td>
</tr>
<tr>
<td>Result</td>
<td>string</td>
<td>操作结果值,具体详看本面枚举</td>
</tr>
<tr>
<td>Msg</td>
<td>string</td>
<td>操作结果说明</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<h3>OpenType 枚举</h3>
<table>
<thead>
<tr>
<th>值</th>
<th>值功能</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>正常降锁,停车超时会自动升起</td>
</tr>
<tr>
<td>2</td>
<td>保持降锁状态,不接受指令制</td>
</tr>
<tr>
<td>3</td>
<td>取消保持</td>
</tr>
</tbody>
</table>