中海合同项目

中海合同项目


修改合同状态

<p><strong>简要描述:</strong> </p> <ul> <li>修改合同状态</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>https://htzxtest.coli688.com/api/Interface/changeContractStatus</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>Post </li> </ul> <p><strong>header参数:</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;">AppKey</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>来源:crm-HTCRM,电商-HTMALL</td> </tr> <tr> <td style="text-align: left;">Sign</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>MD5加密后的字符串(AppKey_Token_Timestamp)</td> </tr> <tr> <td style="text-align: left;">Timestamp</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>13位时间戳</td> </tr> </tbody> </table> <p><strong>body报文:</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;">UsernameOrEmailAddress</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>登录邮箱 ,和下面 LoginModel 必传一个</td> </tr> <tr> <td style="text-align: left;">LoginModel</td> <td style="text-align: left;">否</td> <td style="text-align: left;">登录相关</td> <td>&quot;LoginModel&quot;: {&quot;token&quot;: &quot;6a099f9ea0c366d92925e922b2c0f9f0&quot;,&quot;userAd&quot;: &quot;coli\linqingyun&quot;}</td> </tr> <tr> <td style="text-align: left;">ContractStatusModel</td> <td style="text-align: left;">是</td> <td style="text-align: left;">合同状态对象数据</td> <td>{</td> </tr> <tr> <td style="text-align: left;">&quot;ContractCode&quot;: &quot;合同编号&quot;, //合同编号</td> <td style="text-align: left;">协议编号</td> </tr> </tbody> </table> <pre><code> &amp;quot;ContractType&amp;quot;: 1, //1 合同 2补充协议 &amp;quot;Status&amp;quot;: 15, //4-已作废,15-已签署 &amp;quot;SequenceNo&amp;quot;: &amp;quot;1243345646&amp;quot;, //审批流水号 &amp;quot;SignDate&amp;quot;: &amp;quot;2022-12-12 12:12:12&amp;quot;, //签署时间,已签署状态必填 &amp;quot;Remark&amp;quot;: &amp;quot;备注&amp;quot;, //备注, &amp;quot;SignFile&amp;quot;: [ byte[] //文件字节数组 ]</code></pre> <p>}|</p> <p><strong>返回示例</strong></p> <pre><code>{     &amp;quot;result&amp;quot;: {         &amp;quot;statusCode&amp;quot;: 200,         &amp;quot;message&amp;quot;: &amp;quot;请求成功&amp;quot;,         &amp;quot;data&amp;quot;: &amp;quot;%2fAppAreaName%2fContractMainNew%2fContractDescView%3fTemplateId%3d80b8ff3e-6ff9-403b-94ce-bf28f2c1029b%26AppId%3dXX%26CalibrateId%3d0%26token%3dc36841aed98225c119a379508d332246%26userAD%3dcoli%5clinqingyun&amp;quot; //没有前缀的合同起草地址,需要unescape返回的data,然后加上前缀(测试环境:https://htzxtest.coli688.com)进行访问     },     &amp;quot;targetUrl&amp;quot;: null,     &amp;quot;success&amp;quot;: true,     &amp;quot;error&amp;quot;: null,     &amp;quot;unAuthorizedRequest&amp;quot;: false,     &amp;quot;__abp&amp;quot;: true }</code></pre>

页面列表

ITEM_HTML