MultiNotificationRequest
Message
↪ MultiNotificationRequest
Request for multiple notifications.
For some notifications you will have to subscribe to a specific object id, when so, fill in the oid field of the notification request, else leave empty or NULL.
Fields
Name | Type | Notes | |
---|---|---|---|
notifications |
notNull |
The collection of notification requests. |
Example
{
"messageType": "multiNotificationRequest",
"notifications":
[
{
"notificationType": "newExternalChatEvent",
"toggle": "true",
"oid": "{{chat}}"
},
{
"notificationType": "chatTypingEvent",
"toggle": "true",
"oid": "{{chat}}"
},
{
"notificationType": "chatHasBeenActivatedEvent",
"toggle": "true",
"oid": "{{chat}}"
},
{
"notificationType": "chatActiveUserHasBeenChangedEvent",
"toggle": "true",
"oid": "{{chat}}"
},
{
"notificationType": "chatHasBeenReadEvent",
"toggle": "true",
"oid": "{{chat}}"
},
{
"notificationType": "chatIsIdleEvent",
"toggle": "true",
"oid": "{{chat}}"
},
{
"notificationType": "chatHeartbeatEvent",
"toggle": "true",
"oid": "{{chat}}"
},
{
"notificationType": "chatHasBeenEndedEvent",
"toggle": "true",
"oid": "{{chat}}"
},
{
"notificationType": "chatNoAgentsAvailableEvent",
"toggle": "true",
"oid": "{{chat}}"
}
]
}