POST {repositoryId}/HumanTask/{id}/CustomAction
Executes a custom action on the specified resource.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the HumanTask resource. |
string |
Required |
repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
Body Parameters
Parameters:
- "ActionName" (action name)
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
The action output.
DataSetName | Description | Type | Additional information |
---|---|---|---|
Fields | Dictionary of Object [key] and Object [value] |
None. |
|
StructureHash | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Fields": null, "StructureHash": "sample string 1" }
application/xml, text/xml
Sample:
<DataSet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/openwork.Information"> <_x003C_Fields_x003E_k__BackingField xmlns:d2p1="http://www.openworkbpm.com/schema" i:nil="true" /> <structureHash>sample string 1</structureHash> </DataSet>