Notification
接口功能
发送notification
参数类型
| 参数 | 类型 | 说明 |
|---|---|---|
| DocumentId | String | 相关documentId |
| SendUserId | String | 发送者的 userId |
| SendUserName | String | 发送者的 name |
| ReceiveUserId | String | 接受者的 userId |
| FormAlias | String | 相关document 所属的 form |
| NotificationType | int | 1:直接回复Form,有人评论了你, 2:Reply回复Form类型,有人回复了你, 3:默认显示全部Message信息 |
| Message | String | 消息内容 |
| Icon | String | 消息 ICON |
| IconColour | String | ICON颜色,RGB格式,如:#D2691E |
返回数据类型
参考返回示例
输入示例
{
"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"
}
返回示例
{
"StatusCode": 200,
"Info": "Request (or process) succeeded",
"Data": null
}