This service is available via Telligent.Evolution.Extensibility.Apis.Get<Telligent.Evolution.Extensibility.Api.Version1.IEmailDigestSubscriptions>()
and is defined in Telligent.Evolution.Platform.dll
Methods
EmailDigestSubscription Create(string context, int contextId, int frequencyInDays);
Create a new email digest subscription
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
context | string | Context | Required | group | |
contextId | int | Id of context | Required | ||
frequencyInDays | int | Frequency in days | Required |
Return Type
AdditionalInfo Delete(int subscriptionId);
Delete an email digest subscription
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
subscriptionId | int | Id of subscription | Required |
Return Type
EmailDigestSubscription Get(int id);
Get an email digest subscription
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
id | int | Id of the subscription | Required |
Return Type
EmailDigestSubscription GetByGroup(int groupId);
Get an email digest subscription for a group
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
groupId | int | Id of the group | Required |
Return Type
PagedList<EmailDigestSubscription> List(int pageIndex, int pageSize);
List email digest subscriptions
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
pageIndex | int | Specify the page number of paged results to return. Zero-based index. | Required | 0 | |
pageSize | int | Specify the number of results to return per page. | Required | 20 |
Return Type
PagedList<EmailDigestSubscription>
EmailDigestSubscription Update(int subscriptionId, int frequencyInDays);
Update an email digest subscription
Parameters
Name | Type | Description | Required | Default | Options |
---|---|---|---|---|---|
subscriptionId | int | Id of subscription | Required | ||
frequencyInDays | int | Frequency of description | Required |