Alert Event
[
{
"header": {
"version": "1.0.0",
"tenant": "MWE",
"eventName": "mwe.resource.alert",
"action": "resource alert a",
"eventTime": {}
},
"resource": {
"id": "some form-of-resource-id",
"typeId": "DF",
"type": "Unassigned Tag",
"location": {
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": "[ 41.8781, // x (float) 87.6298, // y (float) 594.0 // z (float) ]"
}
},
"tags": [
{
"id": "20088",
"source": "WHERENET",
"tagStatus": "4"
}
],
"zones": [
{
"id": "guid",
"name": "Front Desk",
"zoneGroupName": "San Jose Office",
"siteId": "5aa6c3da58456d000159a55c",
"siteName": "kin-sanjose-site",
"mapId": "1"
}
],
"alert": {
"ruleName": "QATEST1",
"condition": "id==111222, type==qa6, zoneName==new zone 2, zoneSiteName==office_test_qa2",
"description": "The rule QATEST1 is open because the resource 111222 matched the following properties: Resource id: 111222, Resource Type: QA6, Zone name: NEW ZONE 2, Site name: office_test_Qa2"
},
"action": {
"email": [
{
"emailAddress": "abc@example.com"
}
]
}
}
}
]
No links
Schemas