Executes an activity non-interactively and retrieves its output.
| Name | Description | Default |
|---|---|---|
id
|
Unique activity ID, activity name or GUID. |
Content Type:
application/xml
or
application/json
Key/value pairs representing the input to the activity.
| XML JSON |
|---|
<Request> <!--Array of 'Item'-->
<Item>
<Name>string</Name>
<Value>object</Value>
</Item>
</Request>
|
[{
"Name": "string",
"Value": "object"
}]
|
Content Type:
application/xml
or
application/json
Key/value pairs representing the output from the activity (if any).
| XML JSON |
|---|
<Response>
<Result> <!--Array of 'Item'-->
<Item>
<Name>string</Name>
<Value>object</Value>
</Item>
</Result>
<Message>string</Message> <!--Error message-->
</Response>
|
{
"Result": [{
"Name": "string",
"Value": "object"
}],
"Message": "string" // Error message
}
|
| Code | Condition |
|---|---|
| 200 OK | The operation completed successfully. |
| 400 Bad Request | Invalid activity. |
| 401 Unauthorized | Access token is invalid, expired or not specified. |
| 403 Forbidden | User does not have permission to start the activity. |
| 404 Not Found | Activity not found. |
| 406 Not Acceptable | Content type specified in the Accept header isn't supported. |
| 409 Conflict | The activity was cancelled. |
| 500 Internal Server Error | An internal error occurred. |
Only activities which are explicitly marked 'non-interactive' can be executed using this method.
The input, output and internal behaviour of an activity are determined by the activity type.