Different integration methods, i.e., calling API with command and calling API to transmit request URI with messages, are provided to get the status of security control panels, peripherals, zones, partitions, storage battery, and communication.
Function |
Description |
---|---|
Get Capability of Getting Security Control Panels' Status |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/capabilities?format=json, the capability is returned the message of JSON_HostStatusCap by lpOutputParam. |
Get All Statuses of Security Control Panel |
Call NET_DVR_GetDVRConfig with the command of "NET_DVR_GET_ALARMHOST_MAIN_STATUS_V51" (command No.: 2083), and all statuses of the security control panel are returned in the output parameter (lpOutBuffer) by the structure of NET_DVR_ALARMHOST_MAIN_STATUS_V51. |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/host?format=json, and all statuses of the security control panel are returned in the message of JSON_AlarmHostStatus by the output parameter lpOutputParam. |
|
Get Status of Security Control Panel Itself |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/hostItself?format=json, and the status information is returned in the message JSON_HostStatus by lpOutputParam. |
Get Peripherals' Status |
Call NET_DVR_GetDVRConfig with the command of "NET_DVR_GET_ALARMHOST_OTHER_STATUS_V51" (command No.: 2236), the status of all peripherals is returned in the output parameter (lpOutBuffer) by the structure of NET_DVR_ALARMHOST_OTHER_STATUS_V51. |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/exDevStatus?format=json, the status of all peripherals is returned in the message of JSON_ExDevStatus by lpOutputParam. |
|
Get Zones' Status |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/zones?format=json, the status of all zones is returned in the message of JSON_ZoneList by lpOutputParam. |
Get Zones' Status by Specific Conditions |
Call NET_DVR_STDXMLConfig to transmit the request URI: POST /ISAPI/SecurityCP/status/zones?format=json and set the input buffer (lpInBuffer) of the input parameter (lpInputParam) to the message JSON_ZoneCond. |
Get Partitions' Status |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/subSystems?format=json, the status of all partitions is returned in the message of JSON_SubSysList by lpOutputParam. |
Get Storage Battery's Voltage Status |
Call NET_DVR_GetBatteryVoltage, the battery voltage status is returned by the parameter pVoltage. |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/batteries?format=json, the battery voltage status is returned in the message of JSON_BatteryList by lpOutputParam. |
|
Get AC Power Supply Status |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/acPowerStatus?format=json, and the status information is returned in the message JSON_ACPowerStatus by lpOutputParam. |
Get Communication Status |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/communication?format=json, the communication status is returned in the message of JSON_CommuniStatus by lpOutputParam. |
Get Output Module Status |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/outputModStatus?format=json. And the parameters are returned in the message JSON_OutputModList by the output buffer (lpOutBuffer) of the output parameter (lpOutputParam). |
Get Relay Status by Specific Conditions |
Call NET_DVR_STDXMLConfig to transmit the request URI: POST /ISAPI/SecurityCP/status/outputStatus?format=json and set the input buffer (lpInBuffer) of the input parameter (lpInputParam) to the message JSON_OutputCond. |
Get Siren Status |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/sirenStatus?format=json. And the parameters are returned in the message JSON_SirenList by the output buffer (lpOutBuffer) of the output parameter (lpOutputParam). |
Get Repeater Status |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/repeaterStatus?format=json. And the parameters are returned in the message JSON_RepeaterList by the output buffer (lpOutBuffer) of the output parameter (lpOutputParam). |
Get Card Reader Status |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/cardReaderStatus?format=json. And the parameters are returned in the message JSON_CardReaderList by the output buffer (lpOutBuffer) of the output parameter (lpOutputParam). |
Get Extension Module Status |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/extensionModuleStatus?format=json. And the parameters are returned in the message JSON_ExtensionList by the output buffer (lpOutBuffer) of the output parameter (lpOutputParam). |
Get Keypad Status |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/status/keypadStatus?format=json. And the parameters are returned in the message JSON_KeypadList by the output buffer (lpOutBuffer) of the output parameter (lpOutputParam). |