ExecuteMacro
Description: Executes a macro within a Rulex process.
URL: /executeMacro
Method: POST
Header: You must provide the authentication token in the header, using the following syntax:
{
Authorization : "Bearer" + " " + token
}
Parameters
The ExecuteMacro method uses the following parameters:
Name | Data Type | Mandatory | Default Value | Description |
|---|---|---|---|---|
| string |
| The name of the process to which the macro belongs. | |
| string |
| The name of the macro you want to execute. |
Syntax example
Data Params
{
process : process name,
macro : macro name
}
Response Codes
Code | Result | Response |
|---|---|---|
Success | ||
200 | Success | |
Warnings | ||
307 | Temporary redirect | {
resultUrl : url
}
|
Client errors | ||
400 | Bad request | |
404 | Not found | |