签署流程发起
<p><strong>简要描述:</strong> </p>
<ul>
<li>签署流程发起接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://ip:port/service/rest/v1/signflow/initiate</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST</li>
</ul>
<p><strong>参数:</strong> </p>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">必选</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">flowId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>签署流程ID</td>
</tr>
<tr>
<td style="text-align: left;">docPosList</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">List</td>
<td>文档指定签署位置信息</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;">flowDocId</td>
<td style="text-align: left;">String</td>
<td>签署流程文档Id</td>
</tr>
<tr>
<td style="text-align: left;">participantPos</td>
<td style="text-align: left;">List</td>
<td>participantId:签署流程参与人Id, posList: List, { posPage: int 签署页码,posX: float 位置横坐标, posY: float 位置纵坐标}</td>
</tr>
<tr>
<td style="text-align: left;">source</td>
<td style="text-align: left;">是</td>
<td>String 请求来源,例如:’dingding’ , ’esign’ , ’esign_h5’ , ’alipay’</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code> http://ip:port/service/rest/v1/signflow/initiate
{
&quot;flowId&quot;:&quot;8ae8c940-56ad-44d1-9f8a-60d8958b933a&quot;,
&quot;source&quot;:&quot;esign&quot;,
&quot;docPosList&quot;:[{
&quot;flowDocId&quot;:&quot;ff5f456e-fe0a-401c-a661-fe8b6393f5d5&quot;,
&quot;participantPos&quot;:[{
&quot;participantId&quot;:&quot;5d62eee2-ef01-4ce4-bb75-a8a347bec4f2&quot;,
&quot;posList&quot;:[{
&quot;posPage&quot;:1,
&quot;posX&quot;:50,
&quot;posY&quot;:50
}]
},{
&quot;participantId&quot;:&quot;4b8cf900-aa6f-489a-b57c-a915912f7f52&quot;,
&quot;posList&quot;:[{
&quot;posPage&quot;:1,
&quot;posX&quot;:50,
&quot;posY&quot;:50
}]
}]
}]
}</code></pre>
<p><strong>返回示例</strong></p>
<pre><code>{
&quot;success&quot;: true,
&quot;msg&quot;: &quot;成功&quot;,
&quot;total&quot;: null,
&quot;errCode&quot;: 0,
&quot;errShow&quot;: false,
&quot;data&quot;: {}
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>