文档
测试

获取所有模型

POST
http://192.168.100.109/apin/workflow-modeler/models/modelList

请求参数

参数名
类型
描述
必填
pageNum
number
第几页
必填
pageSize
number
每页条数
必填
whereList
object
查询条件
必填
modelName
string
流程名称
必填

响应参数

参数名
类型
描述
必填
code
number
返回代码,1-成功,其他值-失败
必填
result
object
返回结果
必填
count
number
示例:2
必填
list
array
数据列表
必填
id
string
示例:220006
必填
revision
number
示例:2
必填
name
string
示例:
必填
key
string
示例:new-process
必填
category
object
示例:null
必填
createTime
string
示例:2020-04-23T00:52:37.836+0000
必填
lastUpdateTime
string
示例:2020-04-23T00:52:38.455+0000
必填
version
number
示例:1
必填
metaInfo
string
示例:{"name":"请输入流程描述","description":"请输入流程描述","revision":1}
必填
deploymentId
object
示例:null
必填
editorSourceValueId
string
示例:220007
必填
editorSourceExtraValueId
object
示例:null
必填
tenantId
string
示例:
必填
persistentState
object
数据字典
必填
metaInfo
string
示例:{"name":"请输入流程描述","description":"请输入流程描述","revision":1}
必填
editorSourceValueId
string
示例:220007
必填
createTime
string
示例:2020-04-23T00:52:37.836+0000
必填
deploymentId
object
示例:null
必填
name
string
示例:
必填
category
object
示例:null
必填
version
number
示例:1
必填
editorSourceExtraValueId
object
示例:null
必填
key
string
示例:new-process
必填
lastUpdateTime
string
示例:2020-04-23T00:52:38.455+0000
必填
revisionNext
number
示例:3
必填
message
string
提示信息
必填

说明 / 示例

请求报文 { "pageNum":1, "pageSize":10, "whereList":{ "modelName":"测试流程一" } } 返回报文 { "code": 1, "result": { "count": 2, "list": [ { "id": "220006", "revision": 2, "name": "", "key": "new-process", "category": null, "createTime": "2020-04-23T00:52:37.836+0000", "lastUpdateTime": "2020-04-23T00:52:38.455+0000", "version": 1, "metaInfo": "{\"name\":\"请输入流程描述\",\"description\":\"请输入流程描述\",\"revision\":1}", "deploymentId": null, "editorSourceValueId": "220007", "editorSourceExtraValueId": null, "tenantId": "", "persistentState": { "metaInfo": "{\"name\":\"请输入流程描述\",\"description\":\"请输入流程描述\",\"revision\":1}", "editorSourceValueId": "220007", "createTime": "2020-04-23T00:52:37.836+0000", "deploymentId": null, "name": "", "category": null, "version": 1, "editorSourceExtraValueId": null, "key": "new-process", "lastUpdateTime": "2020-04-23T00:52:38.455+0000" }, "revisionNext": 3 } ] }, "message": "查询成功" }