POST {repositoryId}/Process/Async?modelUrl={modelUrl}
Creates an asyncronous process.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
modelUrl |
Model URL. |
string |
Required |
Body Parameters
Process inputs.
DataSetName | Description | Type | Additional information |
---|---|---|---|
Fields | Dictionary of Object [key] and Object [value] |
None. |
|
StructureHash | string |
None. |
Request 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>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
"ResponseValue" = the process identifier.
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>