WISE-4000 User Manual 122
JSON array name definition:
PATCH
Single/Multiple Channel Request:
PATCH /di_value/slot_index
Single Channel Request:
PATCH /di_value/slot_index/ch_num
[Example]
Request: PATCH /di_value/slot_0
Content-type: application/json
{
"DIVal": [
{
"Ch":2,
"Cnting": 1
},
{
"Ch":3,
"OvLch":0
}
]
}
Response: 200 OK
Request: PATCH /di_value/slot_0/ch_3
Content-type: application/json
{
"Ch":3,
"ClrCnt":1
}
Response: 200 OK
Field Abbreviation Data Type
Array of Digital input configurations DIVal Array