Card Operation

Get Card Operation Capability

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/AccessControl/CardOperations/capabilities?format=json.

The capability is returned in the message JSON_CardOperationsCap by lpOutputParam.

Encrypt Specific Sections (M1 Card)

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/AccessControl/CardOperations/sectionEncryption?format=json and set lpInputParam to JSON_SectionEncryption.

Verify Section Password (M1 Card)

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/AccessControl/CardOperations/verification?format=json and set lpInputParam to JSON_Verification.

Change Control Block of Section (M1 Card)

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/AccessControl/CardOperations/controlBlock?format=json and set lpInputParam to JSON_ControlBlock.

Read or Write Block Data (M1 Card)
Read Block Data

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/AccessControl/CardOperations/dataBlock/<address>?format=json.

The block data is returned in the message JSON_DataBlock by lpOutputParam.

Write Block Data

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT/ISAPI/AccessControl/CardOperations/dataBlock/<address>?format=json and set lpInputParam to JSON_DataBlock.

Operate Data Block (M1 Card)

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/AccessControl/CardOperations/dataBlock/control?format=json and set lpInputParam to JSON_DataBlockCtrl

Set Operation Protocol Type of Card

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/AccessControl/CardOperations/protocol?format=json and set lpInputParam to JSON_CardProto.

Set CPU Card Parameters

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/AccessControl/CardOperations/cardParam?format=json and set lpInputParam to JSON_CardParam.

Reset CPU Card

Call NET_DVR_STDXMLConfig to transmit the request URI: GET /ISAPI/AccessControl/CardOperations/reset?format=json.

And the resetting result is returned in the message JSON_CardResetResponse by lpOutputParam.

Pass Through Data Package of CPU Card

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/AccessControl/CardOperations/dataTrans?format=json and set lpInputParam to JSON_DataTrans.

Encrypt CPU Card

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/AccessControl/CardOperations/encryption?format=json and set lpInputParam to JSON_CardEncryption.

Delete Data from Card

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/AccessControl/CardOperations/clearData?format=json and set lpInputParam to JSON_ClearData.

Set Custom Card Information

Call NET_DVR_STDXMLConfig to transmit the request URI: PUT /ISAPI/AccessControl/CardOperations/customData?format=json and set lpInputParam to JSON_CustomData.

Search for Custom Card Information

Call NET_DVR_STDXMLConfig to transmit the request URI: POST /ISAPI/AccessControl/CardOperations/customData/searchTask?format=json and set lpInputParam to JSON_CustomDataSearchCond.