杭州统一监督组件

组件


添加活动

<pre><code class="language-text">暂无描述</code></pre> <p><strong>接口状态</strong></p> <p>&gt; 开发中</p> <p><strong>接口URL</strong></p> <p>&gt; /subassembly/su/w/v1/superviseoperation/activity/api/add</p> <p><strong>请求方式</strong></p> <p>&gt; POST</p> <p><strong>Content-Type</strong></p> <p>&gt; 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">{ &amp;quot;title&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;content&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;address&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;meetingPeriodType&amp;quot;: 2, &amp;quot;plan&amp;quot;: true, &amp;quot;startTime&amp;quot;: &amp;quot;2024-10-15 17:14&amp;quot;, &amp;quot;endTime&amp;quot;: &amp;quot;2024-10-15 17:14&amp;quot;, &amp;quot;signUpDeadlineTime&amp;quot;: &amp;quot;2024-10-15 17:14&amp;quot;, &amp;quot;enableSignUp&amp;quot;: true, &amp;quot;attendQuota&amp;quot;: 1, &amp;quot;signInTimeType&amp;quot;: 3, &amp;quot;pushTodo&amp;quot;: true, &amp;quot;activityTemplateType&amp;quot;: 2, &amp;quot;coverSingle&amp;quot;: { &amp;quot;coverDocumentId&amp;quot;: 1, &amp;quot;coverDocumentPath&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;coverType&amp;quot;: 1 }, &amp;quot;organizeUnitIds&amp;quot;: [ { &amp;quot;id&amp;quot;: 1, &amp;quot;secondOrganizationIds&amp;quot;: &amp;quot;&amp;quot; } ], &amp;quot;organizeTypeIds&amp;quot;: [ ], &amp;quot;areaAttendPersonList&amp;quot;: [ { &amp;quot;areaCode&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;areaLevel&amp;quot;: 1, &amp;quot;zzdCodes&amp;quot;: [ ] } ], &amp;quot;attendZZDIdList&amp;quot;: [ ], &amp;quot;activityDocumentSingleList&amp;quot;: [ { &amp;quot;documentId&amp;quot;: 0, &amp;quot;documentName&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;documentPath&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;documentConvertedPath&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;documentMediaType&amp;quot;: 4 } ], &amp;quot;superviseId&amp;quot;: 1, &amp;quot;secondCorrelationId&amp;quot;: 1, &amp;quot;uniquenessId&amp;quot;: &amp;quot;&amp;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">{ &amp;quot;code&amp;quot;: &amp;quot;SUCCESS&amp;quot;, &amp;quot;desc&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;ex&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;refreshPermission&amp;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>

页面列表

ITEM_HTML