Skip to main content

/api/executeEventAction

Answered

Comments

5 comments

  • Andrey Terentyev
    • Network Optix team

    Hello Marek,

    The method executeEventAction was published and became available by mistake. It should not be used. This is fixed in v4.1.

    Please, could you give explain your objective? What is the expected result?

    I would recommend you a solution.

    0
  • Marek Wieckowski

    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

    0
  • Nx Support

    Marek, in this case, you need to send Generic Event to the system and configure rules for that GenericĀ  Event to execute required actions.

    0
  • Marek Wieckowski

    Which HTTP api is the most suitable?

    0
  • Andrey Terentyev
    • Network Optix team

    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 API

    2. 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

    0

Please sign in to leave a comment.