WallboardEvent

Notification Object
      ↪ WallboardEvent


Notification when wallboard information is changed.

Subscribing

Give the wallboard (phone line) object oid when subscribing to this event.

How to process

Wallboard events are sended when statistics are changed on a wallboard.
This will happen when calls are incoming, answered or hung up.
The updated statistics are sended with this event, it is no needed to fetch the new statistics in a seperate API call.
It’s recommended to refresh the wallboard when this event occurs.

Fields

Name Type Notes

name

String

the name of the wallboard

id

String

The id of the wallboard

accumulatedStatistics

[Wallboard Entry Value]

The values of the entries

agentsStatistics

[Wallboard Agent Statistics]

the agent information

Example

{
    "notificationType": "wallboardEvent",
    "oid": "1651226",
    "notification": {
        "name": "Telefoonaansluiting Wesley",
        "id": "1651226",
        "accumulatedStatistics": [
            {
                "id": "WAITING_CALLS",
                "value": 1
            },
            {
                "id": "LONGEST_WAITING",
                "value": 0
            },
            {
                "id": "TOTAL_CALLS_INCOMING",
                "value": 1
            },
            {
                "id": "MISSED_CALLS",
                "value": 0
            }
        ],
        "agentsStatistics": [
            {
                "id": "wes",
                "name": "Wesley",
                "addressableOid": "1650975",
                "status": "available",
                "busy": false,
                "totalCallDuration": 3793,
                "numCalls": 1,
                "totalInboundCallDuration": 3793,
                "numInboundCalls": 1,
                "totalOutboundCallDuration": 0,
                "numOutboundCalls": 0,
                "averageCallTime": 3,
                "activeCalls": 0,
                "connected": true
            }
        ]
    },
    "messageType": "notification"
}