Search Results for

    Show / Hide Table of Contents

    Interface INotificationService

    Get and trigger notification events.

    Namespace: DirectScale.Disco.Extension.Services
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public interface INotificationService

    Methods

    GetNotificationEvents(DateTime, DateTime, Int32)

    Gets events that have occurred for associateId between beginDate and endDate.

    Declaration
    Task<NotificationEvent[]> GetNotificationEvents(DateTime beginDate, DateTime endDate, int associateId)
    Parameters
    Type Name Description
    System.DateTime beginDate

    Date range bein.

    System.DateTime endDate

    Date range end.

    System.Int32 associateId

    Associate.

    Returns
    Type Description
    System.Threading.Tasks.Task<NotificationEvent[]>

    Events that occurred for associate in specified date range.

    LogNotificationEvent(NotificationEvent)

    Log a new event that has occurred for an associate.

    Declaration
    Task LogNotificationEvent(NotificationEvent notification)
    Parameters
    Type Name Description
    NotificationEvent notification

    The details of the event that occurred.

    Returns
    Type Description
    System.Threading.Tasks.Task
    Remarks

    Depending on additional settings, emails, texts, and backoffice notifications may occur for this associate and their enroller.

    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX