标准签


获取生成模板时保存的输入项数据

<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;amp;templateId=d04fdf06-cf82-4005-9bcb-7952e6293fad&amp;amp;inputDataId=6c3c3750-d204-468f-bd56-84d8f07c26b4</code></pre> <p><strong>返回示例</strong></p> <pre><code>{     &amp;quot;success&amp;quot;: true,     &amp;quot;msg&amp;quot;: &amp;quot;成功&amp;quot;,     &amp;quot;total&amp;quot;: null,     &amp;quot;errCode&amp;quot;: 0,     &amp;quot;errShow&amp;quot;: false,     &amp;quot;data&amp;quot;: {         &amp;quot;templateId&amp;quot;: &amp;quot;d04fdf06-cf82-4005-9bcb-7952e6293fad&amp;quot;,         &amp;quot;inputData&amp;quot;: [             {                 &amp;quot;posX&amp;quot;: 10.1,                 &amp;quot;posY&amp;quot;: 10.222,                 &amp;quot;posPage&amp;quot;: 1,                 &amp;quot;value&amp;quot;: &amp;quot;内容111111111&amp;quot;,                 &amp;quot;fieldId&amp;quot;: &amp;quot;b46a15d8-919f-4717-b23e-a4e022060f47&amp;quot;             },             {                 &amp;quot;posX&amp;quot;: 10.1,                 &amp;quot;posY&amp;quot;: 10.222,                 &amp;quot;posPage&amp;quot;: 1,                 &amp;quot;value&amp;quot;: &amp;quot;测试内容222222222&amp;quot;,                 &amp;quot;fieldId&amp;quot;: &amp;quot;03d0e3f8-5177-4267-a3b0-ea0087ce9037&amp;quot;             }         ],       &amp;quot;pdfUrl&amp;quot;:&amp;quot;https://esignoss.oss-cn-hangzhou.aliyuncs.com/e4e6125d-f37f-4061-9e5f-8f61196dc89b?Expires=1513965954&amp;amp;OSSAccessKeyId=FBzUaPMorqiiUAfb&amp;amp;Signature=Ftg6BX3ZrVdNcTRihPPbGjh5w%2Bc%3D&amp;quot;,       &amp;quot;font&amp;quot;: &amp;quot;simsun&amp;quot;,       &amp;quot;fontSize&amp;quot;: 11     } }</code></pre> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML