《T-ZGCSA 1.5-2024 數(shù)字政府應(yīng)用服務(wù)規(guī)范 第 5 部分:業(yè)務(wù)流程服務(wù)接口規(guī)范》_第1頁
《T-ZGCSA 1.5-2024 數(shù)字政府應(yīng)用服務(wù)規(guī)范 第 5 部分:業(yè)務(wù)流程服務(wù)接口規(guī)范》_第2頁
《T-ZGCSA 1.5-2024 數(shù)字政府應(yīng)用服務(wù)規(guī)范 第 5 部分:業(yè)務(wù)流程服務(wù)接口規(guī)范》_第3頁
《T-ZGCSA 1.5-2024 數(shù)字政府應(yīng)用服務(wù)規(guī)范 第 5 部分:業(yè)務(wù)流程服務(wù)接口規(guī)范》_第4頁
《T-ZGCSA 1.5-2024 數(shù)字政府應(yīng)用服務(wù)規(guī)范 第 5 部分:業(yè)務(wù)流程服務(wù)接口規(guī)范》_第5頁
已閱讀5頁,還剩66頁未讀 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

ICS35.080

CCSL77

團體標(biāo)準(zhǔn)

T/ZGCSA1.5—2024

數(shù)字政府應(yīng)用服務(wù)規(guī)范

第5部分:業(yè)務(wù)流程服務(wù)接口規(guī)范

DigitalGovernmentApplicationServiceSpecification—

Part5:BusinessProcessServiceAPISpecification

(征求意見稿)

2024-XX-XX發(fā)布2024-XX-XX實施

中關(guān)村軟件和信息服務(wù)產(chǎn)業(yè)創(chuàng)新聯(lián)盟發(fā)布

T/ZGCSA1.5—2024

數(shù)字政府應(yīng)用服務(wù)規(guī)范

第5部分:業(yè)務(wù)流程服務(wù)接口規(guī)范

1范圍

本部分定義了業(yè)務(wù)流程服務(wù)的基本概念,規(guī)定了流程定義、流程實例和活動實例的基本狀態(tài),規(guī)范

了流程服務(wù)提供的服務(wù)接口,包括流程模型服務(wù)接口、流程定義服務(wù)接口、流程實例服務(wù)接口、流程操

作服務(wù)接口、事項管理服務(wù)接口五部分內(nèi)容,為應(yīng)用系統(tǒng)提供統(tǒng)一的流程服務(wù)。

本部分適用于全國各級黨政機關(guān)、企事業(yè)單位、國土、財政、水利、統(tǒng)計等行業(yè)以及NGO的信息系

統(tǒng)規(guī)劃、建設(shè),以及系統(tǒng)集成商、軟件開發(fā)商和監(jiān)理單位進行數(shù)字政府信息系統(tǒng)的開發(fā)與整合。

在涉及國家秘密的信息系統(tǒng)規(guī)劃、建設(shè)中,需參照《涉及國家秘密的信息系統(tǒng)分級保護管理辦法》

和相關(guān)標(biāo)準(zhǔn)、規(guī)定。

2規(guī)范性引用文件

下列文件中的條款通過本部分的引用而成為本部分的條款。凡是注日期的引用文件,其隨后所有的

修改單(不包括勘誤的內(nèi)容)或修訂版均不適用于本部分,然而,鼓勵根據(jù)本部分達成協(xié)議的各方研究

是否可使用這些文件的最新版本。凡是不注日期的引用文件,其最新版本適用于本部分。

GB/T13016—1991標(biāo)準(zhǔn)體系表編制原則和要求

GB/T19488.1—2004電子政務(wù)數(shù)據(jù)元第1部分:設(shè)計和管理規(guī)范

GB/T20000.1—2002標(biāo)準(zhǔn)化工作指南第1部分:標(biāo)準(zhǔn)化和相關(guān)活動的通用術(shù)語

T/ZGCSA1.1—2024數(shù)字政府應(yīng)用服務(wù)規(guī)范第1部分:總則

3術(shù)語和定義

流程定義(ProcessDefinition):

