更新时间:2024-11-07 GMT+08:00
分享

查询我的申请单草稿

功能介绍

查询我的申请单草稿。

URI

GET /services/workflow/findDraftList/{pageSize}/{curPage}

示例接口地址:{域名(有文根需带文根)}/pdmcore/ipdcworkflowservice/services/workflow/findDraftList/2/1

表1 路径参数

参数

是否必选

参数类型

描述

pageSize

String

分页大小

curPage

String

当前页数

请求头

使用机机认证调用接口时需传入header:Authorization,其值为机机鉴权token。

请求参数

响应参数

状态码: 200

表2 响应Body参数

参数

参数类型

描述

msg

String

接口响应信息

code

Integer

接口返回码

data

Array of Data objects

接口响应数据

pageInfo

PageInfo object

分页信息

orderID

String

请求跟踪流水号

表3 Data

参数

参数类型

描述

lastUpdateDate

Integer

最后更新时间

modifier

String

修改人UUID

processTemplateName

String

流程模板名

templateId

String

流程模板编号

productLine

String

产品线

currentUserId

Integer

当前用户ID

bizCategory

String

业务类型

bizSeqExtAttrs

Array of strings

业务对象拓展属性集合

lastUpdateUserCN

String

最后更新人用户名

processTitle

String

流程实例名称

bizSeqExtType

String

业务对象拓展类型名称

id

String

ID

state

String

状态

lastUpdatedBy

String

最后更新人ID

processInstanceId

String

流程实例ID

finished

Boolean

是否完成

creationDate

Integer

创建日期

ccByUuid

String

抄送人UUID:如果有多个人,使用","号分隔

processTemplateNameCn

String

流程模板中文名

reserve10

String

-

lifeCycleState

String

生命周期状态

reserve9

String

-

creationUserCN

String

创建user名

reserve8

String

-

creator

String

创建人UUID

product

String

产品

reserve5

String

-

reserve4

String

-

appName

String

微服务名称

processTemplateVersion

String

流程模板版本

reserve7

String

-

reserve6

String

-

reserve1

String

-

subItem

String

子项

reserve3

String

-

reserve2

String

-

creationUserUuid

String

创建人UUID

createdBy

String

创建人

businessKey

String

业务流水号

ccBy

String

抄送人短工号:如果有多个人,使用","号分隔

comment

String

备注

productTeam

String

产品团队

lifeCycleStateKey

String

生命周期状态对应的key

parentBusinessKey

String

父业务流水号

taskId

String

当前任务ID

表4 PageInfo

参数

参数类型

描述

totalRows

Integer

总共行数

curPage

Integer

当前页数

pageSize

Integer

分页大小

totalPages

Integer

总共页数

请求示例

响应示例

状态码: 200

findDraftList返参

{ 
  "msg" : null, 
  "code" : 0, 
  "data" : [ { 
    "lastUpdateDate" : 1710851310295, 
    "modifier" : "1008600000065234815", 
    "processTemplateName" : "ProcessSyyy240122_01", 
    "templateId" : "ProcessSyyy240122_01", 
    "productLine" : null, 
    "currentUserId" : 0, 
    "bizCategory" : null, 
    "bizSeqExtAttrs" : [ ], 
    "lastUpdateUserCN" : null, 
    "processTitle" : "ProcessSyyy240122_01_2024-03-19T20:28:29.303+0800", 
    "bizSeqExtType" : "WfBusinessSeq", 
    "id" : "611656531317895168", 
    "state" : "DRAFT", 
    "lastUpdatedBy" : "1008600000065234815", 
    "processInstanceId" : null, 
    "entityType" : "business", 
    "holdableList" : [ "com.huawei.it.plm.workflow.framework.model.WfFormData", "com.huawei.it.plm.workflow.framework.model.WfAttachment", "com.huawei.it.plm.workflow.framework.model.WfBusinessObject" ], 
    "finished" : false, 
    "creationDate" : 1710851081514, 
    "ccByUuid" : null, 
    "processTemplateNameCn" : "流程实例表格表单NULL校验", 
    "reserve10" : null, 
    "scope" : "otc", 
    "rowIdx" : -1, 
    "lifeCycleState" : null, 
    "reserve9" : null, 
    "creationUserCN" : "", 
    "reserve8" : null, 
    "creator" : "1008600000065234815", 
    "product" : null, 
    "reserve5" : null, 
    "reserve4" : null, 
    "appName" : "WfWorkflowDemoService", 
    "processTemplateVersion" : "7", 
    "reserve7" : null, 
    "reserve6" : null, 
    "reserve1" : null, 
    "subItem" : null, 
    "reserve3" : null, 
    "reserve2" : null, 
    "creationUserUuid" : "1008600000065234815", 
    "createdBy" : "1008600000065234815", 
    "businessKey" : "P10011128", 
    "ccBy" : null, 
    "comment" : null, 
    "productTeam" : null, 
    "lifeCycleStateKey" : null, 
    "parentBusinessKey" : null, 
    "taskId" : null 
  }, { 
    "lastUpdateDate" : 1710834762166, 
    "modifier" : "1008600000065234815", 
    "processTemplateName" : "Test0220", 
    "templateId" : "Test0220", 
    "productLine" : null, 
    "currentUserId" : 0, 
    "bizCategory" : null, 
    "bizSeqExtAttrs" : [ ], 
    "lastUpdateUserCN" : null, 
    "processTitle" : "Test0220_2024-03-19T15:52:42.114+0800", 
    "bizSeqExtType" : "WfBusinessSeq", 
    "id" : "601704798319812608", 
    "state" : "DRAFT", 
    "lastUpdatedBy" : "1008600000065234815", 
    "processInstanceId" : null, 
    "entityType" : "business", 
    "holdableList" : [ "com.huawei.it.plm.workflow.framework.model.WfFormData", "com.huawei.it.plm.workflow.framework.model.WfAttachment", "com.huawei.it.plm.workflow.framework.model.WfBusinessObject" ], 
    "finished" : false, 
    "creationDate" : 1708478403070, 
    "ccByUuid" : null, 
    "processTemplateNameCn" : "Test0220", 
    "reserve10" : null, 
    "scope" : "otc", 
    "rowIdx" : -1, 
    "lifeCycleState" : null, 
    "reserve9" : null, 
    "creationUserCN" : "", 
    "reserve8" : null, 
    "creator" : "1008600000065234815", 
    "product" : null, 
    "reserve5" : null, 
    "reserve4" : null, 
    "appName" : "WfWorkflowDemoService", 
    "processTemplateVersion" : "1", 
    "reserve7" : null, 
    "reserve6" : null, 
    "reserve1" : null, 
    "subItem" : null, 
    "reserve3" : null, 
    "reserve2" : null, 
    "creationUserUuid" : "1008600000065234815", 
    "createdBy" : "1008600000065234815", 
    "businessKey" : "P10010662", 
    "ccBy" : null, 
    "comment" : null, 
    "productTeam" : null, 
    "lifeCycleStateKey" : null, 
    "parentBusinessKey" : null, 
    "taskId" : null 
  } ], 
  "pageInfo" : { 
    "totalRows" : 29, 
    "curPage" : 1, 
    "pageSize" : 2, 
    "totalPages" : 15 
  }, 
  "orderID" : "a6903f8109d547faaff11134dd872585" 
}

状态码

状态码

描述

200

findDraftList返参

错误码

请参见错误码

相关文档