服务实现-测试动作前-保存草稿
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>服务实现-测试动作前-保存草稿</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/api/conduct/draft</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<pre><code>{
&quot;appId&quot;: &quot;api的appId&quot;,
&quot;appUrl&quot;: &quot;api的url&quot;,
&quot;designName&quot;: &quot;服务设计名称&quot;,
&quot;promptDesc&quot;: &quot;服务设计业务描述&quot;,
&quot;nodeList&quot;: [{
&quot;id&quot;: &quot;1&quot;,
&quot;data&quot;: {
&quot;name&quot;: &quot;节点名称&quot;,
&quot;desc&quot;: &quot;节点描述&quot;,
&quot;type&quot;: &quot;节点类型&quot;,
&quot;action&quot;:&quot;节点内容,可放grovvy脚本&quot;
}
}],
&quot;edgeList&quot;: [{
&quot;source&quot;: &quot;id1&quot;,
&quot;target&quot;: &quot;id2&quot;,
&quot;data&quot;: {
&quot;desc&quot;: &quot;传递关系描述&quot;
}
}],
&quot;script&quot;: &quot;{\&quot;requestparam\&quot;:[{\&quot;bindfield\&quot;:\&quot;pageSize\&quot;,\&quot;paramname\&quot;:\&quot;pageSize\&quot;,\&quot;defaultvalue\&quot;:20,\&quot;desc\&quot;:\&quot;\&quot;,\&quot;example\&quot;:10,\&quot;isnull\&quot;:true,\&quot;operation\&quot;:\&quot;=\&quot;,\&quot;type\&quot;:\&quot;int\&quot;,\&quot;disabled\&quot;:true,\&quot;isPage\&quot;:true},{\&quot;bindfield\&quot;:\&quot;pageInfo\&quot;,\&quot;paramname\&quot;:\&quot;pageInfo\&quot;,\&quot;defaultvalue\&quot;:true,\&quot;desc\&quot;:\&quot;返回相关参数\&quot;,\&quot;example\&quot;:false,\&quot;isnull\&quot;:true,\&quot;operation\&quot;:\&quot;=\&quot;,\&quot;type\&quot;:\&quot;boolean\&quot;,\&quot;disabled\&quot;:true,\&quot;isPage\&quot;:true}],\&quot;returnparam\&quot;:[{\&quot;desc\&quot;:\&quot;\&quot;,\&quot;type\&quot;:\&quot;string\&quot;,\&quot;example\&quot;:\&quot;\&quot;,\&quot;bindfield\&quot;:\&quot;func_name\&quot;,\&quot;paramname\&quot;:\&quot;func_name\&quot;,\&quot;requestChecked\&quot;:false,\&quot;returnChecked\&quot;:true},{\&quot;desc\&quot;:\&quot;\&quot;,\&quot;type\&quot;:\&quot;string\&quot;,\&quot;example\&quot;:\&quot;\&quot;,\&quot;bindfield\&quot;:\&quot;class_name\&quot;,\&quot;paramname\&quot;:\&quot;class_name\&quot;,\&quot;requestChecked\&quot;:false,\&quot;returnChecked\&quot;:true}]}&quot;
}</code></pre>
<h5>返回示例</h5>
<pre><code> {
&quot;success&quot;: true,
&quot;code&quot;: &quot;0&quot;,
&quot;message&quot;: &quot;&quot;,
&quot;data&quot;: null
}
</code></pre>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>