GET {repositoryId}/HumanTask/{id}/Comment/List
Gets the list of comments (the whole discussion) associated to the specified HumanTask resource.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
id |
The ID of the HumanTask resource. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
The list of comments (the whole discussion) associated to the specified HumanTask resource.
Collection of CommentName | Description | Type | Additional information |
---|---|---|---|
Text | string |
None. |
|
Added | ChangeStatusInformation |
None. |
|
LastUpdated | ChangeStatusInformation |
None. |
|
RepositoryId | string |
None. |
|
Id | string |
None. |
|
OwnerId | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Text": "sample string 1", "Added": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:19:57.4393258+01:00" }, "LastUpdated": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:19:57.4393258+01:00" }, "RepositoryId": "sample string 2", "Id": "sample string 3", "OwnerId": "sample string 4" }, { "Text": "sample string 1", "Added": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:19:57.4393258+01:00" }, "LastUpdated": { "IdentityReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "PositionReference": { "Name": "sample string 1", "Url": "sample string 2", "Type": 0 }, "Date": "2024-11-22T08:19:57.4393258+01:00" }, "RepositoryId": "sample string 2", "Id": "sample string 3", "OwnerId": "sample string 4" } ]
application/xml, text/xml
Sample:
<ArrayOfComment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.openworkbpm.com/schema"> <Comment> <Added> <Date>2024-11-22T08:19:57.4393258+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </Added> <Id>sample string 3</Id> <LastUpdated> <Date>2024-11-22T08:19:57.4393258+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </LastUpdated> <OwnerId>sample string 4</OwnerId> <RepositoryId>sample string 2</RepositoryId> <Text>sample string 1</Text> </Comment> <Comment> <Added> <Date>2024-11-22T08:19:57.4393258+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </Added> <Id>sample string 3</Id> <LastUpdated> <Date>2024-11-22T08:19:57.4393258+01:00</Date> <IdentityReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </IdentityReference> <PositionReference> <Type>Undefined</Type> <Url>sample string 2</Url> <Name>sample string 1</Name> </PositionReference> </LastUpdated> <OwnerId>sample string 4</OwnerId> <RepositoryId>sample string 2</RepositoryId> <Text>sample string 1</Text> </Comment> </ArrayOfComment>