获取生成模板时保存的输入项数据
<p><strong>简要描述:</strong> </p>
<ul>
<li>获取生成模板时保存的输入项数据接口</li>
</ul>
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://ip:port/service/rest/v1/template/getInputData</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>GET</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;">templateId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>需要删除的模板id</td>
</tr>
<tr>
<td style="text-align: left;">inputDataId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>在合同预览页面点返回的时候(调用生成合同接口拿到返回参数中的inputDateId)才有. 如果是别的场景调用,不需这参数也能可以.</td>
</tr>
<tr>
<td style="text-align: left;">accountUid</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">String</td>
<td>当前拒签用户的accountUid, 标准签中可以不传,默认为当前登录账号的accountUid</td>
</tr>
<tr>
<td style="text-align: left;">source</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">String</td>
<td>请求来源,例如:’dingding’ , ’esign’ , ’esign_h5’ , ’alipay’</td>
</tr>
</tbody>
</table>
<p><strong>请求示例</strong></p>
<pre><code> http://ip:port/service/rest/v1/template/getInputData?source=esign&amp;templateId=d04fdf06-cf82-4005-9bcb-7952e6293fad&amp;inputDataId=6c3c3750-d204-468f-bd56-84d8f07c26b4</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;: {
&quot;templateId&quot;: &quot;d04fdf06-cf82-4005-9bcb-7952e6293fad&quot;,
&quot;inputData&quot;: [
{
&quot;posX&quot;: 10.1,
&quot;posY&quot;: 10.222,
&quot;posPage&quot;: 1,
&quot;value&quot;: &quot;内容111111111&quot;,
&quot;fieldId&quot;: &quot;b46a15d8-919f-4717-b23e-a4e022060f47&quot;
},
{
&quot;posX&quot;: 10.1,
&quot;posY&quot;: 10.222,
&quot;posPage&quot;: 1,
&quot;value&quot;: &quot;测试内容222222222&quot;,
&quot;fieldId&quot;: &quot;03d0e3f8-5177-4267-a3b0-ea0087ce9037&quot;
}
],
&quot;pdfUrl&quot;:&quot;https://esignoss.oss-cn-hangzhou.aliyuncs.com/e4e6125d-f37f-4061-9e5f-8f61196dc89b?Expires=1513965954&amp;OSSAccessKeyId=FBzUaPMorqiiUAfb&amp;Signature=Ftg6BX3ZrVdNcTRihPPbGjh5w%2Bc%3D&quot;,
&quot;font&quot;: &quot;simsun&quot;,
&quot;fontSize&quot;: 11
}
}</code></pre>
<p><strong>备注</strong> </p>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>