签署流程发起1101版
<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
{
"flowId":"d9d0c970-b10f-4086-b215-3447c3f2ba05",
"accountUid":"942B054820E94283967F38B98C3899FA",
"docPosList":[{
"flowDocId":"056264b9-7e91-4cdb-bed7-f00cd14c613e",
"participantPos":[{
"participantId":"4bbb51c2-fb8d-457b-a76e-18dcc1f56dbb",
"posList":[{"posPage":1,"posX":65,"posY":309,"signType":1},
{"posPage":2,"posX":255,"posY":309,"signType":1}],
"signDatePosList":[{"posPage":1,"posX":65.462,"posY":503.538}]
}]
}],
"source":"esign"
}</code></pre>
<p><strong>返回示例</strong></p>
<pre><code>{
"success": true,
"msg": "成功",
"total": null,
"errCode": 0,
"errShow": false,
"data": {}
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>