4.2 查看同步用户情况
<h2>查看同步用户情况</h2>
<h5>简要描述</h5>
<ul>
<li>第三方系统通过接口回调获取事件单状态</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{host}api/blade-external/checkSyncData</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET(HTTP)</li>
</ul>
<h5>请求头</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">Authorization</td>
<td style="text-align: left;">String</td>
<td>客户端认证请求头,请求头对应的值为 "Basic c3dvcmQ6c3dvcmRfc2VjcmV0",其中"c3dvcmQ6c3dvcmRfc2VjcmV0"为clientId:clientSecret串转换为的base64编码</td>
</tr>
<tr>
<td style="text-align: left;">Blade-Auth</td>
<td style="text-align: left;">String</td>
<td>令牌认证请求头,请求头对应的值为调用 /oauth/token 接口返回的参数 token_type 和 access_token的拼接并以空格隔开,即"{token_type} {access_token}"</td>
</tr>
</tbody>
</table>
<p><img src="https://www.showdoc.com.cn/server/api/attachment/visitFile?sign=add00ea8a054096182c8d1edad099c32" alt="" /></p>
<p><strong>请求参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>请求类型</th>
<th>是否必须</th>
<th>数据类型</th>
<th>schema</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>id</td>
<td>query</td>
<td>false</td>
<td>integer(int64)</td>
<td>调用4.1同步组织用户接口data里面返的数据</td>
</tr>
</tbody>
</table>
<p><strong>响应状态</strong>:</p>
<table>
<thead>
<tr>
<th>状态码</th>
<th>说明</th>
<th>schema</th>
</tr>
</thead>
<tbody>
<tr>
<td>200</td>
<td>OK</td>
<td>R</td>
</tr>
<tr>
<td>401</td>
<td>Unauthorized</td>
</tr>
<tr>
<td>403</td>
<td>Forbidden</td>
</tr>
<tr>
<td>404</td>
<td>Not Found</td>
</tr>
</tbody>
</table>
<p><strong>响应参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>类型</th>
<th>schema</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>状态码</td>
<td>integer(int32)</td>
<td>integer(int32)</td>
</tr>
<tr>
<td>data</td>
<td>承载数据</td>
<td>object</td>
</tr>
<tr>
<td>msg</td>
<td>返回消息</td>
<td>string</td>
</tr>
<tr>
<td>success</td>
<td>是否成功</td>
<td>boolean</td>
</tr>
</tbody>
</table>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-javascript">{
&quot;code&quot;: 0,
&quot;data&quot;: {
&quot;name&quot;: &quot;同步组织用户&quot;,
&quot;ak&quot;: &quot;qz_zhdt-Kxi35Ao8I21Wxc9GJFVzQf&quot;,
&quot;message&quot;: &quot;正在同步数据中...!&quot;
},
&quot;msg&quot;: &quot;&quot;,
&quot;success&quot;: true
}</code></pre>