是實現(xiàn)一個業(yè)務(wù)流轉(zhuǎn)過程的自動化處理模型,包括活動及活動之間關(guān)系的網(wǎng)、過程和單獨活動(參

與者、應(yīng)用)開始和結(jié)束的約定,如發(fā)文流程。

流程實例(ProcessInstacnce):

一個流程定義過程單次執(zhí)行的表示,如一份具體的發(fā)文。

加簽(AddApprover):

流程某一節(jié)點,審批人員可添加其他審批人來共同審批。

減簽(ReduceApprovers):

流程某一節(jié)點,審批人員可移除某個或多個審批人,被移除的審批人將不需要再參與審批。

1

T/ZGCSA1.5—2024

4狀態(tài)定義

4.1流程定義狀態(tài)

1.Edit:編輯狀態(tài),不能創(chuàng)建、運行流程實例,已有的流程實例可以被查詢。

2.Debug:調(diào)試狀態(tài),可以創(chuàng)建、運行流程實例,流程實例可以被查詢。但在調(diào)試狀態(tài),創(chuàng)建和運

行的流程實例均帶有debug標(biāo)記,便于以后清除。

3.Running:正常執(zhí)行狀態(tài),可以創(chuàng)建、運行流程實例,流程實例可以被查詢。

4.Suspended:掛起狀態(tài),不能再創(chuàng)建新的流程實例,已有的流程實例可以繼續(xù)執(zhí)行。

5.Freeze:凍結(jié)狀態(tài),不能創(chuàng)建新的流程實例,已有的流程實例也不能繼續(xù)執(zhí)行。

6.Hide:隱藏狀態(tài),不能創(chuàng)建新的流程實例,已有的流程實例不能繼續(xù)執(zhí)行,而且隱藏狀態(tài)下所

有的流程實例均不能被查詢和顯示。

流程定義狀態(tài)與流程定義和流程實例的關(guān)系表:

流程定義流程實例

狀態(tài)

編輯查詢創(chuàng)建運行查詢Debug狀態(tài)

Edit√√√

Debug√√√√√

Running√√√√

Suspended√√√

Freeze√√

Hide√

注:√表示可以執(zhí)行

4.2流程實例/活動實例狀態(tài)

1.open–流程實例是可以執(zhí)行的

2.open.running-流程實例正在執(zhí)行

3.open.notRunning-流程實例暫時不能執(zhí)行

4.open.notRunning.notStarted-流程實例已經(jīng)創(chuàng)建,但還沒有啟動

5.open.notRunning.suspended-流程實例處于掛起狀態(tài)

6.closed-流程實例正常執(zhí)行完畢

7.closed.aborted-流程實例被用戶選擇跳過

8.closed.terminated-流程實例被用戶選擇終止

9.pleted-流程實例正常執(zhí)行完畢

如圖1所示。

2

T/ZGCSA1.5—2024

圖1流程實例/活動實例狀態(tài)示意圖

5流程服務(wù)總體概述

圖2業(yè)務(wù)流程服務(wù)示意圖

如圖2所示,業(yè)務(wù)流程服務(wù)的核心組件是流程服務(wù)器,流程服務(wù)器可以提供五類服務(wù):流程模型服

務(wù)、流程定義服務(wù)、流程實例服務(wù)、流程操作服務(wù)和事項管理服務(wù)。

流程模型服務(wù):是對流程模型的管理服務(wù)。流程模型提供對業(yè)務(wù)流程的形式化描述,通過流程定義

工具輸入或輸出定義好的流程模型,以及圖形化展示。

流程定義服務(wù):是對流程定義的管理服務(wù),通過流程定義工具定義好的流程,可通過此服務(wù)進行管

3

T/ZGCSA1.5—2024

理。

流程實例服務(wù):是對操作控制流程實例提供服務(wù),包括判斷流程實例狀態(tài),控制流程實例狀態(tài),刪

除流程實現(xiàn)等。

流程操作服務(wù):為流程節(jié)點提供下一步操作服務(wù),以滿足流程流轉(zhuǎn)過程中的各類操作需求。

