CreateNotification
Generates a new notification for users about specific events or updates.
Input
Name | Type | Required | Description |
Text | String | True | The content or message of the notification, describing the specific information that needs to be communicated to the user or system. |
UserId | String | True | The unique identifier for the user to whom the notification is being sent or associated with, typically referencing a user record in the system. |
TargetId | String | True | The unique identifier of the target object that the notification is directed towards, such as a specific project or post within the platform. |
TargetType | String | True | The type of the target object, which can either be a 'Project' or a 'Post', determining the context and scope of the notification.
The allowed values are Project, Post. |
Result Set Columns
Name | Type | Description |
Success | Boolean | A boolean value indicating the success of the operation. A value of true signifies that the notification was successfully sent or created, while false indicates failure. |
Details | String | A detailed message or log providing further context or reasons for success or failure of the operation, aiding in troubleshooting or reporting. |
NotificationId | String | The unique identifier for the notification that was created, used to track and reference the notification in the system. |