SoftadminApi.Notification_Enqueue

Show allHide all
Type: Stored procedure

Parameters

@UserId mandatory int
The recipient.
@Message mandatory nvarchar
@LoginLinkInstanceId mandatory int
The link to follow when the user taps the notification.
@SendPushNotifications optional bit
If 1, attempts to send push notifications to all devices that the user has logged into the system from via the Softadmin® app. Defaults to 1.
@GroupId optional uniqueidentifier
The GroupId of the new notification. Can be used with SoftadminApi.Notification_DismissGroup.
@DismissExistingNotificationsInGroup optional bit
If 1, all existing notifications connected to the same UserId and GroupId will be deleted before the new notification is queued.
@NotificationIdOut mandatory uniqueidentifier
The ID of the new notification. Can be used with SoftadminApi.Notification_Dismiss.