/api/executeEventAction
AnsweredHi, we are trying to execute the "CameraRecordingAction" with the following request:
In return we get the following error messages:
error: '2', error string: 'Invalid json object.'.
Are we missing some parameters or is there a mistake in the above request?
Thanks in advance.
-
Hi Andrey,
Thanks for your response.
We are developing an integration to the Nx Witness VMS. We want to be able to trigger/execute events/actions/rules from the integration on the VMS. We are interested in triggering a rule, enabling camera overlay and start recording on camera. What are the best HTTP api calls to achieve that?
Thanks in advance
-
Hi Marek,
There general schema is
1. Create an Event Rule for "Generic Event" to perform "Do HTTP Request" action.
- You can configure the rule via Nx Desktop client. Please, read built-in help.
- You can create the rule via calling
saveEventRule
API2. Trigger "Generic Event" via api/createEvent
Here is a post worth reading, which describes the scenario in greater detail.
https://support.networkoptix.com/hc/en-us/community/posts/360042988034/comments/360011183593
Please sign in to leave a comment.
Comments
5 comments