创建审议意见(三方接口对接)
<p><strong>接口URL</strong></p>
<p>> /subassembly/su/w/v1/deliberationopinion/saveData</p>
<p><strong>请求方式</strong></p>
<p>> POST</p>
<p><strong>Content-Type</strong></p>
<p>> json</p>
<p><strong>请求Body参数</strong></p>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>id</td>
<td>-</td>
<td>Long</td>
<td>否</td>
<td>数据id(有则编辑,无则新增)</td>
</tr>
<tr>
<td>personnel</td>
<td>3222221</td>
<td>String</td>
<td>是</td>
<td>浙政钉Id</td>
</tr>
<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>startTime</td>
<td>2024-09-24 12:22:22</td>
<td>LocalDateTime</td>
<td>是</td>
<td>时间安排开始日期</td>
</tr>
<tr>
<td>endTime</td>
<td>2024-09-24 12:22:22</td>
<td>LocalDateTime</td>
<td>是</td>
<td>时间安排结束日期</td>
</tr>
<tr>
<td>superviseType</td>
<td>关联监督事项一级分类</td>
<td>int</td>
<td>是</td>
<td>1年度监督工作计划、2常委会监督</td>
</tr>
<tr>
<td>superviseId</td>
<td>关联监督事项监督数据ID</td>
<td>Long</td>
<td>是</td>
<td>-</td>
</tr>
<tr>
<td>deliberationOpinionDocumentsSubassembly</td>
<td>附件</td>
<td>Array</td>
<td>否</td>
<td>层级1</td>
</tr>
<tr>
<td>documentId</td>
<td>附件id</td>
<td>Long</td>
<td>否</td>
<td>层级2</td>
</tr>
<tr>
<td>documentPath</td>
<td>附件地址</td>
<td>String</td>
<td>否</td>
<td>层级2</td>
</tr>
<tr>
<td>documentName</td>
<td>附件名称</td>
<td>String</td>
<td>否</td>
<td>层级2</td>
</tr>
</tbody>
</table>
<p><strong>Body参数请求示例</strong></p>
<pre><code class="language-javascript">{
&quot;id&quot;: 0,
&quot;personnel&quot;: &quot;23332326&quot;,
&quot;title&quot;: &quot;添加审议意见&quot;,
&quot;content&quot;: &quot;添加审议意见内容&quot;,
&quot;startTime&quot;: &quot;2024-09-24 12:22:22&quot;,
&quot;endTime&quot;: &quot;2024-09-24 12:22:22&quot;,
&quot;superviseType&quot;:1,
&quot;superviseId&quot;:1342312313,
&quot;deliberationOpinionDocumentsSubassembly&quot;:
[
{
&quot;documentId&quot;:0,
&quot;documentPath&quot;:&quot;xxxx/xxxxx.docx&quot;,
&quot;documentName&quot;:&quot;xxxxx.docx&quot;
}
]
}</code></pre>
<p><strong>响应示例</strong></p>
<pre><code class="language-javascript">{
&quot;code&quot;: 1200,
&quot;data&quot;: true,
&quot;desc&quot;: &quot;操作成功&quot;,
&quot;ex&quot;: null,
&quot;refreshPermission&quot;: false
}</code></pre>
<ul>
<li>失败(404)</li>
</ul>
<pre><code class="language-javascript">{
&quot;code&quot;: 1601,
&quot;data&quot;: null,
&quot;desc&quot;: &quot;未选择职位&quot;,
&quot;ex&quot;: &quot;未选择职位&quot;,
&quot;refreshPermission&quot;: false
}</code></pre>