Set
Function
This API is used to set Thermal > Measurement Rule page
Request Message
Parameter Description
See Thermal > Measurement Rule > Response Message >Parameter Description > Table 2 Get Parameter description.
Sample:
POST /API/Thermal/Setup/MeasurementRules/Set HTTP/1.1
{
"version": "1.0",
"data": {
"channel_info": {"CH2": {
"status": "Online",
"id_info": [{
"id_switch": true,
"Id": 1,
"rule_name": "1",
"emissivity": 0.98,
"target_distance": 1,
"reflective_temp": 25,
"alarm_temp": 100,
"alarm_rules": "Above Average Temp",
"duration_time": 3,
"tolerance_temp": 3,
"rule_info": {
"rule_point": {
"x": 245,
"y": 336
},
"rule_type": "Point"
}
}],
"chn_index": "CH2"
}},
"page_type": "ChannelConfig"
}
}
Response Message
none
Sample:
HTTP/1.1 200 OK
Content-Type: application/json
{
"result": "success",
"data": {}
}
Error Code
See Response message body and general error_code for more information.