Notification
Interface Function
send notification
Parameter Type
Parameter | Type | Remarks |
---|---|---|
DocumentId | String | Relative document ID |
SendUserId | String | Sender user ID |
SendUserName | String | Sender user name |
ReceiveUserId | String | Recipient user ID |
FormAlias | String | Form that the relative document belongs to |
NotificationType | int | 1:Reply directly, 2:Reply to the previous replies, 3:Display all message information by default |
Message | String | Message content |
Icon | String | Message icon |
IconColour | String | Icon color, RGB type, e.g.#D2691E |
Return Data Type
Reference return sample
Input Sample
{
"DocumentId": "7e51edc2-148e-4720-b1a7-694f407021f0",
"SendUserId": "",
"SendUserName": "DemoUser1",
"ReceiveUserId": "DemoUser2",
"FormAlias": "DemoFormAlias",
"NotificationType":1,
"Message": "Your content [Online Family Genealogy Information Provider] Information Security Program Citation will expire in 30 days.",
"Icon": "calendar",
"IconColour": "#eb8c00"
}
Return Sample
{
"StatusCode": 200,
"Info": "Request (or process) succeeded",
"Data": null
}