v1

latestOpenAPI 3.1.02026-07-24416405768.8 KB
z) Global Functionality

Update a task

Updates a task with comments or submits it for execution by setting status to EXECUTE.

put/eclipse-conductor/rest/v1/global/tasks/{taskId}

Path parameters

taskIdinteger required

Query parameters

executeIfApprovedboolean

Request body

approvalStatus'APPROVED' | 'PENDING' | 'REJECTED'
executorCommentstring
status'DISCARDED' | 'DRAFT' | 'EXECUTE' | 'EXECUTED' | 'FAILED' | 'PENDING' | 'REJECTED'
taskIdinteger

Response

OK

bodystring
createdstring date-time
descriptionstring
executableByInitiatorboolean

True when this task may be executed by its own initiator (maker==checker waived for self-executable scopes such as agentic UpdateByTasks tokens)

executorinteger
executorCommentstring
executorRolesstring
httpMethod'DELETE' | 'GET' | 'PATCH' | 'POST' | 'PUT'
initiatorinteger
initiatorCommentstring
initiatorNamestring
lastModifiedstring date-time
pathstring
responseBodystring
responseCodeinteger
status'DISCARDED' | 'DRAFT' | 'EXECUTE' | 'EXECUTED' | 'FAILED' | 'PENDING' | 'REJECTED'
submitterScopestring

Space-delimited scope of the identity that submitted the task

tagstring
taskIdinteger
tenantIdinteger

Example response

{
  "created": "2022-03-10T12:15:50-04:00",
  "lastModified": "2022-03-10T12:15:50-04:00"
}