{
"deviceId": "string",
"type": 0,
"openStatus": 0,
"deviceEndConfigBean": {
"mode": 0,
"alarmRuleType": 0,
"regionAlarmDirect": 0,
"ruleRegion": [
{
"X": 0,
"Y": 0
}
],
"lineAlarmDirect": 0,
"ruleLie": [
{
"X": 0,
"Y": 0
}
],
"sensitivityType": 0,
"alarmInterval": 0,
"trackBoxStatus": 0,
"showRuleStatus": 0,
"cycleType": 0,
"taskTimeBeans": [
{
"weekNum": 0,
"times": [
"string"
]
}
],
"deviceAlarmSound": 0,
"deviceAlarmSoundInterval": 0,
"deviceAlarmSoundType": "WARN_VOICE_TIP_7",
"deviceAlarmSoundSize": 0
}
}curl --location --request POST 'https://bcloud.jftechws.com/openApi/device/algorithm/capability/configDeviceAlgorithm' \
--header 'Content-Type: application/json' \
--data-raw '{
"deviceId": "string",
"type": 0,
"openStatus": 0,
"deviceEndConfigBean": {
"mode": 0,
"alarmRuleType": 0,
"regionAlarmDirect": 0,
"ruleRegion": [
{
"X": 0,
"Y": 0
}
],
"lineAlarmDirect": 0,
"ruleLie": [
{
"X": 0,
"Y": 0
}
],
"sensitivityType": 0,
"alarmInterval": 0,
"trackBoxStatus": 0,
"showRuleStatus": 0,
"cycleType": 0,
"taskTimeBeans": [
{
"weekNum": 0,
"times": [
"string"
]
}
],
"deviceAlarmSound": 0,
"deviceAlarmSoundInterval": 0,
"deviceAlarmSoundType": "WARN_VOICE_TIP_7",
"deviceAlarmSoundSize": 0
}
}'{
"success": false,
"msg": "",
"code": "",
"model": false,
"attributes": ""
}