3.6 指挥室协同人员查询
<h2>3.6 指挥室协同人员查询</h2>
<h5>简要描述</h5>
<ul>
<li>第三方系统通过接口查询指挥室协同人员</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{host}/api/openapi/cr/member/query</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>GET</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>
</tr>
</thead>
<tbody>
<tr>
<td>roomId</td>
<td>指挥室id</td>
<td>query</td>
<td>true</td>
<td>string</td>
</tr>
</tbody>
</table>
<p><strong>响应参数</strong>:</p>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>参数说明</th>
<th>类型</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>状态码</td>
<td>integer</td>
</tr>
<tr>
<td>data</td>
<td>承载数据</td>
<td>List</td>
</tr>
<tr>
<td>-id</td>
<td>数据id</td>
<td>string</td>
</tr>
<tr>
<td>-externalUserId</td>
<td>第三方用户id</td>
<td>string</td>
</tr>
<tr>
<td>-deptName</td>
<td>部门名称</td>
<td>string</td>
</tr>
<tr>
<td>-userName</td>
<td>协调人员姓名</td>
<td>string</td>
</tr>
<tr>
<td>-avatar</td>
<td>头像</td>
<td>string</td>
</tr>
<tr>
<td>-sort</td>
<td>排序</td>
<td>integer</td>
</tr>
<tr>
<td>-chatRoomRoleName</td>
<td>聊天室角色名称</td>
<td>string</td>
</tr>
<tr>
<td>-readStatus</td>
<td>读状态0-未读1-已读</td>
<td>integer</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;: 200,
&quot;success&quot;: true,
&quot;data&quot;: [
{
&quot;id&quot;: &quot;1656xxxxxxxxxxx3539&quot;,
&quot;externalUserId&quot;: &quot;83xx24&quot;,
&quot;deptName&quot;: &quot;部门名称&quot;,
&quot;userName&quot;: &quot;协同人员姓名&quot;,
&quot;avatar&quot;: &quot;&quot;,
&quot;sort&quot;: 4,
&quot;chatRoomRoleName&quot;: &quot;&quot;,
&quot;readStatus&quot;: 0
}
],
&quot;msg&quot;: &quot;操作成功&quot;
}</code></pre>