Skip to content

Instantly share code, notes, and snippets.

@boomtrain-support
Created August 31, 2015 16:53
Show Gist options
  • Save boomtrain-support/ce7852c9d35eaf94d793 to your computer and use it in GitHub Desktop.
Save boomtrain-support/ce7852c9d35eaf94d793 to your computer and use it in GitHub Desktop.
GET /notifications/:id - Retrieve details about a single Campaign.
{
active: {true or false},
app: "{app_id}",
emailData: {
from: '{The From: Address Information}',
layout: '{A JSON array with the body of the email}',
subject: '{The Subject of the email}'
},
exclude: {
resources: '{A JSON array of resources to exclude from Recommendation Blocks}'
},
id: '{ID of the Campaign}',
immediate: {true or false},
name: '{Name of the Campaign}',
priority: {1 or 2},
queued: ,
schedule: {
daysOfWeek: '{A JSON array of the days of the week to send the email}',
interval: '{The number of days between each send}'
timeWindow: '{The start and end times for sending the email displayed in the UTC timezone}'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment