Skip to main content
POST
Create a display 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/displays request.

body

Choose between static or dynamic body. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use DisplayActionContext.

component_ids
string[]
component_references
object[]
enabled

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

headers

Choose between static or dynamic headers. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use DisplayActionContext.

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

Choose between static or dynamic response. Buildtime expressions use ControllerBuildtimeContext. Runtime expressions use DisplayActionResponseContext.

Response

Successful response

action_id
string
action_type
enum<string>
Available options:
DISPLAY
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
body

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

headers

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

response

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