Go to documentation repository
Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.
Previous page Next page
General request format
Note.
Create and configure the Web server object in order to use these requests – see Creating the Web-server object
http://[Intellect Server IP]:10112/intellect_core/React?command="[Intellect format command]"
http://[ Intellect Server IP]:10112/intellect_core/Event?command="[ Intellect format command]"
GET
http://{IP}:{port}/intellect_core/React?command="{react}"
http://{IP}:{port}/intellect_core/Event?command="{event}"
or (with the same result)
POST
/intellect_core/React HTTP/1.1 { "command" : "{react}" } /intellect_core/Event HTTP/1.1 { "command" : "{event}" }
where
IP is an Intellect Server IP
port is a HTTPS Server or HTTPS Server port set when configuring the Web server object – see Setting the parameters of connecting Clients to the Web-server
Request parameters
Parameter | Is required | Description |
---|---|---|
command | Yes | For React – a reaction in the Intellect format For Event – an event in the Intellect format |
Examples:
Add captions to video from camera 2 via HTTP request:
http://localhost:10112/intellect_core/React?command="CAM|2|ADD_SUBTITLES|command<Some text\n!>"
Generate alarm on camera 2 via HTTP request:
http://localhost:10112/intellect_core/Event?command="CAM|2|MD_START"
Run Macro 1 via HTTP request:
http://localhost:10112/intellect_core/React?command="MACRO|1|RUN"
When getting such commands, standard events and reactions will be generated in Intellect – they can be used in scripts and macros (see Creating and using macros section of Administrator’s Guide as well as Programming Guide (JScript)).