<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>core_v2_emailDigest Script API</title><link>https://community.telligent.com/community/12/w/api-documentation/68547/core_5F00_v2_5F00_emaildigest-script-api</link><description>Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>core_v2_emailDigest Script API</title><link>https://community.telligent.com/community/12/w/api-documentation/68547/core_5F00_v2_5F00_emaildigest-script-api</link><pubDate>Fri, 15 Jan 2021 19:32:49 GMT</pubDate><guid isPermaLink="false">be2d672c-c2ff-4c4a-bfe2-e9127710885a</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/12/w/api-documentation/68547/core_5F00_v2_5F00_emaildigest-script-api#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 01/15/2021 19:32:49&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;div class="documentation"&gt;&lt;p&gt;Enables scripted content fragments to use email digest&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="#Create"&gt;Create&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Delete"&gt;Delete&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Get"&gt;Get&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#GetByGroup"&gt;GetByGroup&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#List"&gt;List&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#ListGroupSubscriptionsWithoutMembership"&gt;ListGroupSubscriptionsWithoutMembership&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="#Update"&gt;Update&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="documentation-members methods"&gt;&lt;h2&gt;Methods&lt;/h2&gt;&lt;a name="Create"&gt;&lt;/a&gt;&lt;h3&gt;Create&lt;/h3&gt;&lt;p&gt;Create a new email digest subscription&lt;/p&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($emailDigestSubscriptionResponse = $core_v2_emailDigest.Create($context, $contextId, $frequencyInDays))&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var emailDigestSubscriptionResponse = core_v2_emailDigest.Create(context, contextId, frequencyInDays);&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;context&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;String&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Context&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;group&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;contextId&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Id of context&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;frequencyInDays&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Frequency in days&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[EmailDigestSubscription Script API Type|EmailDigestSubscription]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="Delete"&gt;&lt;/a&gt;&lt;h3&gt;Delete&lt;/h3&gt;&lt;p&gt;Delete an email digest subscription&lt;/p&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($additionalInfoResponse = $core_v2_emailDigest.Delete($subscriptionId))&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var additionalInfoResponse = core_v2_emailDigest.Delete(subscriptionId);&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;subscriptionId&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Id of subscription&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[AdditionalInfo Script API Type|AdditionalInfo]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="Get"&gt;&lt;/a&gt;&lt;h3&gt;Get&lt;/h3&gt;&lt;p&gt;Get an email digest subscription&lt;/p&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($emailDigestSubscriptionResponse = $core_v2_emailDigest.Get($id))&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var emailDigestSubscriptionResponse = core_v2_emailDigest.Get(id);&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;id&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Id of the subscription&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[EmailDigestSubscription Script API Type|EmailDigestSubscription]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="GetByGroup"&gt;&lt;/a&gt;&lt;h3&gt;GetByGroup&lt;/h3&gt;&lt;p&gt;Get an email digest subscription for a group&lt;/p&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($emailDigestSubscriptionResponse = $core_v2_emailDigest.GetByGroup($groupId))&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var emailDigestSubscriptionResponse = core_v2_emailDigest.GetByGroup(groupId);&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;groupId&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Id of the group&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[EmailDigestSubscription Script API Type|EmailDigestSubscription]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="List"&gt;&lt;/a&gt;&lt;h3&gt;List&lt;/h3&gt;&lt;p&gt;List email digest subscriptions&lt;/p&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($pagedListResponse = $core_v2_emailDigest.List($pageIndex, $pageSize))&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var pagedListResponse = core_v2_emailDigest.List(pageIndex, pageSize);&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;pageIndex&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Specify the page number of paged results to return. Zero-based index.&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;0&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;pageSize&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Specify the number of results to return per page. &lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;20&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[PagedList Script API Type|PagedList]] of [[EmailDigestSubscription Script API Type|EmailDigestSubscription]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="ListGroupSubscriptionsWithoutMembership"&gt;&lt;/a&gt;&lt;h3&gt;ListGroupSubscriptionsWithoutMembership&lt;/h3&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($pagedListResponse = $core_v2_emailDigest.ListGroupSubscriptionsWithoutMembership($pageIndex, $pageSize))&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var pagedListResponse = core_v2_emailDigest.ListGroupSubscriptionsWithoutMembership(pageIndex, pageSize);&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;pageIndex&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Page Index&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;pageSize&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Page Size&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[PagedList Script API Type|PagedList]] of [[EmailDigestSubscription Script API Type|EmailDigestSubscription]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;a name="Update"&gt;&lt;/a&gt;&lt;h3&gt;Update&lt;/h3&gt;&lt;p&gt;Update an email digest subscription&lt;/p&gt;&lt;h4&gt;&lt;em&gt;Velocity&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: velocity"&gt;#set($emailDigestSubscriptionResponse = $core_v2_emailDigest.Update($subscriptionId, $frequencyInDays))&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;JavaScript&lt;/em&gt;&lt;/h4&gt;&lt;pre class="brush: javascript"&gt;var emailDigestSubscriptionResponse = core_v2_emailDigest.Update(subscriptionId, frequencyInDays);&lt;/pre&gt;&lt;h4&gt;&lt;em&gt;Parameters&lt;/em&gt;&lt;/h4&gt;&lt;table cellspacing="0" cellpadding="2" width="99%" class="WikiTable"&gt;&lt;thead&gt;&lt;tr class="WikiTableBgBlue"&gt;&lt;th&gt;Name&lt;/th&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;Description&lt;/th&gt;&lt;th&gt;Required&lt;/th&gt;&lt;th&gt;Default&lt;/th&gt;&lt;th&gt;Options&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;subscriptionId&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Id of subscription&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td rowspan="1"&gt;frequencyInDays&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;code&gt;Int32&lt;/code&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;Frequency of description&lt;/td&gt;&lt;td rowspan="1"&gt;Required&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;td rowspan="1"&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;h4&gt;&lt;em&gt;Returns&lt;/em&gt;&lt;/h4&gt;&lt;p&gt;&lt;div&gt;&lt;code&gt;[[EmailDigestSubscription Script API Type|EmailDigestSubscription]]&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>