How can we create an EmergencyEventTrigger subscription, as it has two properties of the same name ("type") which isn't correct JSON as I understand it.
{"type":"EmergencyEventTrigger","eventEntity":"WIRELESS_CLIENTS","type":"PANIC_BUTTON"}
The first is to indicate the type of event subscribed to,and the second is the typeof emergency to subscribe to.
Please try following JSON format.
{
"name": "test",
"notificationType": "EVENT_DRIVEN",
"dataFormat": "JSON",
"receiverInfo": {
"transport": {
"macScramblingEnabled": false,
"type": "TransportHttp",
"hostAddress": "172.19.x.x",
"port": "8080",
"https": false,
"urlPath": "/handler"
}
},
"subscribedEvents": [
{
"type": "EmergencyEventTrigger",
"eventEntity": "WIRELESS_CLIENTS",
"emergencyType": "PANIC_BUTTON"
}
]
}
Comments
0 comments
Please sign in to leave a comment.