导出激活明细接口
<h3>导出激活明细接口文档</h3>
<hr />
<h4><strong>接口名称</strong></h4>
<p>导出渠道商业务区域激活明细数据</p>
<h4><strong>请求方法</strong></h4>
<p><code>GET</code></p>
<h4><strong>请求URL</strong></h4>
<p><code>/api/cbn/tenantBizAreaAlarmItem/exportActiveSimData</code></p>
<hr />
<h3>请求参数</h3>
<h4>查询条件(<code>query.*</code>)</h4>
<table>
<thead>
<tr>
<th>参数名称</th>
<th>类型</th>
<th>必填</th>
<th>说明</th>
<th>示例值</th>
</tr>
</thead>
<tbody>
<tr>
<td>query.tenantCodeList</td>
<td>String[]</td>
<td>是</td>
<td>渠道商编码列表(多选,需重复传参)</td>
<td>1006, 1042</td>
</tr>
<tr>
<td>query.cardActiveTimeBegin</td>
<td>String</td>
<td>是</td>
<td>开卡激活时间范围起始(格式 <code>yyyy-MM-dd HH:mm:ss</code>)</td>
<td>2025-03-01 00:00:01</td>
</tr>
<tr>
<td>query.cardActiveTimeEnd</td>
<td>String</td>
<td>是</td>
<td>开卡激活时间范围结束(格式 <code>yyyy-MM-dd HH:mm:ss</code>)</td>
<td>2025-03-31 23:59:59</td>
</tr>
</tbody>
</table>
<hr />
<h3>响应结构</h3>
<h4>基础响应字段</h4>
<table>
<thead>
<tr>
<th>字段名</th>
<th>类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>Integer</td>
<td>响应码(1: 导出任务提交成功)</td>
</tr>
<tr>
<td>msg</td>
<td>String</td>
<td>响应消息(如“导出任务已提交,请前往右上角【我的下载】查看已导出的内容”)</td>
</tr>
</tbody>
</table>
<hr />
<h3>示例请求</h3>
<pre><code class="language-http">GET http://localhost/api/cbn/tenantBizAreaAlarmItem/exportActiveSimData?query.tenantCodeList=1006&amp;query.tenantCodeList=1042&amp;query.cardActiveTimeBegin=2025-03-01%2000:00:01&amp;query.cardActiveTimeEnd=2025-03-31%2023:59:59</code></pre>
<h4>参数说明:</h4>
<ul>
<li><code>tenantCodeList</code> 需通过 <strong>重复传参</strong> 实现多选(如 <code>query.tenantCodeList=1006&amp;query.tenantCodeList=1042</code>)。</li>
<li>时间参数需进行 <strong>URL编码</strong>(空格替换为 <code>%20</code>)。</li>
</ul>
<hr />
<h3>示例响应</h3>
<pre><code class="language-json">{
&quot;code&quot;: 1,
&quot;msg&quot;: &quot;导出任务已提交,请前往右上角【我的下载】查看已导出的内容&quot;
}</code></pre>
<hr />
<h3>注意事项</h3>
<ol>
<li>
<p><strong>多选参数传递</strong>:<br />
<code>tenantCodeList</code> 需通过多次添加同名参数实现多选(如 <code>query.tenantCodeList=1006&amp;query.tenantCodeList=1042</code>)。</p>
</li>
<li>
<p><strong>时间格式</strong>: </p>
<ul>
<li>必须严格遵循 <code>yyyy-MM-dd HH:mm:ss</code> 格式。</li>
<li>实际请求时需对空格进行 URL 编码(如 <code>2025-03-01%2000:00:01</code>)。</li>
</ul>
</li>
<li>
<p><strong>异步导出</strong>: </p>
<ul>
<li>接口返回仅表示任务提交成功,导出文件需在系统【我的下载】模块中获取。</li>
<li>导出耗时取决于数据量,可能延迟生成。</li>
</ul>
</li>
<li><strong>权限要求</strong>:
<ul>
<li>调用方需具备 <strong>导出权限</strong> 及对应渠道商的数据访问权限。</li>
</ul></li>
</ol>