Set
Function
This API is used to set Access Control > Wiegand Settings parameters.
Request Message
See AccessControl > WiegandSettings > Range > Parameter Description > Table 2 for parameter description.
Sample:
POST /API/AccessControl/WiegandSettings/Set HTTP/1.1
{
"version": "1.0",
"data": {"channel_info": {"CH1": {
"enable_wiegand": true,
"wiegand_direction": "Input",
"chn_index": "CH1"
}}}
}
Response Message
None.
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": "success",
"data": {}
}
Error Code
See Response Messages Body and Common error_code for more information.