POST
bearerAuthheader
AutorizaçãoBearer <token>processInstanceId?stringprocessNumber?stringprocessReleaseKey?stringapplicationBase?stringcandidateGroups?stringcandidateUsers?stringuser?stringstatus?stringdateFrom?stringdateTo?stringpage?integerFormato
int32size?integerFormato
int32name?stringprocessName?stringfilterByCurrentUser?booleanpriority?integerFormato
int32application/json- body
variables?array<>List of task instances
application/json- response
pageNumber?integerFormato
int32pageSize?integerFormato
int32totalElements?integerFormato
int64totalPages?integerFormato
int32last?booleanfirst?booleancontent?array<>curl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/search' \ -H 'Content-Type: application/json' \ -d '{}'{ "pageNumber": 0, "pageSize": 0, "totalElements": 0, "totalPages": 0, "last": true, "first": true, "content": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "taskKey": "string", "formKey": "string", "name": "string", "candidateGroups": "string", "candidateUsers": "string", "processInstanceId": "string", "processNumber": "string", "processName": "string", "processKey": "string", "businessKey": "string", "priority": 0, "assignedBy": "string", "assignedAt": "2019-08-24T14:15:22Z", "startedBy": "string", "startedAt": "2019-08-24T14:15:22Z", "endedBy": "string", "endedAt": "2019-08-24T14:15:22Z", "status": "CREATED", "statusDesc": "string", "variables": [ { "name": "string", "value": null } ], "applicationBase": "string", "forms": [ { "name": "string", "value": null } ], "processVariables": [ { "name": "string", "value": null } ], "dueDate": "2019-08-24T14:15:22Z", "userProfileEndedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }, "userProfileAssignedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }, "userProfileStartedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" } } ]}POST
bearerAuthheader
AutorizaçãoBearer <token>processInstanceId?stringprocessNumber?stringapplicationBase?stringprocessName?stringstatus?stringdateFrom?stringdateTo?stringpage?integerFormato
int32size?integerFormato
int32processReleaseKey?stringname?stringpriority?integerFormato
int32application/json- body
variables?array<>List All My Tasks
application/json- response
pageNumber?integerFormato
int32pageSize?integerFormato
int32totalElements?integerFormato
int64totalPages?integerFormato
int32last?booleanfirst?booleancontent?array<>curl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/me' \ -H 'Content-Type: application/json' \ -d '{}'{ "pageNumber": 0, "pageSize": 0, "totalElements": 0, "totalPages": 0, "last": true, "first": true, "content": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "taskKey": "string", "formKey": "string", "name": "string", "candidateGroups": "string", "candidateUsers": "string", "processInstanceId": "string", "processNumber": "string", "processName": "string", "processKey": "string", "businessKey": "string", "priority": 0, "assignedBy": "string", "assignedAt": "2019-08-24T14:15:22Z", "startedBy": "string", "startedAt": "2019-08-24T14:15:22Z", "endedBy": "string", "endedAt": "2019-08-24T14:15:22Z", "status": "CREATED", "statusDesc": "string", "variables": [ { "name": "string", "value": null } ], "applicationBase": "string", "forms": [ { "name": "string", "value": null } ], "processVariables": [ { "name": "string", "value": null } ], "dueDate": "2019-08-24T14:15:22Z", "userProfileEndedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }, "userProfileAssignedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }, "userProfileStartedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" } } ]}GET
bearerAuthheader
AutorizaçãoBearer <token>id*stringTask Instance Info
application/json- response
id?stringFormato
uuidtaskKey?stringformKey?stringname?stringexternalId?stringcandidateGroups?stringcandidateUsers?stringprocessInstanceId?stringFormato
uuidprocessKey?stringprocessNumber?stringbusinessKey?stringprocessName?stringapplicationBase?stringassignedAt?stringFormato
date-timeassignedBy?stringsearchTerms?stringpriority?integerFormato
int32startedAt?stringFormato
date-timestartedBy?stringstatus?stringValor em
"CREATED""ASSIGNED""SUSPENDED""COMPLETED""CANCELED"statusDesc?stringendedAt?stringFormato
date-timeendedBy?stringtaskInstanceEvents?array<>variables?array<>forms?array<>processVariables?array<>dueDate?stringFormato
date-timeuserProfileAssignedBy?userProfileEndedBy?userProfileStartedBy?curl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/string'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "taskKey": "string", "formKey": "string", "name": "string", "externalId": "string", "candidateGroups": "string", "candidateUsers": "string", "processInstanceId": "e208d7c6-f7e3-44cc-bbfb-74c86607a4b7", "processKey": "string", "processNumber": "string", "businessKey": "string", "processName": "string", "applicationBase": "string", "assignedAt": "2019-08-24T14:15:22Z", "assignedBy": "string", "searchTerms": "string", "priority": 0, "startedAt": "2019-08-24T14:15:22Z", "startedBy": "string", "status": "CREATED", "statusDesc": "string", "endedAt": "2019-08-24T14:15:22Z", "endedBy": "string", "taskInstanceEvents": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "taskInstanceId": "4b20724d-23ff-43fe-a598-7c9327b455c0", "eventType": "string", "performedAt": "2019-08-24T14:15:22Z", "performedBy": "string", "obs": "string", "status": "CREATED", "userProfilePerformedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" } } ], "variables": [ { "name": "string", "value": null } ], "forms": [ { "name": "string", "value": null } ], "processVariables": [ { "name": "string", "value": null } ], "dueDate": "2019-08-24T14:15:22Z", "userProfileAssignedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }, "userProfileEndedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }, "userProfileStartedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }}GET
bearerAuthheader
AutorizaçãoBearer <token>id*stringOK
application/json- response
variables?array<>forms?array<>curl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/string/variables'{ "variables": [ { "name": "string", "value": null } ], "forms": [ { "name": "string", "value": null } ]}POST
bearerAuthheader
AutorizaçãoBearer <token>id*stringNo Content
response?string*/*curl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/string/claim'"string"POST
bearerAuthheader
AutorizaçãoBearer <token>id*stringapplication/json- body
note?stringNo content
response?string*/*curl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/string/unclaim' \ -H 'Content-Type: application/json' \ -d '{}'"string"POST
bearerAuthheader
AutorizaçãoBearer <token>id*stringapplication/json- body
user?stringComprimento
0 <= length <= 2147483647priority?integerFormato
int32note?stringcandidateGroups?stringcandidateUsers?stringNo content
response?string*/*curl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/string/assign' \ -H 'Content-Type: application/json' \ -d '{}'"string"POST
bearerAuthheader
AutorizaçãoBearer <token>id*stringapplication/json- body
variables?array<>forms?array<>OK
application/json- response
id?stringFormato
uuidtaskKey?stringformKey?stringname?stringexternalId?stringcandidateGroups?stringcandidateUsers?stringprocessInstanceId?stringFormato
uuidprocessKey?stringprocessNumber?stringbusinessKey?stringprocessName?stringapplicationBase?stringassignedAt?stringFormato
date-timeassignedBy?stringsearchTerms?stringpriority?integerFormato
int32startedAt?stringFormato
date-timestartedBy?stringstatus?stringValor em
"CREATED""ASSIGNED""SUSPENDED""COMPLETED""CANCELED"statusDesc?stringendedAt?stringFormato
date-timeendedBy?stringtaskInstanceEvents?array<>variables?array<>forms?array<>processVariables?array<>dueDate?stringFormato
date-timeuserProfileAssignedBy?userProfileEndedBy?userProfileStartedBy?curl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/string/save' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "taskKey": "string", "formKey": "string", "name": "string", "externalId": "string", "candidateGroups": "string", "candidateUsers": "string", "processInstanceId": "e208d7c6-f7e3-44cc-bbfb-74c86607a4b7", "processKey": "string", "processNumber": "string", "businessKey": "string", "processName": "string", "applicationBase": "string", "assignedAt": "2019-08-24T14:15:22Z", "assignedBy": "string", "searchTerms": "string", "priority": 0, "startedAt": "2019-08-24T14:15:22Z", "startedBy": "string", "status": "CREATED", "statusDesc": "string", "endedAt": "2019-08-24T14:15:22Z", "endedBy": "string", "taskInstanceEvents": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "taskInstanceId": "4b20724d-23ff-43fe-a598-7c9327b455c0", "eventType": "string", "performedAt": "2019-08-24T14:15:22Z", "performedBy": "string", "obs": "string", "status": "CREATED", "userProfilePerformedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" } } ], "variables": [ { "name": "string", "value": null } ], "forms": [ { "name": "string", "value": null } ], "processVariables": [ { "name": "string", "value": null } ], "dueDate": "2019-08-24T14:15:22Z", "userProfileAssignedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }, "userProfileEndedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }, "userProfileStartedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }}POST
bearerAuthheader
AutorizaçãoBearer <token>id*stringapplication/json- body
variables?array<>forms?array<>OK
application/json- response
id?stringFormato
uuidtaskKey?stringformKey?stringname?stringexternalId?stringcandidateGroups?stringcandidateUsers?stringprocessInstanceId?stringFormato
uuidprocessKey?stringprocessNumber?stringbusinessKey?stringprocessName?stringapplicationBase?stringassignedAt?stringFormato
date-timeassignedBy?stringsearchTerms?stringpriority?integerFormato
int32startedAt?stringFormato
date-timestartedBy?stringstatus?stringValor em
"CREATED""ASSIGNED""SUSPENDED""COMPLETED""CANCELED"statusDesc?stringendedAt?stringFormato
date-timeendedBy?stringtaskInstanceEvents?array<>variables?array<>forms?array<>processVariables?array<>dueDate?stringFormato
date-timeuserProfileAssignedBy?userProfileEndedBy?userProfileStartedBy?curl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/string/complete' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "taskKey": "string", "formKey": "string", "name": "string", "externalId": "string", "candidateGroups": "string", "candidateUsers": "string", "processInstanceId": "e208d7c6-f7e3-44cc-bbfb-74c86607a4b7", "processKey": "string", "processNumber": "string", "businessKey": "string", "processName": "string", "applicationBase": "string", "assignedAt": "2019-08-24T14:15:22Z", "assignedBy": "string", "searchTerms": "string", "priority": 0, "startedAt": "2019-08-24T14:15:22Z", "startedBy": "string", "status": "CREATED", "statusDesc": "string", "endedAt": "2019-08-24T14:15:22Z", "endedBy": "string", "taskInstanceEvents": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "taskInstanceId": "4b20724d-23ff-43fe-a598-7c9327b455c0", "eventType": "string", "performedAt": "2019-08-24T14:15:22Z", "performedBy": "string", "obs": "string", "status": "CREATED", "userProfilePerformedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" } } ], "variables": [ { "name": "string", "value": null } ], "forms": [ { "name": "string", "value": null } ], "processVariables": [ { "name": "string", "value": null } ], "dueDate": "2019-08-24T14:15:22Z", "userProfileAssignedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }, "userProfileEndedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }, "userProfileStartedBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }}GET
bearerAuthheader
AutorizaçãoBearer <token>OK
application/json- response
totalTaskInstances?integerFormato
int64totalAvailableTasks?integerFormato
int64totalAssignedTasks?integerFormato
int64totalSuspendedTasks?integerFormato
int64totalCompletedTasks?integerFormato
int64totalCanceledTasks?integerFormato
int64curl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/stats'{ "totalTaskInstances": 0, "totalAvailableTasks": 0, "totalAssignedTasks": 0, "totalSuspendedTasks": 0, "totalCompletedTasks": 0, "totalCanceledTasks": 0}GET
bearerAuthheader
AutorizaçãoBearer <token>OK
application/json- response
totalTaskInstances?integerFormato
int64totalAvailableTasks?integerFormato
int64totalAssignedTasks?integerFormato
int64totalSuspendedTasks?integerFormato
int64totalCompletedTasks?integerFormato
int64totalCanceledTasks?integerFormato
int64curl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/stats/me'{ "totalTaskInstances": 0, "totalAvailableTasks": 0, "totalAssignedTasks": 0, "totalSuspendedTasks": 0, "totalCompletedTasks": 0, "totalCanceledTasks": 0}GET
bearerAuthheader
AutorizaçãoBearer <token>OK
application/json- response
label*stringComprimento
1 <= lengthvalue*stringComprimento
1 <= lengthcurl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/status'{ "label": "string", "value": "string"}GET
bearerAuthheader
AutorizaçãoBearer <token>OK
application/json- response
label*stringComprimento
1 <= lengthvalue*stringComprimento
1 <= lengthcurl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/event_type'{ "label": "string", "value": "string"}GET
bearerAuthheader
AutorizaçãoBearer <token>processInstanceId?stringprocessDefinitionKey?stringtaskDefinitionKey?stringassignee?stringcandidateUsers?stringcandidateGroups?stringassignmentMode?stringValor em
"ALWAYS""ONE_TIME"consumed?booleanactive?booleancreatedByTask?stringpage?integerFormato
int32size?integerFormato
int32List task assignment rules
application/json- response
pageNumber?integerFormato
int32pageSize?integerFormato
int32totalElements?integerFormato
int64totalPages?integerFormato
int32last?booleanfirst?booleancontent?array<>curl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/assignment-rules'{ "pageNumber": 0, "pageSize": 0, "totalElements": 0, "totalPages": 0, "last": true, "first": true, "content": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "processDefinitionKey": "string", "processInstanceId": "e208d7c6-f7e3-44cc-bbfb-74c86607a4b7", "taskDefinitionKey": "string", "assignee": "string", "candidateUsers": "string", "candidateGroups": "string", "assignmentMode": "ALWAYS", "priority": 0, "consumed": true, "active": true, "createdByTask": "f6ddc7f1-adbe-4fe2-86e0-6dac7071ec02" } ]}DELETE
bearerAuthheader
AutorizaçãoBearer <token>id*stringNo content
response?string*/*curl -X DELETE 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/assignment-rules/string'"string"PUT
bearerAuthheader
AutorizaçãoBearer <token>id*stringapplication/json- body
assignee?stringcandidateUsers?stringcandidateGroups?stringTask assignment rule updated
application/json- response
id?stringFormato
uuidprocessDefinitionKey?stringprocessInstanceId?stringFormato
uuidtaskDefinitionKey?stringassignee?stringcandidateUsers?stringcandidateGroups?stringassignmentMode?stringValor em
"ALWAYS""ONE_TIME"priority?integerFormato
int32consumed?booleanactive?booleancreatedByTask?stringFormato
uuidcurl -X PUT 'http://localhost:2575/gateway-api/igrp-process-management-api/tasks-instances/assignment-rules/string' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "processDefinitionKey": "string", "processInstanceId": "e208d7c6-f7e3-44cc-bbfb-74c86607a4b7", "taskDefinitionKey": "string", "assignee": "string", "candidateUsers": "string", "candidateGroups": "string", "assignmentMode": "ALWAYS", "priority": 0, "consumed": true, "active": true, "createdByTask": "f6ddc7f1-adbe-4fe2-86e0-6dac7071ec02"}How is this guide?
Última atualização:
