Before implementing different applications, such as zone management, system status monitoring, functional key configuration, and so on, you should enable the functions via the system configuration by calling API to transmit the request URIs with messages.
Function |
Description |
---|---|
Get Security Control System's Configuration Capability |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/systemManage/capabilities?format=json, and the capability is returned in the message JSON_ManageCap by lpOutputParam. |
Get Security Control System Parameters |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/systemManage?format=json, and the system configuration parameters are returned in the message JSON_Manage by lpOutputParam. |
Set Security Control System Parameters |
Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/SecurityCP/Configuration/systemManage?format=json, and set lpInputParam to the message JSON_Manage. |
Function |
Description |
---|---|
Get Security Control Panel's Capability |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/capabilities?format=json, and the capability is returned in the message JSON_SecurityCPCap by lpOutputParam. |
Get Security Control Panel's Configuration Capability |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/capabilities?format=json, and the configuration capability is returned in the message of JSON_HostConfigCap by lpOutputParam. |
Function |
Description |
---|---|
Get Configuration Capability of Audio Input and Output |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/BasicParam/audioInOutCfg/capabilities. The configuration capability is returned in the message XML_Cap_AudioInOutCfg by lpOutputParam. |
Get Audio Input and Output Parameters |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/BasicParam/audioInOutCfg. The parameters are returned in the message XML_AudioInOutCfg by lpOutputParam. |
Set Audio Input and Output Parameters |
Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/SecurityCP/BasicParam/audioInOutCfg and set lpInputParam to the message XML_AudioInOutCfg. |
To check whether the device supports configuring audio input and output parameters, you can call NET_DVR_GetSTDAbility and set dwAbilityType to "NET_DVR_GET_EMERGENCE_ALARM_PRODUCT_CAP" (macro definition value: 2212) for getting the capability of the one-touch panic alarm product.
The capability is returned in the message XML_EmergencyAlarmProductCap by lpOutBuffer of structure NET_DVR_STD_ABILITY. If this function is supported, the node <audioInOutCfg> will be returned and its value is true.
Function |
Description |
|
---|---|---|
Delete Audio File |
Call NET_DVR_STDXMLConfig to transmit the request URL: DELETE /ISAPI/SecurityCP/Control/audioFile/name=. Note:
To check whether the device supports deleting the audio file, you can call NET_DVR_GetSTDAbility and set dwAbilityType to "NET_DVR_GET_EMERGENCE_ALARM_PRODUCT_CAP" (macro definition value: 2212) for getting the capability of the one-touch panic alarm product. The capability is returned in the message XML_EmergencyAlarmProductCap by lpOutBuffer of the structure NET_DVR_STD_ABILITY. If this function is supported, the node <deleteAudioFile> will be returned and its value is true. |
|
Get Audio File List |
Get Capability of Getting Audio File List |
Call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/SecurityCP/BasicParam/audioFileList/capabilities. The capability is returned in the message XML_Cap_AudioFileList by the output parameter lpOutputParam. Note:
To check whether the device supports getting the audio file list, you can call NET_DVR_GetSTDAbility and set dwAbilityType to "NET_DVR_GET_EMERGENCE_ALARM_PRODUCT_CAP" (macro definition value: 2212) for getting the capability of the one-touch panic alarm product. The capability is returned in the message XML_EmergencyAlarmProductCap by lpOutBuffer of the structure NET_DVR_STD_ABILITY. If this function is supported, the node <getAudioFileListByType> will be returned and its value is true. |
Get Audio File List |
Call NET_DVR_STDXMLConfig to transmit the request URL: GET /ISAPI/SecurityCP/BasicParam/audioFileList/type=. The audio file list is returned in the message XML_AudioFileList by the output parameter lpOutputParam. |
Function |
Description |
---|---|
Get Muting Schedule Configuration Capability |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/muteVoicePlanCFG/capabilities?format=json. The capability is returned in the message JSON_Cap_MuteVoicePlanCFG by lpOutputParam. |
Get Muting Schedule Parameters |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/Configuration/muteVoicePlanCFG?format=json. The parameters are returned in the message JSON_MuteVoicePlanCFG by lpOutputParam. |
Set Muting Schedule Parameters |
Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/SecurityCP/Configuration/muteVoicePlanCFG?format=json and set lpInputParam to the message JSON_MuteVoicePlanCFG. |
Function |
Description |
---|---|
Get Voice Prompt Configuration Capability |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/voicePrompt/capabilities?format=json. The capability is returned in the message JSON_Cap_voicePromptCfg by lpOutputParam. |
Get Voice Prompt Parameters |
Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/SecurityCP/voicePrompt?format=json. The parameters are returned in the message JSON_voicePromptCfg by lpOutputParam. |
Set Voice Prompt Parameters |
Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/SecurityCP/voicePrompt?format=json and set lpInputParam to the message JSON_voicePromptCfg. |
Upload Audio File of Custom Voice Prompt |
Call NET_DVR_STDXMLConfig to transmit the request URI: POST /ISAPI/SecurityCP/videoBroadcast/customizeUpload?format=json and set lpInputParam to the parameter cycleTimes if needed. |