Skip to main content
PUT
Update an event trigger
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
triggerId
string
required

Body

application/json

Body of a PUT /v2/campaigns/{campaignId}{version:(/version/.+)?}/controllers/{controllerId}/triggers/events/{triggerId} request.

component_ids
string[]
component_references
object[]
enabled

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

event_names

Choose between static or dynamic event names. Buildtime expressions use ControllerBuildtimeContext.

event_type

Choose between static or dynamic event type. Buildtime expressions use ControllerBuildtimeContext.

Available options:
ASSET,
DATA_INTELLIGENCE,
DISPLACED,
DISPLACED_BY,
FORWARDED,
IDENTIFIED,
INPUT,
INTERNAL,
LEGACY_CONSUMER_EVENT,
MESSAGE,
MESSAGE_NOT_DELIVERED,
REFERRED,
REFERRED_BY,
SCHEDULED,
SHARE,
SHAREABLE,
STEP
negated

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

parent_trigger_group_name

Choose between static or dynamic parent trigger group name. Buildtime expressions use ControllerBuildtimeContext.

trigger_description

Choose between static or dynamic trigger description. Buildtime expressions use ControllerBuildtimeContext.

trigger_name

Choose between static or dynamic trigger name. Buildtime expressions use ControllerBuildtimeContext.

trigger_phase

Choose between static or dynamic trigger phase. Buildtime expressions use ControllerBuildtimeContext.

Available options:
MATCHING,
QUALIFYING,
QUALITY

Response

Successful response

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.

negated

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

parent_trigger_group_name

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

trigger_description

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

trigger_id
string
trigger_name

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

trigger_phase

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

Available options:
MATCHING,
QUALIFYING,
QUALITY
trigger_type
enum<string>
Available options:
EVENT
event_names

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

event_type

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

Available options:
ASSET,
DATA_INTELLIGENCE,
DISPLACED,
DISPLACED_BY,
FORWARDED,
IDENTIFIED,
INPUT,
INTERNAL,
LEGACY_CONSUMER_EVENT,
MESSAGE,
MESSAGE_NOT_DELIVERED,
REFERRED,
REFERRED_BY,
SCHEDULED,
SHARE,
SHAREABLE,
STEP