PUT {repositoryId}/HumanTask/Comment/{id}

Updates a Comment.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

The Comment Id.

string

Required

repositoryId

ID of the resource repository (optional).

string

Default value is

Body Parameters

Parameters:
- "Text" (new comment text)

Dictionary of string [key] and Object [value]

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

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.