PUT {repositoryId}/Process/{id}/Suspend
Suspends a Process instance.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id |
The ID of the Process instance. |
string |
Required |
repositoryId |
ID of the resource repository (optional). |
string |
Default value is |
Body Parameters
Optional parameters:
- "SuspensionReason" (suspension reason)
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
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |