Update an activation
PUT/cdp/{connection_id}/activation/{id}
Parameters
fieldsstring array
Fields to return
rawstring
Raw parameters to include in the 3rd-party request. Encoded as a URL component. eg. raw parameters: foo=bar&zoo=bar -> raw=foo%3Dbar%26zoo%3Dbar
connection_idstring required
ID of the connection
idstring required
ID of the Activation
Payload
idstring
Unique identifier for this activation object
created_atdate
The date that this activation object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this activation object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The name of the activation/sync job
segment_idstring
The cdp_segment being activated; points to CdpSegment
destination_idstring
The cdp_destination the data is sent to; points to CdpDestination
source_idstring
The cdp_source the data originates from; points to CdpSource
schedulestring
The activation schedule or mode (eg. cron, interval, realtime, batch)
status enum
Valid values:
"ACTIVE"
"PAUSED"
"ERROR"
"PENDING"
The current status of the activation
last_run_atdate
When the activation last ran (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
is_enabledboolean
Whether the activation is active/enabled
Returns
idstring
Unique identifier for this activation object
created_atdate
The date that this activation object was created (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
updated_atdate
The last date that this activation object was updated (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
namestring
The name of the activation/sync job
segment_idstring
The cdp_segment being activated; points to CdpSegment
destination_idstring
The cdp_destination the data is sent to; points to CdpDestination
source_idstring
The cdp_source the data originates from; points to CdpSource
schedulestring
The activation schedule or mode (eg. cron, interval, realtime, batch)
status enum
Valid values:
"ACTIVE"
"PAUSED"
"ERROR"
"PENDING"
The current status of the activation
last_run_atdate
When the activation last ran (ISO-8601 / YYYY-MM-DDTHH:MM:SSZ format)
is_enabledboolean
Whether the activation is active/enabled
const options = {
method: 'PUT',
url: 'https://api.unified.to/cdp/5de520f96e439b002043d8dc/activation/5de520f96e439b002043d8d8',
headers: {
authorization: 'bearer .....'
},
data: undefined,
params: {
fields: '',
raw: '',
}
};
const results = await axios.request(options); Are we missing anything? Let us know