API Documents///
- Update activation
Retrieve list of activations recursively under a folder
Retrieve list of activations in segment
Create activation
Retrieve activation by ID
Update activation
Delete activation
Run activation (legacy)
Retrieve list of activations in audience
Retrieve list of activations
Create activation
Retrieve list of activations
Delete activation
Run activation
Retrieve list of activations by parent segment
List of workflow project names
List of workflow names
Update activation
Update an activation.
- https://api-cdp.treasuredata.comhttps://api-cdp.treasuredata.com/entities/segments/{segmentId}/syndications/{id}
- https://api-cdp.treasuredata.co.jphttps://api-cdp.treasuredata.co.jp/entities/segments/{segmentId}/syndications/{id}
- https://api-cdp.eu01.treasuredata.comhttps://api-cdp.eu01.treasuredata.com/entities/segments/{segmentId}/syndications/{id}
- https://api-cdp.ap02.treasuredata.comhttps://api-cdp.ap02.treasuredata.com/entities/segments/{segmentId}/syndications/{id}
- https://api-cdp.ap03.treasuredata.comhttps://api-cdp.ap03.treasuredata.com/entities/segments/{segmentId}/syndications/{id}
curl -i -X PATCH \
'https://api-cdp.treasuredata.com/entities/segments/{segmentId}/syndications/{id}' \
-H 'Content-Type: application/vnd.treasuredata.v1+json' \
-d '{
"id": "string",
"type": "syndication",
"attributes": {
"name": "string",
"description": "string",
"allColumns": true,
"columns": [
{
"column": "alias_name",
"source": {
"column": "real_column_name"
}
}
],
"scheduleType": "daily",
"scheduleOption": "string",
"runAt": "string",
"cron": "string",
"timezone": "string",
"startAt": "string",
"endOn": "2019-08-24",
"repeatUnit": "none",
"repeatFrequency": 1,
"repeatSubFrequency": [
1,
5,
6
],
"connectionId": 0,
"connectorConfig": {},
"notifyOn": [
"onSuccess"
],
"emailRecipients": [
0
],
"activationTemplateId": "string",
"syndicationBehavior": {
"columns": [
{
"column": "alias_name",
"source": {
"column": "real_column_name"
}
}
],
"behaviorTableName": "purchase_history",
"joinRow": 3,
"joinStrategy": "Last",
"formatting": "rows",
"orderBy": [
{
"key": "purchased_at",
"order": "descending"
},
{
"key": "price",
"order": "ascending"
}
]
},
"syndicationBehaviors": [
{
"columns": [
{
"column": "alias_name",
"source": {
"column": "real_column_name"
}
}
],
"behaviorTableName": "purchase_history",
"joinRow": 3,
"joinStrategy": "Last",
"formatting": "rows",
"orderBy": [
{
"key": "purchased_at",
"order": "descending"
},
{
"key": "price",
"order": "ascending"
}
]
}
]
}
}'Response
{ "data": { "id": "string", "type": "syndication", "attributes": { … }, "relationships": { … } }, "included": [ { … } ] }