GET /rest/bpm/federated/htm/v1/task/{tkiid}/subtasks?systemID={string}| Name | Value Type | Description |
|---|---|---|
| systemID | string | ID of the BPEL runtime system hosting the resource. |
None
The default content-type is application/json.
{ "description": "Task List",
"type": "object",
"properties":
{ "identifier": {"type": "string"},
"items":
[
{ "activationTime": {"type": "string","format": "date-time",
"description": "Time the task instance is set into the ready state - this also happens when the task is restarted or when a claim is canceled."
},
"description": {"type": "string",
"description": "Description of the task."
},
"displayName": {"type": "string",
"description": "Display name of the task."
},
"dueTime": {"type": "string", "format": "date-time",
"description": "Time when the task is due."
},
"durationUntilExpires": {"type": "string",
"description": "Duration when the task expires once it is activated."
},
"firstActivationTime": {"type": "string","format": "date-time",
"description": "Time the task instance is set into the ready state for the first time."
},
"isWaitingForSubTask": {"type": "boolean",
"description": "States whether the task is waiting for the completion of a subtask."
},
"kind": {"type": "string",
"description": "Kind of the task."
},
"name": {"type": "string",
"description": "Name of the task instance."
},
"originator": {"type": "string",
"description": "ID of the user that created the task instance or on whose behalf the task instance was created."
},
"owner": {"type": "string",
"description": "Owner of the task instance."
},
"positionInHierarchy": {"type": "string",
"description": "Position in a possible task instance hierarchy.",
"enum":
[
"HIERARCHY_POSITION_FOLLOW_ON_TASK",
"HIERARCHY_POSITION_SUB_TASK",
"HIERARCHY_POSITION_TOP_TASK"
]
},
"priority": {"type": "integer",
"description": "Priority of the task instance."
},
"starter": {"type": "string",
"description": "Starter of the task instance."
},
"startTime": {"type": "string", "format": "date-time",
"description": "Time when the task was claimed or when an invocation task enters the running state."
},
"state": {"type": "string",
"description": "State of the task instance."
},
"taskTemplateID": {"type": "string",
"description": "ID of the task template this instance is derived from."
},
"tkiid": {"type": "string",
"description": "Task instance ID."
},
"type": {"type": "string",
"description": "Type of the task."
}
}
]
}
}
The default content-type is application/json.
{ "description": "Error Response",
"type": "object",
"properties":
{ "federationResult":
[
{ "systemID": {"type": "string",
"description": "ID of the individual system the request was sent to."
},
"statusCode": {"type": "integer",
"description": "HTTP Status Code returned from this system."
},
"errorNumber": {"type": "string", "optional": true,
"description": "Message ID of the exception."
},
"errorMessage": {"type": "string", "optional": true,
"description": "Message text of the exception."
},
"errorMessageParameters": {"type": ["string"], "optional": true,
"description": "Message text parameters of the exception."
},
"programmersDetails": {"type": "object", "optional": true,
"description": "Additional, exception details, for example, a stack trace."
},
"status": {"type": "string", "optional": true,
"description": "Status of the request."
},
"exceptionType": {"type": "string", "optional": true,
"description": "Type of the exception."
}
}
],
"errorNumber": {"type": "string",
"description": "Message ID of the exception."
},
"errorMessage": {"type": "string",
"description": "Message text of the exception."
},
"errorMessageParameters": {"type": ["string"], "optional": true,
"description": "Message text parameters of the exception."
},
"programmersDetails": {"type": "object", "optional": true,
"description": "Additional, exception details, for example, a stack trace."
},
"status": {"type": "string", "optional": true,
"description": "Status of the request."
},
"exceptionType": {"type": "string", "optional": true,
"description": "Type of the exception."
}
}
}
| Code | Description |
|---|---|
| 200 OK | Successful completion. The requested data is returned. Note that the list might be empty.
|
| 400 Bad Request | The parameters are not valid or they are missing. |
| 401 Unauthorized | The caller is not authorized for this request. |
| 406 Not Acceptable | The requested content type or content encoding is not supported. |
| 500 Internal Server Error | A severe problem has occurred. Programmer's details are provided. |
| 503 Service Unavailable | The federated request could not be delivered to individual federation targets. |
| 504 Gateway Timeout | The federated response has partial content because of missing individual responses. |
7.5
Parent topic: Task Instance Subtask List Resource