SoftadminApi.Notification_EnqueueBatch

 Show all Hide all

Allows the creation of multiple notifications at once.

The procedure requires the temporary table:

CREATE TABLE #Notifications
(
	[UserId] int NOT NULL,
	[LoginLinkInstanceId] int NOT NULL,
	[Message] nvarchar(1000) NOT NULL,
	[SendPushNotifications] bit NOT NULL,
	[NotificationIdOut] uniqueidentifier NULL
);

NotificationIdOut will be set to the Id's of the new notifications by the procedure.

See SoftadminApi.Notification_Enqueue for further explaination of the other columns.

Type: Stored procedure
Area of use: API