Skip to main content
POST
Create an expression action
EXPERT. This operation is in the Feature Building Blocks APIs. Read that page before you use it.

Authorizations

Authorization
string
header
required

Path Parameters

campaignId
string
required
controllerId
string
required

Body

application/json

Body of a POST /v2/campaigns/{campaignId}{version:(/version/.+)?}/controllers/{controllerId}/actions/expressions request.

component_ids
string[]
component_references
object[]
data
object
enabled

Choose between static or dynamic enabled. Buildtime expressions use ControllerBuildtimeContext.

expression

Choose between static or dynamic expression. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use ExpressionActionCommandContext.

quality
enum<string>
Available options:
ALWAYS,
HIGH,
LOW

Response

Successful response

action_id
string
action_type
enum<string>
Available options:
EXPRESSION
component_ids
string[]
component_references
object[]
enabled

The enabled as configured: a literal value, or an expression (type:string) when defined dynamically. Buildtime expressions use ControllerBuildtimeContext.

quality
enum<string>
Available options:
ALWAYS,
HIGH,
LOW
data
object
expression

The expression as configured: a literal value, or an expression (type:string) when defined dynamically. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use ExpressionActionCommandContext.