POST {repositoryId}/HumanTask/{id}/Comment
Adds a comment to a 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
Parameters:
- "Text" (comment text)
Request Formats
application/json, text/json
Sample:
{ "Key 1": {}, "Key 2": {} }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringanyType> <Key>Key 1</Key> <Value /> </KeyValueOfstringanyType> <KeyValueOfstringanyType> <Key>Key 2</Key> <Value /> </KeyValueOfstringanyType> </ArrayOfKeyValueOfstringanyType>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
"ResponseValue" = the Id of the added comment.
Dictionary of string [key] and string [value]Response Formats
application/json, text/json
Sample:
{ "sample string 1": "sample string 2", "sample string 3": "sample string 4" }
application/xml, text/xml
Sample:
<ArrayOfKeyValueOfstringstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <KeyValueOfstringstring> <Key>sample string 1</Key> <Value>sample string 2</Value> </KeyValueOfstringstring> <KeyValueOfstringstring> <Key>sample string 3</Key> <Value>sample string 4</Value> </KeyValueOfstringstring> </ArrayOfKeyValueOfstringstring>