Insert a File into the Workflow
POSTing to the Files Resource adds a file to the Send, Receive, or Sent folders for a particular connector. To insert a file into the workflow, POST the file to the Send folder for the first connector that should process the file. For example:Retrieve the Log File for a Specific Transaction
The getTransactionLogs Action retrieves the log file for a specific action. Invoking this Action requires knowing the MessageId for the relevant transaction. The MessageId can be found by querying the Transactions Resource first (the Transactions Resource returns metadata about the transaction, but not the transaction log file itself). The GET query to the Transactions Resource should include any filters necessary to identify the specific transaction unless the result set can be parsed by some other process to find the MessageId for the desired transaction. For example:Call Admin API from Script
You can use Script to send arc:call commands to the Admin API. Each call must start withapi.rsc/.
The following limitations apply to this feature:
- OData query syntax is not supported.
- Rate limiters are not applied.
- If the script is executed from the Admin Console directly, the user will be the currently logged-in user.
- If the script is executed by an automation service, the IP address in an audit will be 127.0.0.1.
Retrieve Connectors
The following example is an isolated arc:call command used to retrieve the connectors resource:
The following Script code uses this arc:call command to create a list of all existing connectors: