Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page Next page


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Current »

General request format:

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

Request parameters:

Parameter

Is required

Description

objectClassYesObject class ID
idYesObject ID

Request example:

http://127.0.0.1:8085/web2/secure/configuration/GRAY:2/state/

Response example:

<GRAY>
    <id>GRAY:2</id>
    <name>Gray 2</name>
    <state>
        <id>alarmed</id>
    </state>
</GRAY>

Response parameters:

Parameter

Description

fullState

Full object state as stored in the database

idObject state in terms of HTTP API
typeObject state in terms of HTTP API

Possible values of fullState parameter for a sensor are as follows:

Sensor statefullState in web requestdbo.state
Armed + ClosedON,ARMEDON|ARMED
Armed + Closed+ AlarmON,ALARMEDON|ALARMED
Armed + Closed+ Alarm confirmedON,CONFIRMEDON|CONFIRMED
Armed + Closed+ Connection lostON,DETACHED_DISARMON|DETACHED_DISARM
Disarmed + ClosedON,DISARMEDON|DISARMED
Disarmed + Closed+ AlarmON,ALARMEDON|ALARMED
Disarmed + Closed+ Alarm confirmedON,CONFIRMEDON|CONFIRMED
Disarmed + Closed+ Connection lostON,DETACHED_DISARMON|DETACHED_DISARM
Armed + OpenedARMED,OFFARMED|OFF
Armed + Opened+ AlarmOFF,ALARMEDOFF|ALARMED
Armed + Opened+ Alarm confirmedOFF,CONFIRMEDOFF|CONFIRMED
Armed + Opened+ Connection lostDETACHED_DISARM,OFFDETACHED_DISARM|OFF
Disarmed + OpenedDISARMED,OFFDISARMED|OFF
Disarmed + Opened+ AlarmOFF,ALARMEDOFF|ALARMED
Disarmed + Opened+ Alarm confirmedOFF,CONFIRMEDOFF|CONFIRMED
Disarmed + Opened+ Connection lostDETACHED_DISARM,OFFDETACHED_DISARM|OFF
  • No labels