事項管理服務(wù):是對流程相關(guān)事項進行管理的服務(wù),包括正文、附件、關(guān)聯(lián)文件、日歷配置、常用

語、意見等。流程實例可根據(jù)業(yè)務(wù)需要進行事項配置。

6服務(wù)接口

6.1流程模型服務(wù)

6.1.1導(dǎo)入流程模型

接口地址:https://ip:port/processAdmin/services/rest/bpmnModel/import

請求方法:GET

Content-Type:multipart/form-data

接口描述:導(dǎo)入流程模型

參數(shù)說明

參數(shù)名稱類型描述

userIdstring用戶id

filefile模型文件

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataobject操作成功返回的數(shù)據(jù)

6.1.2保存模型

接口地址:https://ip:port/processAdmin/services/rest/bpmnModel/saveModelXml

請求方法:GET

Content-Type:multipart/form-data

接口描述:保存模型

參數(shù)說明

參數(shù)名稱類型描述

userIdstring用戶id

modelIdstring模型id

4

T/ZGCSA1.5—2024

參數(shù)名稱類型描述

filefile模型文件

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.1.3獲取流程模型

接口地址:https://ip:port/processAdmin/services/rest/bpmnModel/getModelXml

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:獲取流程設(shè)計模型xml

參數(shù)說明

參數(shù)名稱類型描述

modelIdstring模型id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataobject流程模型

6.1.4獲取流程模型列表

接口地址:https://ip:port/processAdmin/services/rest/bpmnModel/getModelList

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:獲取流程模型列表

參數(shù)說明

參數(shù)名稱類型描述

返回值說明

參數(shù)名稱類型描述

5

T/ZGCSA1.5—2024

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataarray流程模型集合

6.1.5部署流程模型

接口地址:https://ip:port/processAdmin/services/rest/bpmnModel/deployModel

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:部署流程模型

參數(shù)說明

參數(shù)名稱類型描述

modelIdstring模型id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.1.6刪除流程模型

接口地址:https://ip:port/processAdmin/services/rest/bpmnModel/deleteModel

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:刪除流程模型

參數(shù)說明

參數(shù)名稱類型描述

modelIdstring模型id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6

T/ZGCSA1.5—2024

6.2流程定義服務(wù)

6.2.1根據(jù)流程定義Id獲取流程定義

接口地址:

https://ip:port/processAdmin/services/rest/repository/getProcessDefinitionById

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:根據(jù)流程定義Id獲取流程定義

參數(shù)說明

參數(shù)名稱類型描述

processDefinitionIdstring流程定義Id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataobject流程定義

6.2.2根據(jù)流程定義key獲取版本號最大的流程定義

接口地址:

https://ip:port/processAdmin/services/rest/repository/getLatestProcessDefinitionByKey

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:根據(jù)流程定義key獲取版本號最大的流程定義

參數(shù)說明

參數(shù)名稱類型描述

processDefinitionKeystring流程定義key

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataobject流程定義

6.2.3根據(jù)流程定義Id和任務(wù)節(jié)點key獲取目標(biāo)任務(wù)節(jié)點集合

接口地址:https://ip:port/processAdmin/services/rest/processDefinition/getTargetNodes

7

T/ZGCSA1.5—2024

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:根據(jù)流程定義Id和流程節(jié)點Key獲取目標(biāo)任務(wù)節(jié)點集合

參數(shù)說明

參數(shù)名稱類型描述

processDefinitionIdstring流程定義id

taskDefKeystring任務(wù)key

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataarray流程定義集合

6.2.4根據(jù)流程定義key獲取所有版本流程定義

接口地址:

https://ip:port/processAdmin/services/rest/repository/getProcessDefinitionListByKey

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:根據(jù)流程定義key獲取所有版本流程定義

參數(shù)說明

參數(shù)名稱類型描述

processDefinitionKeystring流程定義key

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataarray流程定義集合

6.2.5獲取所有流程定義的集合

接口地址:

https://ip:port/processAdmin/services/rest/repository/getLatestProcessDefinitionList

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

8

T/ZGCSA1.5—2024

接口描述:獲取所有流程定義的集合(每個流程只獲取最大版本號的流程定義)

