Creates a new Notification Type Action

Namespace: DotNetNuke.Services.Social.Notifications.Data
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
int AddNotificationTypeAction(
	int notificationTypeId,
	string nameResourceKey,
	string descriptionResourceKey,
	string confirmResourceKey,
	string apiCall,
	int createdByUserId
)
Visual Basic
Function AddNotificationTypeAction ( 
	notificationTypeId As Integer,
	nameResourceKey As String,
	descriptionResourceKey As String,
	confirmResourceKey As String,
	apiCall As String,
	createdByUserId As Integer
) As Integer

Parameters

notificationTypeId
Type: System..::..Int32
Id of the Notification Type to which the Notification Type Action is associated
nameResourceKey
Type: System..::..String
Resource key used to get the localized name of the Notification Type Action
descriptionResourceKey
Type: System..::..String
Resource key used to get the localized description of the Notification Type Action
confirmResourceKey
Type: System..::..String
Resource key used to get the localized confirm text of the Notification Type Action
apiCall
Type: System..::..String
Relative url to the api that has to be call when selection the Notification Type Action
createdByUserId
Type: System..::..Int32
Id of the user that created the Notification Type Action

Return Value

The created Notification Type Action

See Also