API Documents///
- Create 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
Retrieve list of activations
Update activation
Delete activation
Run activation
Retrieve list of activations by parent segment
List of workflow project names
List of workflow names
Create activation
Create an activation (formerly syndication).
- https://api-cdp.treasuredata.comhttps://api-cdp.treasuredata.com/entities/segments/{segmentId}/syndications
- https://api-cdp.treasuredata.co.jphttps://api-cdp.treasuredata.co.jp/entities/segments/{segmentId}/syndications
- https://api-cdp.eu01.treasuredata.comhttps://api-cdp.eu01.treasuredata.com/entities/segments/{segmentId}/syndications
- https://api-cdp.ap02.treasuredata.comhttps://api-cdp.ap02.treasuredata.com/entities/segments/{segmentId}/syndications
- https://api-cdp.ap03.treasuredata.comhttps://api-cdp.ap03.treasuredata.com/entities/segments/{segmentId}/syndications
curl -i -X POST \
'https://api-cdp.treasuredata.com/entities/segments/{segmentId}/syndications' \
-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": [ { … } ] }