參數(shù)說明

參數(shù)名稱類型描述

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataarray流程定義集合

6.2.6激活/掛起流程的狀態(tài)

接口地址:https://ip:port/processAdmin/services/rest/repository/switchSuspendOrActive

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:激活/掛起流程的狀態(tài)

參數(shù)說明

參數(shù)名稱類型描述

statestring狀態(tài)

processDefinitionIdstring流程定義Id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.2.7刪除流程定義

接口地址:https://ip:port/processAdmin/services/rest/repository/delete

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:刪除流程定義

參數(shù)說明

參數(shù)名稱類型描述

deploymentIdstring部署id

9

T/ZGCSA1.5—2024

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.3流程實例服務(wù)

6.3.1根據(jù)id獲取流程實例

接口地址:https://ip:port/processAdmin/services/rest/historicProcess/getById

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:根據(jù)流程實例id獲取實例

參數(shù)說明

參數(shù)名稱類型描述

processInstanceIdstring流程實例id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataobject流程實例

6.3.2判斷流程實例是否掛起

接口地址:

https://ip:port/processAdmin/services/rest/runtime/suspendedByProcessInstanceId

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:判斷是否是掛起實例

參數(shù)說明

參數(shù)名稱類型描述

processInstanceIdstring流程實例id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

10

T/ZGCSA1.5—2024

參數(shù)名稱類型描述

codeint32錯誤代碼

msgstring操作描述

databoolean操作成功返回的數(shù)據(jù)

6.3.3掛起或者激活流程實例

接口地址:https://ip:port/processAdmin/services/rest/runtime/switchSuspendOrActive

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:掛起或者激活流程實例

參數(shù)說明

參數(shù)名稱類型描述

processInstanceIdstring流程實例id

statestring狀態(tài)

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.3.4刪除流程實例

接口地址:https://ip:port/processAdmin/services/rest/historicProcess/removeProcess

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:刪除流程實例

參數(shù)說明

參數(shù)名稱類型描述

processInstanceIdstring流程實例id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean操作成功返回的數(shù)據(jù)

11

T/ZGCSA1.5—2024

6.3.5根據(jù)流程實例獲取所有任務(wù)實例

接口地址:

https://ip:port/processAdmin/services/rest/historicTask/getByProcessInstanceId

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:根據(jù)流程實例獲取所有任務(wù)實例

參數(shù)說明

參數(shù)名稱類型描述

processInstanceIdstring流程實例id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataarray任務(wù)集合

6.3.6根據(jù)流程定義key獲取運行的流程實例

接口地址:

https://ip:port/processAdmin/services/rest/monitor/getDoingListByProcessDefinitionKey

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:根據(jù)流程定義Key獲取監(jiān)控在辦件

參數(shù)說明

參數(shù)名稱類型描述

processDefinitionKeystring流程定義Key

pageint32頁碼

rowsint32行數(shù)

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataobject分頁的流程定義數(shù)據(jù)

6.3.7根據(jù)流程定義key獲取結(jié)束的流程實例

12

T/ZGCSA1.5—2024

接口地址:

https://ip:port/processAdmin/services/rest/monitor/getDoneListByProcessDefinitionKey

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:根據(jù)流程定義Key獲取監(jiān)控辦結(jié)件

參數(shù)說明

參數(shù)名稱類型描述

processDefinitionKeystring流程定義Key

pageint32頁碼

rowsint32行數(shù)

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataobject分頁的流程定義數(shù)據(jù)

6.4流程操作服務(wù)

6.4.1加簽

接口地址:https://ip:port/processAdmin/services/rest/runtime/addMultiInstanceExecution

請求方法:POST

Content-Type:application/json

接口描述:加簽

參數(shù)說明

參數(shù)名稱類型描述

activityIdstring活動節(jié)點id

parentExecutionIdstring父執(zhí)行實例id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.4.2減簽

13

T/ZGCSA1.5—2024

接口地址:

https://ip:port/processAdmin/services/rest/runtime/deleteMultiInstanceExecution

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:減簽

參數(shù)說明

