同步白名单
<p><strong>接口描述:</strong></p>
<ul>
<li>读取相机内部数据,并返回给第三方</li>
</ul>
<p><strong>请求URL:</strong></p>
<ul>
<li><code>/SyncWhites</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>data参数:</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>必选</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>CamSn</td>
<td>是</td>
<td>string</td>
<td>相机序列号,全球唯一</td>
</tr>
<tr>
<td>Msg_id</td>
<td>是</td>
<td>string</td>
<td>本次操作流水号,QW+yyyyMMddHHmmss时间字符串</td>
</tr>
<tr>
<td>Space</td>
<td>是</td>
<td>int</td>
<td>-1:查所有; 0:左⻋位; 1:右⻋位</td>
</tr>
<tr>
<td>Plate</td>
<td>是</td>
<td>string</td>
<td>⻋牌。空字符串:查所有;</td>
</tr>
</tbody>
</table>
<p><strong>请求参数示例</strong></p>
<pre><code>{
&quot;PID&quot;: &quot;1631595892647792640&quot;,
&quot;Timestamp&quot;: &quot;1685987537276&quot;,
&quot;Sign&quot;: &quot;27520801F4975969140C365EC2D838D2&quot;,
&quot;data&quot;: {
&quot;CamSn&quot;: &quot;a84651e4-be5e4c7e&quot;,
&quot;Msg_id&quot;: &quot;QW20230410111212&quot;,
&quot;Space&quot;: -1,
&quot;Plate&quot;: &quot;&quot;
}
}</code></pre>
<p><strong>成功返回示例</strong></p>
<pre><code>{
&quot;pid&quot;: null,
&quot;timestamp&quot;: null,
&quot;sign&quot;: null,
&quot;state&quot;: 1,
&quot;message&quot;: &quot;操作完成&quot;,
&quot;errCode&quot;: null,
&quot;data&quot;: null
}</code></pre>
<p><strong>失败返回示例</strong></p>
<p>复制<code>{ &quot;pid&quot;: null, &quot;timestamp&quot;: null, &quot;sign&quot;: null, &quot;state&quot;: 3, &quot;message&quot;: &quot;错误信息&quot;, &quot;errCode&quot;: null, &quot;data&quot;: null }</code></p>