{
"account": "admin",
"agentLeaderId": "string",
"approval": true,
"businessKey": "string",
"data": "string",
"defId": "string",
"destination": "string",
"expression": "string",
"flowKey": "string",
"formKey": "string",
"formType": "string",
"isSendNodeUsers": 0,
"nodeUsers": "string",
"proInstId": "string",
"startOrgId": "string",
"supportMobile": 0,
"sysCode": "string",
"taskId": "string",
"updateSubTableJson": "string",
"urgentStateValue": {
"array": true,
"bigDecimal": true,
"bigInteger": true,
"binary": true,
"boolean": true,
"containerNode": true,
"double": true,
"empty": true,
"float": true,
"floatingPointNumber": true,
"int": true,
"integralNumber": true,
"long": true,
"missingNode": true,
"nodeType": "ARRAY",
"null": true,
"number": true,
"object": true,
"pojo": true,
"short": true,
"textual": true,
"valueNode": true
},
"vars": {
"property1": "string",
"property2": "string"
},
"version": 0
}
curl --location --request POST 'https://api-dev.sincetech.com.cn:9443/bpm-runtime/runtime/instance/v1/saveDraft' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"account": "admin",
"agentLeaderId": "string",
"approval": true,
"businessKey": "string",
"data": "string",
"defId": "string",
"destination": "string",
"expression": "string",
"flowKey": "string",
"formKey": "string",
"formType": "string",
"isSendNodeUsers": 0,
"nodeUsers": "string",
"proInstId": "string",
"startOrgId": "string",
"supportMobile": 0,
"sysCode": "string",
"taskId": "string",
"updateSubTableJson": "string",
"urgentStateValue": {
"array": true,
"bigDecimal": true,
"bigInteger": true,
"binary": true,
"boolean": true,
"containerNode": true,
"double": true,
"empty": true,
"float": true,
"floatingPointNumber": true,
"int": true,
"integralNumber": true,
"long": true,
"missingNode": true,
"nodeType": "ARRAY",
"null": true,
"number": true,
"object": true,
"pojo": true,
"short": true,
"textual": true,
"valueNode": true
},
"vars": {
"property1": "string",
"property2": "string"
},
"version": 0
}'
{
"assignTaskId": 10000000000001,
"code": 0,
"curBoPkVal": 10000000000001,
"errorCode": "string",
"executorIsEmpty": 10000000000001,
"inst": {
"allowDelete": true,
"authorizeRight": {
"array": true,
"bigDecimal": true,
"bigInteger": true,
"binary": true,
"boolean": true,
"containerNode": true,
"double": true,
"empty": true,
"float": true,
"floatingPointNumber": true,
"int": true,
"integralNumber": true,
"long": true,
"missingNode": true,
"nodeType": "ARRAY",
"null": true,
"number": true,
"object": true,
"pojo": true,
"short": true,
"textual": true,
"valueNode": true
},
"backToStart": true,
"bizKey": "string",
"bpmFormKey": "string",
"bpmnDefId": "string",
"bpmnInstId": "string",
"createAccount": "string",
"createBy": "string",
"createOrgId": "string",
"createOrgPath": "string",
"createTime": "2019-08-24T14:15:22Z",
"creator": "string",
"dataMode": "string",
"duration": 0,
"endTime": "2019-08-24T14:15:22Z",
"formKey": "string",
"id": "string",
"isDele": 0,
"isForbidden": 0,
"isFormmal": "string",
"isRead": 0,
"mobileInstUrl": "string",
"parentInstId": "string",
"pcInstUrl": "string",
"pkVal": "string",
"procDefId": "string",
"procDefKey": "string",
"procDefName": "string",
"qualfiedNames": "string",
"resultType": "string",
"showModifyRecord": true,
"status": "string",
"subject": "string",
"superNodeId": "string",
"supportMobile": 0,
"sysCode": "string",
"taskName": "string",
"typeId": "string",
"updateBy": "string",
"updateSubjectWhenExist": true,
"updateTime": "2019-08-24T14:15:22Z",
"urgentState": "string"
},
"instId": 10000000000001,
"logId": "string",
"message": "string",
"state": true,
"tasks": [
{
"assigneeId": "string",
"assigneeName": "string",
"authorizeRight": {},
"bpmnDefId": "string",
"bpmnInstId": "string",
"bpmnTask": true,
"createDate": "2019-08-24T14:15:22Z",
"createTime": "2019-08-24T14:15:22Z",
"creator": "string",
"creatorId": "string",
"deadline": "2019-08-24T14:15:22Z",
"dueDateType": "string",
"dueExpDate": "2019-08-24T14:15:22Z",
"dueStatus": 0,
"dueTaskTime": 0,
"dueTime": "2019-08-24T14:15:22Z",
"dueUseTaskTime": 0,
"execId": "string",
"gateWay": true,
"gateway_": true,
"id": "string",
"identityEmpty": true,
"identityList": [
{
"code": "string",
"extractType": "no",
"groupType": "string",
"id": "string",
"name": "string",
"type": "string"
}
],
"instIsForbidden": "string",
"instStatus": "string",
"isBpmTask": "string",
"isGateWay": true,
"isRead": 0,
"isRevoke": 0,
"leaderIds": "string",
"mobileTaskUrl": "string",
"name": "string",
"nodeId": "string",
"oldOwnerAccount": "string",
"ownerAccount": "string",
"ownerId": "string",
"ownerName": "string",
"parentId": "string",
"pcTaskUrl": "string",
"pkVal": "string",
"priority": 0,
"procDefId": "string",
"procDefKey": "string",
"procDefName": "string",
"procInstId": "string",
"prop1": "string",
"prop2": "string",
"prop3": "string",
"prop4": "string",
"prop5": "string",
"prop6": "string",
"skipResult": {
"hasGetSkip": true,
"skipTask": true,
"skipType": "string"
},
"status": "string",
"subject": "string",
"supportMobile": 0,
"suspendState": 0,
"taskId": "string",
"transDate": "2019-08-24",
"typeId": "string",
"urgentStateValue": "string"
}
],
"value": {}
}