參數(shù)名稱類型描述

executionIdstring執(zhí)行實例id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.4.3重定向

接口地址:https://ip:port/processAdmin/services/rest/specialOperation/reposition

請求方法:POST

Content-Type:application/json

接口描述:重定向

參數(shù)說明

參數(shù)名稱類型描述

userIdstring人員id

taskIdstring任務(wù)id

targetTaskDefineKeystring目標(biāo)任務(wù)key

reasonstring重定向原因

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.4.4退回

接口地址:https://ip:port/processAdmin/services/rest/specialOperation/rollBack

14

T/ZGCSA1.5—2024

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:退回辦件

參數(shù)說明

參數(shù)名稱類型描述

userIdstring人員id

taskIdstring任務(wù)id

reasonstring退回的原因

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.4.5收回

接口地址:https://ip:port/processAdmin/services/rest/specialOperation/takeBack

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:收回辦件

參數(shù)說明

參數(shù)名稱類型描述

userIdstring人員id

taskIdstring任務(wù)id

reasonstring收回的原因

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.4.6簽收

接口地址:https://ip:port/processAdmin/services/rest/task/claim

請求方法:POST

15

T/ZGCSA1.5—2024

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:簽收任務(wù)

參數(shù)說明

參數(shù)名稱類型描述

userIdstring人員id

taskIdstring任務(wù)id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.4.7撤銷簽收

接口地址:https://ip:port/processAdmin/services/rest/task/unclaim

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:撤銷簽收任務(wù)

參數(shù)說明

參數(shù)名稱類型描述

taskIdstring任務(wù)id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.4.8完成任務(wù)

接口地址:https://ip:port/processAdmin/services/rest/runtime/completed

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:完成任務(wù)

參數(shù)說明

參數(shù)名稱類型描述

16

T/ZGCSA1.5—2024

參數(shù)名稱類型描述

userIdstring人員id

processInstanceIdstring流程實例id

taskIdstring任務(wù)id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.4.9強制辦結(jié)

接口地址:https://ip:port/processAdmin/services/rest/specialOperation/specialComplete

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:強制辦結(jié)

參數(shù)說明

參數(shù)名稱類型描述

userIdstring人員id

taskIdstring任務(wù)id

reasonstring原因

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean是否成功

6.5事項管理服務(wù)

6.5.1關(guān)聯(lián)文件接口

保存關(guān)聯(lián)文件

接口地址:

https://ip:port/itemAdmin/services/rest/associatedFile4Position/saveAssociatedFile

請求方法:POST

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

17

T/ZGCSA1.5—2024

接口描述:保存關(guān)聯(lián)文件

參數(shù)說明

參數(shù)名稱類型描述

tenantIdstring租戶id

positionIdstring崗位id

processSerialNumberstring流程編號

processInstanceIdsstring關(guān)聯(lián)的流程實例ids

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean操作成功返回的數(shù)據(jù)

獲取關(guān)聯(lián)文件的數(shù)量

接口地址:

https://ip:port/itemAdmin/services/rest/associatedFile4Position/countAssociatedFile

請求方法:GET

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:獲取關(guān)聯(lián)文件的數(shù)量

參數(shù)說明

參數(shù)名稱類型描述

tenantIdstring租戶id

processSerialNumberstring流程編號

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

dataint32操作成功返回的數(shù)據(jù)

刪除關(guān)聯(lián)文件

接口地址:

https://ip:port/itemAdmin/services/rest/associatedFile4Position/deleteAssociatedFile

請求方法:POST

18

T/ZGCSA1.5—2024

Content-Type:application/x-www-form-urlencoded;charset=UTF-8

接口描述:刪除關(guān)聯(lián)文件

參數(shù)說明

參數(shù)名稱類型描述

tenantIdstring租戶id

processSerialNumberstring流程編號

delIdstring關(guān)聯(lián)流程實例id

返回值說明

參數(shù)名稱類型描述

successboolean操作是否成功

codeint32錯誤代碼

msgstring操作描述

databoolean操作成功返回的數(shù)據(jù)

獲取關(guān)聯(lián)文件列表

接口地址:

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論