Action Template
Manage the templates that define actions.
List action templates you can choose from
Returns the action templates available for selection when building activities, with their parameters. Templates that are not available for selection are left out. Returns an empty array when there are none.
Create a template from an action step
Creates a new user-defined action template from an existing action step and returns it. The template is named after the step (or after the step's own template when the step has no name) and copies the description, definition, icon and parameters from the step's template. A parameter that has a value on the step becomes optional, with that value as its default. The classification is not copied, so the new template has classification 0 (PreSession).
Get one action template parameter by its ID
Returns a single action template parameter, such as its name, type, whether it is required and its default value. The ID in the path is matched against the parameter's own ID, not the template's; to list all parameters of a template, get the template and read its actionTemplateParameter array.
List user-defined action templates
Returns the action templates that users created, with optional paging. Returns an empty array when there are none.
Delete an action template
Deletes the action template with the given ID and its parameters. If the template is one half of a start/end pair, the paired template is deleted too.
Get an action template
Returns one action template, including its parameters. Use it to see which values an action built from the template needs.
Update an action template
Updates the action template's own settings, such as its name, description, definition and icon, with the values you send. The template is found by the id in the body, and the display name must be unique among templates. Parameters are not changed by this call.