Skip to main content
Version: 1.25

API Actions

Audience: Citizen devs System/Security Administrators

Skill Prerequisites: System Administration and Maintenance

API Actions

This section lists and details the different actions you can define for your API.

ActionDescription
Codeallows to run code directly, be it JavaScript (on the server side), a Razor script, a Token (an object encapsulating the security identity of the process – considered obsolete), or run a PowerShell script.
Contextchanges the context of the action by Change User (changing the user under which the action is taken), Create/Update Tokens, Inject Data (lets you add data (tokens) manually to the current execution context - considered obsolete), Load a specific User, or Load Users from SQL (via an SQL Query command).
Credential Storeallows you to add a credential store (a repository of security data, i.e., credentials) to the action; many credential stores are supported, from GitHub, UiPath and others. Please see here for a full list and supported parameters for each credential store.
Datasetup a data manipulation action, such as clearing a cached item, importing values from a list into a database table, executing a specified SQL query and others. Please see here for a full list and supported parameters for the Data manipulation section.
Documentsenables document manipulation; multiple actions are available, such as creating a CSV, a PDF, or an Excel file (along with other associated sub-actions) amongst others. Please see here for a full list and supported parameters for the Document manipulation section.
Dynamics (CRM, 365)allows you to run Microsoft Dynamics specific actions. Please see here for a full list and supported parameters Microsoft Dynamics actions.
Emailenables you to send an email under certain predefined conditions. Please see here for a full list of supported parameters for the email action.
Entitiesallows Reading actions on Documents, Images, Roles, and Users. Specific conditions can be defined, as well the output Token of the action.
File Managementas the name implies, allows for various actions on files and folders (copy, delete, rename, unpack, etc.). Please see here for a full list and supported parameters for the File Management section.
Flowexecute predefined actions, conditionally, asynchronously, repeatedly or stop the execution. Please see here for a full list and supported parameters for the Flow section.
Lists & Objectsallows for actions on Lists and Objects; various options are available, from creating a list from a JSON file, from an SQL query, and Excel file and other sources. You can also extend an object or a lists' properties, remap it and so on. Please see here for a full list and supported parameters for the Lists & Objects actions.
Logginghere you can set logging on a specific Event, Error, or a Debug message in the internal logs. Please see here for a full list and supported parameters for the Logging actions.
Messageenables you to send a message using the DNN Messaging system to a user, role or multiple users/roles. Please see here for a full list and supported parameters for the Message actions.
Outputtype of actions that will output result; available outputs are JSON (list or object), a file download based on your identifier or raw response (unformatted). Please see here for a full list and supported parameters for the Output actions.
Parsingallows you to parse and modify inputs (JSON, XML, HTML) into an output (Tokens, JSON, etc.); Regex (regular expressions - sequence of characters that specifies a search pattern) are also supported. Please see here for a full list and supported parameters for the Parsing actions.
Portal Managementallows for various actions (create, delete, update, load page/portal) on a DNN portal. Please see here for a full list and supported parameters for the Portal Management actions.
Redirectuse redirect (a forward from one URL address to a new one) actions; redirect to a Portal, URL or to a file download are available. Please see here for a full list and supported parameters for the Redirect actions.
Securitysecurity-specific actions (encryption, decryption) and Role’s setup for the specified portal (create, update, delete). Please see here for a full list and supported parameters for the Security actions.
Slackallows you to send a Slack message.
UiPathallows you to run a UiPath robot.
User Managementvarious actions relating to user management on a platform: authorize, create, change, register, etc. Please see here for a full list and supported parameters for the User Management actions.