NotificationList
Interface Function
Query the notification list for the specified user.
Parameter Type
Parameter | Type | Remarks |
---|---|---|
ReceivedUserId | String | Receiver UserId |
Index | Int | Page Index |
Size | Int | Page Size |
Return Data Type
List<SaveCommentsNotificationField>
SaveCommentsNotificationField:
Parameter | Type | Remarks |
---|---|---|
_id | string | |
CreatorName | string | Creator Name |
CreateDate | DateTime | Create Date |
CreatorId | string | Deprecated |
CreatorUserId | string | |
ReceiveUserId | string | |
Message | string | The message body |
NotificationStatus | int | 0 unread 1 read 2 delete |
NotificationType | int | 0 Reply directly to the Form type 1 Reply Reply to the Form type 2 Directly display all Message information by default |
IsNotification | int | 0 not viewed 1 viewed |
DataLink | string | The Document Link |
TenantId | string | |
AppCode | string | |
Env | string | |
Avatar | string | |
CommentId | string | Obsolete |
Icon | string | |
IconColour | string |
Input Sample
{
"ReceiveUserId": "b7528057-22e8-4c96-a4cc-8b1e91feb90b",
"Index":10,
"Size":10
}
Return Sample
{
"StatusCode": 200,
"Info": "Request (or process) succeeded",
"Data": [
{
"_id": "a8ac5f8ce1434453914e71fa006211f8",
"CreatorName": "DemoUser",
"CreateDate": "2018-09-19T12:45:11.43Z",
"CreatorId": null,
"CreatorUserId": "f78e31e8-b3f6-478c-a98c-7438185416c8",
"ReceiveUserId": "b7528057-22e8-4c96-a4cc-8b1e91feb90b",
"Message": "<p>Your content DemoUser has been shared as of your instruction.</p>",
"NotificationStatus": 0,
"NotificationType": 2,
"IsNotification": 1,
"DataLink": "https://digitalmaker.com/DemoTenant/DemoApp/vForm/DemoFormAlias/preview/b22fac0dc2864387bbf604a440db3a48",
"TenantId": "DemoTenant",
"AppCode": "DemoApp",
"Env": "Prod",
"Avatar": null,
"CommentId": null,
"Icon": "share-variant",
"IconColour": "#006652"
},
{
"_id": "dc793fc8d9284ef8975868eaa0617ffc",
"CreatorName": "DemoUser",
"CreateDate": "2018-09-19T12:42:37.271Z",
"CreatorId": null,
"CreatorUserId": "f78e31e8-b3f6-478c-a98c-7438185416c8",
"ReceiveUserId": "b7528057-22e8-4c96-a4cc-8b1e91feb90b",
"Message": "<p>Your content DemoUser has been shared as of your instruction.</p>",
"NotificationStatus": 0,
"NotificationType": 2,
"IsNotification": 1,
"DataLink": "https://digitalmaker.com/DemoTenant/DemoApp/vForm/DemoFormAlias/preview/fd2e2548886c4434a46b546845719d55",
"TenantId": "DemoTenant",
"AppCode": "DemoApp",
"Env": "Prod",
"Avatar": null,
"CommentId": null,
"Icon": "share-variant",
"IconColour": "#006652"
}
]
}