Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

General request format:

GET http://IP-address:port/web2/secure/configuration/{objectClass}:{id}/

Request parameters:

ParameterIs requiredDescription
ObjectClassYesObject class ID
idYesObject ID

Request example:

GET http://127.0.0.1:8085.com:[port]/web2/secure/configuration/GRAY:2/ - getting information on the Sensor object with id 2.

Sample of response:

<GRAY>

...

Response example:

Code Block
languagexml
<GRAY>
    <id>GRAY:2</id>

...


    <name>Gray 2</name>

...

    <state>

...


    <state>
        <id>alarmed</id>

...


    </state>

...


</GRAY>

Response parameters:

ParameterDescription
idObject ID in the format "TYPE:ID", for example "CAM:1"
nameObject name in Intellect
state idThe current state of the object