POST
bearerAuthheader
AutorizaçãoBearer <token>application/json- body
processDefinitionId?stringprocessKey*stringComprimento
1 <= lengthbusinessKey?stringapplicationBase*stringComprimento
1 <= lengthpriority?integerFormato
int32variables?array<>assignmentRules?array<>OK
application/json- response
id?stringFormato
uuidprocReleaseKey?stringprocReleaseId?stringnumber?stringstatus?stringValor em
"RUNNING""CREATED""SUSPENDED""CANCELED""COMPLETED"statusDesc?stringbusinessKey?stringversion?stringstartedAt?stringFormato
date-timestartedBy?stringendedAt?stringFormato
date-timeendedBy?stringcanceledAt?stringFormato
date-timecancelledBy?stringobsCancel?stringapplicationBase?stringname?stringprogress?stringpriority?integerFormato
int32variables?array<>userProfileStartedBy?userProfileEndedBy?userProfileCancelledBy?curl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/process-instances' \ -H 'Content-Type: application/json' \ -d '{ "processKey": "string", "applicationBase": "string"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "procReleaseKey": "string", "procReleaseId": "string", "number": "string", "status": "RUNNING", "statusDesc": "string", "businessKey": "string", "version": "string", "startedAt": "2019-08-24T14:15:22Z", "startedBy": "string", "endedAt": "2019-08-24T14:15:22Z", "endedBy": "string", "canceledAt": "2019-08-24T14:15:22Z", "cancelledBy": "string", "obsCancel": "string", "applicationBase": "string", "name": "string", "progress": "string", "priority": 0, "variables": [ { "name": "string", "value": null } ], "userProfileStartedBy": { "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" }, "userProfileCancelledBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }}POST
bearerAuthheader
AutorizaçãoBearer <token>application/json- body
processDefinitionId?stringprocessKey*stringComprimento
1 <= lengthapplicationBase*stringComprimento
1 <= lengthbusinessKey?stringpriority?integerFormato
int32Created
application/json- response
id?stringFormato
uuidprocReleaseKey?stringprocReleaseId?stringnumber?stringstatus?stringValor em
"RUNNING""CREATED""SUSPENDED""CANCELED""COMPLETED"statusDesc?stringbusinessKey?stringversion?stringstartedAt?stringFormato
date-timestartedBy?stringendedAt?stringFormato
date-timeendedBy?stringcanceledAt?stringFormato
date-timecancelledBy?stringobsCancel?stringapplicationBase?stringname?stringprogress?stringpriority?integerFormato
int32variables?array<>userProfileStartedBy?userProfileEndedBy?userProfileCancelledBy?curl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/process-instances/create' \ -H 'Content-Type: application/json' \ -d '{ "processKey": "string", "applicationBase": "string"}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "procReleaseKey": "string", "procReleaseId": "string", "number": "string", "status": "RUNNING", "statusDesc": "string", "businessKey": "string", "version": "string", "startedAt": "2019-08-24T14:15:22Z", "startedBy": "string", "endedAt": "2019-08-24T14:15:22Z", "endedBy": "string", "canceledAt": "2019-08-24T14:15:22Z", "cancelledBy": "string", "obsCancel": "string", "applicationBase": "string", "name": "string", "progress": "string", "priority": 0, "variables": [ { "name": "string", "value": null } ], "userProfileStartedBy": { "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" }, "userProfileCancelledBy": { "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<>assignmentRules?array<>OK
application/json- response
id?stringFormato
uuidprocReleaseKey?stringprocReleaseId?stringnumber?stringstatus?stringValor em
"RUNNING""CREATED""SUSPENDED""CANCELED""COMPLETED"statusDesc?stringbusinessKey?stringversion?stringstartedAt?stringFormato
date-timestartedBy?stringendedAt?stringFormato
date-timeendedBy?stringcanceledAt?stringFormato
date-timecancelledBy?stringobsCancel?stringapplicationBase?stringname?stringprogress?stringpriority?integerFormato
int32variables?array<>userProfileStartedBy?userProfileEndedBy?userProfileCancelledBy?curl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/process-instances/string/start' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "procReleaseKey": "string", "procReleaseId": "string", "number": "string", "status": "RUNNING", "statusDesc": "string", "businessKey": "string", "version": "string", "startedAt": "2019-08-24T14:15:22Z", "startedBy": "string", "endedAt": "2019-08-24T14:15:22Z", "endedBy": "string", "canceledAt": "2019-08-24T14:15:22Z", "cancelledBy": "string", "obsCancel": "string", "applicationBase": "string", "name": "string", "progress": "string", "priority": 0, "variables": [ { "name": "string", "value": null } ], "userProfileStartedBy": { "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" }, "userProfileCancelledBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }}POST
bearerAuthheader
AutorizaçãoBearer <token>number?stringname?stringprocReleaseKey?stringprocReleaseId?stringstatus?stringapplicationBase?stringdateFrom?stringdateTo?stringpage?integerFormato
int32size?integerFormato
int32application/json- body
variables?array<>List of process 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/process-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", "procReleaseKey": "string", "procReleaseId": "string", "number": "string", "status": "RUNNING", "statusDesc": "string", "businessKey": "string", "version": "string", "startedAt": "2019-08-24T14:15:22Z", "startedBy": "string", "endedAt": "2019-08-24T14:15:22Z", "endedBy": "string", "canceledAt": "2019-08-24T14:15:22Z", "cancelledBy": "string", "obsCancel": "string", "applicationBase": "string", "name": "string", "progress": "string", "priority": 0, "variables": [ { "name": "string", "value": null } ], "userProfileStartedBy": { "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" }, "userProfileCancelledBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" } } ]}GET
bearerAuthheader
AutorizaçãoBearer <token>id*stringProcess Instance Info
application/json- response
id?stringFormato
uuidprocReleaseKey?stringprocReleaseId?stringnumber?stringstatus?stringValor em
"RUNNING""CREATED""SUSPENDED""CANCELED""COMPLETED"statusDesc?stringbusinessKey?stringversion?stringstartedAt?stringFormato
date-timestartedBy?stringendedAt?stringFormato
date-timeendedBy?stringcanceledAt?stringFormato
date-timecancelledBy?stringobsCancel?stringapplicationBase?stringname?stringprogress?stringpriority?integerFormato
int32variables?array<>userProfileStartedBy?userProfileEndedBy?userProfileCancelledBy?curl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/process-instances/string'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "procReleaseKey": "string", "procReleaseId": "string", "number": "string", "status": "RUNNING", "statusDesc": "string", "businessKey": "string", "version": "string", "startedAt": "2019-08-24T14:15:22Z", "startedBy": "string", "endedAt": "2019-08-24T14:15:22Z", "endedBy": "string", "canceledAt": "2019-08-24T14:15:22Z", "cancelledBy": "string", "obsCancel": "string", "applicationBase": "string", "name": "string", "progress": "string", "priority": 0, "variables": [ { "name": "string", "value": null } ], "userProfileStartedBy": { "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" }, "userProfileCancelledBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }}GET
bearerAuthheader
AutorizaçãoBearer <token>id*stringList of task status of the process instance
application/json- response
taskKey*stringComprimento
1 <= lengthname?stringstatus?stringValor em
"CREATED""ASSIGNED""SUSPENDED""COMPLETED""CANCELED"curl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/process-instances/string/task-status'{ "taskKey": "string", "name": "string", "status": "CREATED"}POST
bearerAuthheader
AutorizaçãoBearer <token>id*stringapplication/json- body
obsCancel?stringOK
application/json- response
id?stringFormato
uuidprocReleaseKey?stringprocReleaseId?stringnumber?stringstatus?stringValor em
"RUNNING""CREATED""SUSPENDED""CANCELED""COMPLETED"statusDesc?stringbusinessKey?stringversion?stringstartedAt?stringFormato
date-timestartedBy?stringendedAt?stringFormato
date-timeendedBy?stringcanceledAt?stringFormato
date-timecancelledBy?stringobsCancel?stringapplicationBase?stringname?stringprogress?stringpriority?integerFormato
int32variables?array<>userProfileStartedBy?userProfileEndedBy?userProfileCancelledBy?curl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/process-instances/string/cancel' \ -H 'Content-Type: application/json' \ -d '{}'{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "procReleaseKey": "string", "procReleaseId": "string", "number": "string", "status": "RUNNING", "statusDesc": "string", "businessKey": "string", "version": "string", "startedAt": "2019-08-24T14:15:22Z", "startedBy": "string", "endedAt": "2019-08-24T14:15:22Z", "endedBy": "string", "canceledAt": "2019-08-24T14:15:22Z", "cancelledBy": "string", "obsCancel": "string", "applicationBase": "string", "name": "string", "progress": "string", "priority": 0, "variables": [ { "name": "string", "value": null } ], "userProfileStartedBy": { "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" }, "userProfileCancelledBy": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "username": "string", "email": "string", "firstName": "string", "lastName": "string", "fullName": "string", "sub": "string" }}POST
bearerAuthheader
AutorizaçãoBearer <token>application/json- body
messageName?stringtaskId?stringbusinessKey?stringvariables?array<>OK
response?stringapplication/jsoncurl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/process-instances/event' \ -H 'Content-Type: application/json' \ -d '{}'"string"POST
bearerAuthheader
AutorizaçãoBearer <token>id*stringapplication/json- body
elementId?stringseconds*integerFormato
int64No Content
response?stringapplication/jsoncurl -X POST 'http://localhost:2575/gateway-api/igrp-process-management-api/process-instances/string/timer/reschedule' \ -H 'Content-Type: application/json' \ -d '{ "seconds": 0}'"string"GET
bearerAuthheader
AutorizaçãoBearer <token>OK
application/json- response
totalProcessInstances?integerFormato
int64totalCreatedProcess?integerFormato
int64totalRunningProcess?integerFormato
int64totalCompletedProcess?integerFormato
int64totalSuspendedProcess?integerFormato
int64totalCanceledProcess?integerFormato
int64curl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/process-instances/stats'{ "totalProcessInstances": 0, "totalCreatedProcess": 0, "totalRunningProcess": 0, "totalCompletedProcess": 0, "totalSuspendedProcess": 0, "totalCanceledProcess": 0}GET
bearerAuthheader
AutorizaçãoBearer <token>List of process instance status
application/json- response
label*stringComprimento
1 <= lengthvalue*stringComprimento
1 <= lengthcurl -X GET 'http://localhost:2575/gateway-api/igrp-process-management-api/process-instances/status'{ "label": "string", "value": "string"}How is this guide?
Última atualização:
