3.8 回调获取事件单状态
<h2>3.8 回调获取事件单状态</h2>
<h5>简要描述</h5>
<ul>
<li>第三方系统通过接口回调获取事件单状态</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>{host}/api/openapi/cr/getEventStatus</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST(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>
</tr>
</thead>
<tbody>
<tr>
<td>roomId</td>
<td>指挥室id</td>
<td>query</td>
<td>true</td>
<td>Long</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>content</td>
<td>办结文案</td>
<td>string</td>
</tr>
<tr>
<td>externalUserId</td>
<td>操作人对外第三方id</td>
<td>string</td>
</tr>
<tr>
<td>files</td>
<td>办结附件列表</td>
<td>array</td>
<td>OpenFileVo</td>
</tr>
<tr>
<td>-fileName</td>
<td>文件名称</td>
<td>string</td>
</tr>
<tr>
<td>-url</td>
<td>文件路径</td>
<td>string</td>
</tr>
<tr>
<td>roomId</td>
<td>指挥室id</td>
<td>integer(int64)</td>
<td>integer(int64)</td>
</tr>
<tr>
<td>status</td>
<td>指挥室状态1-待处理,2-正在处理,3-已办结-事已了,4-已办结-事未了</td>
<td>integer(int32)</td>
<td>integer(int32)</td>
</tr>
<tr>
<td>userName</td>
<td>操作人名称</td>
<td>string</td>
</tr>
</tbody>
</table>
<p><strong>响应示例</strong>:</p>
<pre><code class="language-javascript">{
&quot;roomId&quot;: &quot;16568464xxxxx6194&quot;,
&quot;status&quot;: &quot;1&quot;,
&quot;content&quot;: &quot;办结文案&quot;,
&quot;files&quot;: [
{
&quot;url&quot;: &quot;https://qzrb-medium.oss-cn-hangzhou.aliyuncs.com/upload/20230512/a98d3xxxxxxxx9d8d6049.jpg&quot;,
&quot;fileName&quot;: &quot;upload/20230512/a98d3677be4xxxxxxd8d6049.jpg&quot;
}
],
&quot;externalUserId&quot;: &quot;86xx29&quot;,
&quot;userName&quot;: &quot;陈xx&quot;
}</code></pre>