I think this might be helpful. This is the request payload from amcrest web interface that does work and change Record checkbox:
{
"method": "system.multicall",
"params": [
{
"method": "configManager.setConfig",
"params": {
"name": "MotionDetect",
"table": [
{
"Enable": true,
"EventHandler": {
"AlarmOut": 1,
"AlarmOutChannels": [0],
"AlarmOutEnable": true,
"AlarmOutLatch": 10,
"BeepEnable": false,
"Dejitter": 5,
"Delay": 0,
"ExAlarmOut": 1,
"ExAlarmOutChannels": [0],
"ExAlarmOutEnable": false,
"FlashEnable": false,
"FlashLatch": 10,
"LightingLink": {
"Enable": false,
"FilckerIntevalTime": 5,
"FilckerLightType": "WhiteLight",
"FilckerTimes": 5
},
"LogEnable": true,
"MailEnable": false,
"Matrix": 1,
"MatrixChannels": [0],
"MatrixEnable": false,
"MessageEnable": false,
"PtzLink": [["None", 0]],
"PtzLinkEnable": false,
"Record": 1,
"RecordChannels": [0],
"RecordEnable": true,
"RecordLatch": 10,
"Snapshot": 1,
"SnapshotChannels": [0],
"SnapshotEnable": false,
"SnapshotTimes": 3,
"TimeSection": [
[
"1 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59"
],
[
"1 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59"
],
[
"1 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59"
],
[
"1 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59"
],
[
"1 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59"
],
[
"1 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59"
],
[
"1 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59",
"0 00:00:00-23:59:59"
]
],
"TipEnable": false,
"Tour": 1,
"TourChannels": [0],
"TourEnable": false,
"VoiceEnable": false
},
"Level": 3,
"MotionDetectWindow": [
{
"Id": 0,
"Name": "Region1",
"Region": [
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303
],
"Sensitive": 60,
"Threshold": 5,
"Window": [0, 0, 8191, 8191]
},
{
"Id": 1,
"Name": "Region2",
"Region": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"Sensitive": 60,
"Threshold": 5,
"Window": [0, 0, 0, 0]
},
{
"Id": 2,
"Name": "Region3",
"Region": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"Sensitive": 60,
"Threshold": 5,
"Window": [0, 0, 0, 0]
},
{
"Id": 3,
"Name": "Region4",
"Region": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
],
"Sensitive": 60,
"Threshold": 5,
"Window": [0, 0, 0, 0]
}
],
"OsdTwinkleEnable": false,
"PirMotionLevel": 4,
"PtzManualEnable": true,
"Region": [
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303,
4194303
],
"DetectVersion": "V3.0"
}
],
"options": []
},
"id": 506,
"session": "c446af098f030b3c04e32b314c1e286e"
},
{
"method": "configManager.setConfig",
"params": { "name": "LeSmartTrack", "table": null, "options": [] },
"id": 507,
"session": "c446af098f030b3c04e32b314c1e286e"
}
],
"id": 508,
"session": "c446af098f030b3c04e32b314c1e286e"
}