Event rules with Rest API v5.0.
AnsweredI'm trying to /ec2/getEventRules with the new Rest API. Where should I look?
0
-
"eventCondition": "{\"caption\":\"Line Crossing\",\"description\":\"_parking_gates_closed\",\"eventTimestampUsec\":\"0\",\"eventType\":\"undefinedEvent\",\"inputPortId\":\"0ee6fcf3-624d-45f1-a036-bb5e92718cb5\",\"metadata\":{\"allUsers\":true,\"level\":\"0\"},\"omitDbLogging\":false,\"reasonCode\":\"none\"}","eventResourceIds": [],"eventState": "Undefined","eventType": "softwareTriggerEvent","id": "{0e92b95e-0849-4af4-a40c-2471fd1be8a8}","schedule": "","system": false},{"actionParams": "{\"allUsers\":false,\"authType\":\"authBasicAndDigest\",\"durationMs\":5000,\"forced\":true,\"fps\":10,\"needConfirmation\":false,\"playToClient\":true,\"recordAfter\":0,\"recordBeforeMs\":1000,\"streamQuality\":\"highest\",\"useSource\":false}","actionResourceIds": ["{00000000-0000-0000-0000-100000000000}"],"actionType": "sendMailAction","aggregationPeriod": 21600,"comment": "","disabled": true,0
-
Is this only available in the Legacy System API?
0 -
Hello,
In v5.0 the /ec2/getEventRules is available by the same name and path.
Its documentation is placed in the System API section of the documentation in the Web interface.
Please, see the screenshot attached.
0
Please sign in to leave a comment.
Comments
3 comments