日程新增
<pre><code class="language-text">暂无描述</code></pre>
<p><strong>接口URL</strong></p>
<p>> /subassembly/su/w/v1/calendar/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;calendarTitle&quot;: &quot;新增监督日历&quot;,
&quot;startTimeStr&quot;: &quot;2024-08-30 13:45:45&quot;,
&quot;endTimeStr&quot;: &quot;2024-08-31 13:45:45&quot;,
&quot;skipUrlWeb&quot;: &quot;http://hztyjd.system.hz.com/transitional&quot;,
&quot;skipUrlMobile&quot;: &quot;http://hztyjd.mobilenew.hz.com/committee-supervision/annual-list/detail&quot;,
&quot;uniquenessId&quot;: &quot;577760694727686&quot;,
&quot;areaCode&quot;: &quot;3301&quot;,
&quot;personnelList&quot;: [
{
&quot;personnel&quot;: &quot;874378&quot;,
&quot;webRemark&quot;: &quot;?routeName=tStandingCommitteeSuperviseTpeDetail&amp;id=577430567638021&amp;justDetail=true&amp;personnelOfficeId=576306199397637&amp;menuId=572017301419023&amp;aid=null&quot;,
&quot;mobileRemark&quot;: &quot;?id=577430567638021&amp;supervise=true&quot;
},
{
&quot;personnel&quot;: &quot;874341&quot;,
&quot;webRemark&quot;: &quot;?routeName=tStandingCommitteeSuperviseTpeDetail&amp;id=577430567638021&amp;justDetail=true&amp;personnelOfficeId=576832229118981&amp;menuId=572017301419023&amp;aid=null&quot;,
&quot;mobileRemark&quot;: &quot;?id=577430567638021&amp;supervise=true&quot;
}
]
}</code></pre>
<table>
<thead>
<tr>
<th>参数名</th>
<th>示例值</th>
<th>参数类型</th>
<th>是否必填</th>
<th>参数描述</th>
</tr>
</thead>
<tbody>
<tr>
<td>calendarTitle</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>日程主题</td>
</tr>
<tr>
<td>startTimeStr</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>开始时间 yyyy-MM-dd HH:mm:ss</td>
</tr>
<tr>
<td>endTimeStr</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>结束时间 yyyy-MM-dd HH:mm:ss</td>
</tr>
<tr>
<td>skipUrlWeb</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>web跳转url(返回时会将webRemark拼接)</td>
</tr>
<tr>
<td>skipUrlMobile</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>mobile跳转url(返回时会将webRemark拼接)</td>
</tr>
<tr>
<td>uniquenessId</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>唯一id</td>
</tr>
<tr>
<td>areaCode</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>用户区域</td>
</tr>
<tr>
<td>personnelList</td>
<td>-</td>
<td>Array</td>
<td>是</td>
<td>人员集合</td>
</tr>
<tr>
<td>personnelList.personnel</td>
<td>-</td>
<td>String</td>
<td>是</td>
<td>人员身份标识(浙政钉id)</td>
</tr>
<tr>
<td>personnelList.webRemark</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>web参数记录(辅助web跳转url个性化)</td>
</tr>
<tr>
<td>personnelList.mobileRemark</td>
<td>-</td>
<td>String</td>
<td>否</td>
<td>mobile参数记录(辅助web跳转url个性化)</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>