CdpActivationTarget Class

Get, create, and update Data 360 activation targets.

ConnectApi

These methods are for CdpActivationTarget. All methods are static.

Create an activation target.

60.0

No

public static ConnectApi.ActivationTarget createActivationTarget(ConnectApi.ActivationTargetInput input)

input

Type: ConnectApi.ActivationTargetInput

Input details for the activation target.

Type: ConnectApi.ActivationTarget

Get an activation target by ID.

60.0

No

public static ConnectApi.ActivationTarget getActivationTarget(String activationTargetId)

activationTargetId

Type: String

ID of the activation target.

Type: ConnectApi.ActivationTarget

Get a list of activation targets.

60.0

No

public static ConnectApi.ActivationTargetCollection getActivationTargets()

Type: ConnectApi.ActivationTargetCollection

Get a paginated list of activation targets.

60.0

No

public static ConnectApi.ActivationTargetCollection getActivationTargetsPaginated(Integer batchSize, Integer offset, String orderBy, String filters)

batchSize

Type: Integer

Number of results to return. Values are from 1 through 200. For example, specify 20 to return 20 results.

offset

Type: Integer

Number of rows to skip before returning results. Must be greater than or equal to 0. For example, specify 0 to skip no rows.

orderBy

Type: String

Sort order for the result set. Results are ordered by creation date. Specify createddate to order results in ascending order. Specify createddate desc to order results in descending order.

filters

Type: String

Filter the result set to a more narrow scope or specific type. These filters are supported:

  • masterLabel - Matches the field name, which is a string that identifies the name of the activation target.
  • targetStatus - Matches the field status, which is an enum that indicates the status of the activation target. Values must match those listed in the status response field.
  • connectionType - Matches the field platformType, which is an enum that indicates the platform type of the activation target. Values must match those listed in the platformType response field.
  • platformName - Matches the field platformName, which is a string that indentifies the platform name of the activation target.

These are examples of filter specifications:

  • masterLabel in Target002
  • targetStatus in active
  • platformName in Customer Data Platform
  • targetStatus in active AND platformName in Amazon S3

Type: ConnectApi.ActivationTargetCollection

Update an activation target.

60.0

No

public static ConnectApi.ActivationTarget updateActivationTarget(String activationTargetId, ConnectApi.ActivationTargetInput input)

activationTargetId

Type: String

ID of the activation target.

input

Type: ConnectApi.ActivationTargetInput

Input details for the activation target.

Type: ConnectApi.ActivationTarget