待办新增接口
<pre><code class="language-text">新增待办</code></pre>
<p><strong>接口状态</strong></p>
<p>> 已完成</p>
<p><strong>接口URL</strong></p>
<p>> /subassembly/su/w/v1/todo/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>hzkj</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;personnel&quot;: &quot;771244&quot;,
&quot;todoTitle&quot;: &quot;【todotype=25】添加重复了?&quot;,
&quot;todoCategory&quot;: &quot;6&quot;,
&quot;todoType&quot;: &quot;25&quot;,
&quot;todoSubType&quot;: &quot;251&quot;,
&quot;skipUrlWeb&quot;: &quot;http://www.xxxx.com&quot;,
&quot;skipUrlMobile&quot;: &quot;http://www.xxxxh5.com&quot;,
&quot;todoStatus&quot;: &quot;1&quot;,
&quot;outerId&quot;: &quot;1018&quot;,
&quot;todoEndTime&quot;: &quot;2024-10-12 16:32:52&quot;
}</code></pre>
<table>
<thead>
<tr>
<th>参数名</th>
<th>参数类型</th>
<th>示例值</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>personnel</td>
<td>string</td>
<td>浙政钉Id</td>
<td>是</td>
<td>浙政钉Id</td>
</tr>
<tr>
<td>todoTitle</td>
<td>string</td>
<td>待办标题</td>
<td>是</td>
<td>待办标题</td>
</tr>
<tr>
<td>todoCategory</td>
<td>integer</td>
<td>待办所属分类<br>AgencyWork :1 机关办公<br>DeputyWork :2 代表工作<br>LegislationWork :3 立法工作<br>SuperviseWork :4 监督工作<br>Election :5 选举任免<br>All :6 全部</td>
<td>是</td>
<td>待办所属分类</td>
</tr>
<tr>
<td>todoType</td>
<td>integer</td>
<td>待办类型<br>UNKNOWN :未知<br>type_1 :意见征集<br>type_2 :会议管理<br>type_3 :智能通知<br>type_4 :代表信息管理<br>type_5 :议案建议办理<br>type_6 :履职活动<br>type_7 :代表履职档案<br>type_8 :代表履职评估<br>type_9 :新闻管理<br>type_10 :代表学堂<br>type_11 :民情民意<br>type_12 :代表联络站<br>type_13 :双联系<br>type_14 :立法工作<br>type_15 :基层立法联系点<br>type_16 :常委会项目监督<br>type_17 :民生实事<br>type_18 :部门工作评议<br>type_19 :两官履职评议<br>type_20 :法规实施监督<br>type_21 :教育专题监督<br>type_22 :人事任免<br>type_23 :考试系统 <br>type_25:听取审议报告系统<br>type_26:执法检查工作系统<br>type_27:民生实事监督<br>type_28:财经综合监督</td>
<td>是</td>
<td>待办类型</td>
</tr>
<tr>
<td>todoSubType</td>
<td>Integer</td>
<td>子分类 type_25_1 = 251 听取和审议报告系统_上传工作报告;type_25_2 = 252 听取和审议报告系统_人大审议意见反馈;type_26_1 = 261 执法检查系统_人大审议意见反馈; type_27_1 = 271 民生实事监督_提交民生实事办理进度; type_27_2 = 272 民生实事监督_监督意见反馈;</td>
<td>否</td>
<td>待办子类型,当todoType=25/26/27必填</td>
</tr>
<tr>
<td>skipUrlWeb</td>
<td>string</td>
<td>web跳转url</td>
<td>否</td>
<td>web跳转url</td>
</tr>
<tr>
<td>skipUrlMobile</td>
<td>string</td>
<td>mobile跳转url</td>
<td>否</td>
</tr>
<tr>
<td>todoStatus</td>
<td>integer</td>
<td>状态(1待办、2已办)<br>UNKNOWN :未知<br>Waiting :待处理<br>Finish :已处理</td>
<td>是</td>
<td>状态</td>
</tr>
<tr>
<td>outerId</td>
<td>string</td>
<td></td>
<td>是</td>
<td>外部id</td>
</tr>
<tr>
<td>todoEndTime</td>
<td>dateTime</td>
<td>待办截止时间</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>String</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>