建模-流程-业务对象-需求-关联的服务设计-含和正式版本对比信息
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>建模-流程-业务对象-需求-关联的服务设计-含和正式版本对比信息</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>/datasrv/logical/modelBuild/flowdata</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">tenantId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>数栾租户ID</td>
</tr>
<tr>
<td style="text-align: left;">modelId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>数栾模型ID</td>
</tr>
<tr>
<td style="text-align: left;">needsIdList</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string[]</td>
<td>数栾需求ID数组</td>
</tr>
<tr>
<td style="text-align: left;">type_i</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>逻辑模型-分类 (湖仓,物联)</td>
</tr>
<tr>
<td style="text-align: left;">type_ii</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>逻辑模型-类型(API,SDK)</td>
</tr>
<tr>
<td style="text-align: left;">business_target_id</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>数栾业务对象id</td>
</tr>
<tr>
<td style="text-align: left;">business_target_code</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>数栾业务对象code</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code>{
&quot;success&quot;: true,
&quot;code&quot;: &quot;0&quot;,
&quot;message&quot;: &quot;&quot;,
&quot;pageNum&quot;: 1,
&quot;pageSize&quot;: 10,
&quot;totalPages&quot;: 1,
&quot;totalCount&quot;: 10,
&quot;data&quot;: [{
&quot;appStatus&quot;:&quot;new/modify 新建/修改&quot;,
&quot;appStatusName&quot;:&quot;待变更/待新建&quot;,
&quot;modelId&quot;:&quot;模型Id&quot;,
&quot;needsId&quot;:&quot;需求id&quot;,
&quot;needsName&quot;: &quot;需求名称&quot;,
&quot;appId&quot;: &quot;app_id 数据服务提供&quot;,
&quot;typeI&quot;: &quot;分类:&quot;,
&quot;typeII&quot;: &quot;类型&quot;,
&quot;businessTargetId&quot;: &quot;业务对象id&quot;,
&quot;businessTargetCode&quot;: &quot;业务对象code&quot;,
&quot;needsDesc&quot;: &quot;服务需求描述&quot;,
&quot;lackDesc&quot;: &quot;缺失描述&quot;,
&quot;promptDesc&quot;:&quot;详细业务描述&quot;,
&quot;tenantIdStr&quot;: &quot;租户id&quot;,
&quot;workspaceIdStr&quot;: &quot;空间id&quot;,
&quot;requestparam&quot;: [{
&quot;paramname&quot;: &quot;s_date&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;isnull&quot;: true,
&quot;example&quot;: &quot;示例值&quot;,
&quot;desc&quot;: &quot;描述: 日期(主键), 索引信息:[PRIMARY(BTREE)]&quot;,
&quot;operation&quot;: &quot;=&quot;,
&quot;dataStatus&quot;:&quot;New/Delete&quot;
}, {
&quot;paramname&quot;: &quot;price_curve&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;isnull&quot;: true,
&quot;example&quot;: &quot;示例值&quot;,
&quot;desc&quot;: &quot;价格曲线&quot;,
&quot;operation&quot;: &quot;=&quot;,
&quot;dataStatus&quot;:&quot;New/Delete&quot;
}],
&quot;returnparam&quot;: [{
&quot;paramname&quot;: &quot;s_date&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;example&quot;: &quot;示例值&quot;,
&quot;desc&quot;: &quot;描述: 日期(主键), 索引信息:[PRIMARY(BTREE)]&quot;,
&quot;operation&quot;: &quot;=&quot;,
&quot;dataStatus&quot;:&quot;New/Delete&quot;
}, {
&quot;paramname&quot;: &quot;price_curve&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;example&quot;: &quot;示例值&quot;,
&quot;desc&quot;: &quot;价格曲线&quot;,
&quot;operation&quot;: &quot;=&quot;,
&quot;dataStatus&quot;:&quot;New/Delete&quot;
}]
&quot;relateDbTables&quot;: &quot;湖仓sdk关联库表信息-备用&quot;,
&quot;unionApiInfo&quot;: &quot;物联相关api信息状态-备用&quot;,
&quot;createUserItcode&quot;: &quot;创建人itcode&quot;,
&quot;createUserPhone&quot;: &quot;创建人phone&quot;,
&quot;createUserEmail&quot;: &quot;创建人email&quot;,
&quot;createTime&quot;: &quot;创建日期&quot;,
&quot;version&quot;:&quot;版本号&quot;
}, {
&quot;appId&quot;: &quot;app_id 数据服务提供&quot;,
&quot;modelId&quot;:&quot;模型Id&quot;,
&quot;needsId&quot;:&quot;需求id&quot;,
&quot;needsName&quot;: &quot;需求名称&quot;,
&quot;typeI&quot;: &quot;分类:&quot;,
&quot;typeII&quot;: &quot;类型&quot;,
&quot;businessTargetId&quot;: &quot;业务对象id&quot;,
&quot;businessTargetCode&quot;: &quot;业务对象code&quot;,
&quot;needsDesc&quot;: &quot;服务需求描述&quot;,
&quot;lackDesc&quot;: &quot;缺失描述&quot;,
&quot;promptDesc&quot;:&quot;详细业务描述&quot;,
&quot;tenantIdStr&quot;: &quot;租户id&quot;,
&quot;requestparam&quot;: [{
&quot;paramname&quot;: &quot;s_date&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;isnull&quot;: true,
&quot;example&quot;: &quot;示例值&quot;,
&quot;desc&quot;: &quot;描述: 日期(主键), 索引信息:[PRIMARY(BTREE)]&quot;,
&quot;operation&quot;: &quot;=&quot;,
&quot;dataStatus&quot;:&quot;New/Delete&quot;
}, {
&quot;paramname&quot;: &quot;price_curve&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;isnull&quot;: true,
&quot;example&quot;: &quot;示例值&quot;,
&quot;desc&quot;: &quot;价格曲线&quot;,
&quot;operation&quot;: &quot;=&quot;,
&quot;dataStatus&quot;:&quot;New/Delete&quot;
}],
&quot;returnparam&quot;: [{
&quot;paramname&quot;: &quot;s_date&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;example&quot;: &quot;示例值&quot;,
&quot;desc&quot;: &quot;描述: 日期(主键), 索引信息:[PRIMARY(BTREE)]&quot;,
&quot;operation&quot;: &quot;=&quot;,
&quot;dataStatus&quot;:&quot;New/Delete&quot;
}, {
&quot;paramname&quot;: &quot;price_curve&quot;,
&quot;type&quot;: &quot;string&quot;,
&quot;example&quot;: &quot;示例值&quot;,
&quot;desc&quot;: &quot;价格曲线&quot;,
&quot;operation&quot;: &quot;=&quot;,
&quot;dataStatus&quot;:&quot;New/Delete&quot;
}]
&quot;relateDbTables&quot;: &quot;湖仓sdk关联库表信息-备用&quot;,
&quot;unionApiInfo&quot;: &quot;物联相关api信息状态-备用&quot;,
&quot;createUserItcode&quot;: &quot;创建人itcode&quot;,
&quot;createUserPhone&quot;: &quot;创建人phone&quot;,
&quot;createUserEmail&quot;: &quot;创建人email&quot;,
&quot;createTime&quot;: &quot;创建日期&quot;,
&quot;version&quot;:&quot;版本号&quot;
}]
}</code></pre>
<h5>返回参数说明</h5>
<table>
<thead>
<tr>
<th style="text-align: left;">参数名</th>
<th style="text-align: left;">类型</th>
<th>说明</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>