添加活动
<pre><code class="language-text">暂无描述</code></pre>
<p><strong>接口状态</strong></p>
<p>> 开发中</p>
<p><strong>接口URL</strong></p>
<p>> /subassembly/su/w/v1/superviseoperation/activity/api/add</p>
<p><strong>请求方式</strong></p>
<p>> POST</p>
<p><strong>Content-Type</strong></p>
<p>> json</p>
<p><strong>请求Header参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>x-tenant-code</td>
<td>hongzhengkeji</td>
<td>String</td>
<td>是</td>
<td>租户code</td>
</tr>
<tr>
<td>Content-Type</td>
<td>application/json</td>
<td>String</td>
<td>是</td>
<td>内容类型</td>
</tr>
<tr>
<td>x-request-id</td>
<td>ce0e40a9-2df7-4f16-861f-a7946127f30a</td>
<td>String</td>
<td>是</td>
<td>请求唯一ID</td>
</tr>
<tr>
<td>x-timestamp</td>
<td>1724990364948</td>
<td>String</td>
<td>是</td>
<td>时间戳</td>
</tr>
<tr>
<td>x-auth</td>
<td>iP3pViWOBOAQA5hdylDDdj</td>
<td>String</td>
<td>是</td>
<td>签名</td>
</tr>
</tbody>
</table>
<p><strong>请求Body参数</strong></p>
<pre><code class="language-javascript">{
&quot;title&quot;: &quot;&quot;,
&quot;content&quot;: &quot;&quot;,
&quot;address&quot;: &quot;&quot;,
&quot;meetingPeriodType&quot;: 2,
&quot;plan&quot;: true,
&quot;startTime&quot;: &quot;2024-10-15 17:14&quot;,
&quot;endTime&quot;: &quot;2024-10-15 17:14&quot;,
&quot;signUpDeadlineTime&quot;: &quot;2024-10-15 17:14&quot;,
&quot;enableSignUp&quot;: true,
&quot;attendQuota&quot;: 1,
&quot;signInTimeType&quot;: 3,
&quot;pushTodo&quot;: true,
&quot;activityTemplateType&quot;: 2,
&quot;coverSingle&quot;: {
&quot;coverDocumentId&quot;: 1,
&quot;coverDocumentPath&quot;: &quot;&quot;,
&quot;coverType&quot;: 1
},
&quot;organizeUnitIds&quot;: [
{
&quot;id&quot;: 1,
&quot;secondOrganizationIds&quot;: &quot;&quot;
}
],
&quot;organizeTypeIds&quot;: [
],
&quot;areaAttendPersonList&quot;: [
{
&quot;areaCode&quot;: &quot;&quot;,
&quot;areaLevel&quot;: 1,
&quot;zzdCodes&quot;: [
]
}
],
&quot;attendZZDIdList&quot;: [
],
&quot;activityDocumentSingleList&quot;: [
{
&quot;documentId&quot;: 0,
&quot;documentName&quot;: &quot;&quot;,
&quot;documentPath&quot;: &quot;&quot;,
&quot;documentConvertedPath&quot;: &quot;&quot;,
&quot;documentMediaType&quot;: 4
}
],
&quot;superviseId&quot;: 1,
&quot;secondCorrelationId&quot;: 1,
&quot;uniquenessId&quot;: &quot;&quot;
}</code></pre>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>title</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>标题</td>
</tr>
<tr>
<td>content</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>内容</td>
</tr>
<tr>
<td>address</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>活动地点</td>
</tr>
<tr>
<td>meetingPeriodType</td>
<td>1</td>
<td>Integer</td>
<td>是</td>
<td>期间类型 EnumMeetingPeriodType [Unknown=0 未知; MeetingPeriod=1 大会期间; CloseMeetingPeriod=2 闭会期间;]UNKNOWN MEETING_PERIOD CLOSE_MEETING_PERIOD</td>
</tr>
<tr>
<td>plan</td>
<td>true</td>
<td>Boolean</td>
<td>是</td>
<td>是否是计划</td>
</tr>
<tr>
<td>startTime</td>
<td>2024-10-15 17:14</td>
<td>String</td>
<td>是</td>
<td>开始时间,格式yyyy-MM-dd HH:mm</td>
</tr>
<tr>
<td>endTime</td>
<td>2024-10-15 17:14</td>
<td>String</td>
<td>是</td>
<td>结束时间,格式yyyy-MM-dd HH:mm</td>
</tr>
<tr>
<td>signUpDeadlineTime</td>
<td>2024-10-15 17:14</td>
<td>String</td>
<td>否</td>
<td>报名截止时间,格式yyyy-MM-dd HH:mm</td>
</tr>
<tr>
<td>enableSignUp</td>
<td>true</td>
<td>Boolean</td>
<td>否</td>
<td>是否开启报名</td>
</tr>
<tr>
<td>attendQuota</td>
<td>1</td>
<td>Integer</td>
<td>否</td>
<td>参加名额</td>
</tr>
<tr>
<td>signInTimeType</td>
<td>3</td>
<td>Integer</td>
<td>否</td>
<td>签到时间 EnumSignInTimeType [Unknown=0 未知; Begin=1 开始时; Before15M=2 开始前15分钟; Before30M=3 开始前30分钟; Before1H=4 开始前1小时;]</td>
</tr>
<tr>
<td>pushTodo</td>
<td>true</td>
<td>Boolean</td>
<td>否</td>
<td>是否推送到待办</td>
</tr>
<tr>
<td>activityTemplateType</td>
<td>2</td>
<td>Integer</td>
<td>是</td>
<td>活动模板类型 EnumActivityTemplateType [Unknown=0 未知; Plan=1 计划活动; Normal=2 正常活动; Record=3 活动记录]UNKNOWN PLAN NORMAL RECORD</td>
</tr>
<tr>
<td>coverSingle</td>
<td>-</td>
<td>Object</td>
<td>否</td>
<td>封面</td>
</tr>
<tr>
<td>coverSingle.coverDocumentId</td>
<td>0</td>
<td>Integer</td>
<td>否</td>
<td>封面id</td>
</tr>
<tr>
<td>coverSingle.coverDocumentPath</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>封面地址</td>
</tr>
<tr>
<td>coverSingle.coverType</td>
<td>2</td>
<td>Integer</td>
<td>否</td>
<td>封面类型 EnumCoverType [UNKNOWN=0 未知; DEFAULT=1 默认; CUSTOM=2 自传]</td>
</tr>
<tr>
<td>organizeUnitIds</td>
<td>-</td>
<td>Array</td>
<td>是</td>
<td>组织单位id集合</td>
</tr>
<tr>
<td>organizeUnitIds.id</td>
<td>1</td>
<td>Integer</td>
<td>否</td>
<td>一级组织id</td>
</tr>
<tr>
<td>organizeUnitIds.secondOrganizationIds</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>二级组织id(多个用,拼接)</td>
</tr>
<tr>
<td>organizeTypeIds</td>
<td>-</td>
<td>Array</td>
<td>是</td>
<td>组织类型id集合</td>
</tr>
<tr>
<td>areaAttendPersonList</td>
<td>-</td>
<td>Array</td>
<td>否</td>
<td>区域参加人员集合</td>
</tr>
<tr>
<td>areaAttendPersonList.areaCode</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>区域id</td>
</tr>
<tr>
<td>areaAttendPersonList.areaLevel</td>
<td>1</td>
<td>Integer</td>
<td>否</td>
<td>区域级别,1 国,2 省, 3 市,4 县(市,区), 5 镇(乡,街道)</td>
</tr>
<tr>
<td>areaAttendPersonList.zzdCodes</td>
<td>-</td>
<td>Array</td>
<td>否</td>
<td>参加人员zzdCode列表(本级)</td>
</tr>
<tr>
<td>attendZZDIdList</td>
<td>-</td>
<td>Array</td>
<td>否</td>
<td>参加代表id列表</td>
</tr>
<tr>
<td>activityDocumentSingleList</td>
<td>-</td>
<td>Array</td>
<td>否</td>
<td>活动附件</td>
</tr>
<tr>
<td>activityDocumentSingleList.documentId</td>
<td>0</td>
<td>Integer</td>
<td>否</td>
<td>附件id</td>
</tr>
<tr>
<td>activityDocumentSingleList.documentName</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>附件名称</td>
</tr>
<tr>
<td>activityDocumentSingleList.documentPath</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>附件地址</td>
</tr>
<tr>
<td>activityDocumentSingleList.documentConvertedPath</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>转后的附件地址</td>
</tr>
<tr>
<td>activityDocumentSingleList.documentMediaType</td>
<td>4</td>
<td>Integer</td>
<td>否</td>
<td>媒体类型 1 图片,2 视频,3 音频,4 文档,5 压缩文件</td>
</tr>
<tr>
<td>superviseId</td>
<td>1</td>
<td>Integer</td>
<td>否</td>
<td>关联的监督id</td>
</tr>
<tr>
<td>secondCorrelationId</td>
<td>1</td>
<td>Integer</td>
<td>否</td>
<td>第二关联id(备用)</td>
</tr>
<tr>
<td>uniquenessId</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>来源系统数据唯一标识</td>
</tr>
</tbody>
</table>
<p><strong>响应示例</strong></p>
<ul>
<li>成功(200)</li>
</ul>
<pre><code class="language-javascript">{
&quot;code&quot;: &quot;SUCCESS&quot;,
&quot;desc&quot;: &quot;&quot;,
&quot;ex&quot;: &quot;&quot;,
&quot;refreshPermission&quot;: true
}</code></pre>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td>SUCCESS</td>
<td>String</td>
<td>SUCCESS UNAUTHORIZED FileService_UNAUTHORIZED FORBIDDEN SYSTEM_ERROR GATEWAY_ERROR CUSTOM_ERROR WARNING PERMISSION_ERROR ACTIVATION_ERROR</td>
</tr>
<tr>
<td>data</td>
<td>-</td>
<td>Boolean</td>
<td>-</td>
</tr>
<tr>
<td>desc</td>
<td>-</td>
<td>String</td>
<td>-</td>
</tr>
<tr>
<td>ex</td>
<td>-</td>
<td>String</td>
<td>-</td>
</tr>
<tr>
<td>refreshPermission</td>
<td>true</td>
<td>Boolean</td>
<td>-</td>
</tr>
</tbody>
</table>
<ul>
<li>失败(404)</li>
</ul>
<pre><code class="language-javascript">暂无数据</code></pre>