JSON Communication
}
Description
Notes
If a channel is inactive, then it contains "id" parameter only. For example: {
"id": 1 }
G13
User Manual
"log": 1000,
"output": 1000
}
]
id[Int]: Alarm number(1 to 25)
•
quantity[Int]: quantity index as per parametermapping
•
onthreshold[Int]: threshold level
•
offthreshold[Int]: threshold level
•
ondelay[Int]: on delay in secons
•
offdelay[Int]: off delay in seconds
•
log[Bool]: boolean says, log is true or false
•
output[Int]: outport number (1 to 4)
•
400 Bad Request
HTTP/1.1 400 Bad Request
Server: embOS/IP
Accept-Ranges: bytes
Content-Length: 64
Content-Type: application/json
{
"status":"error",
"des":"Invalid Request."
}
502 Internal Server Error
•
HTTP/1.1 500 Internal Server Error
Server: embOS/IP
Accept-Ranges: bytes
Content-Length: 64
Content-Type: application/json
{
"status":"error",
"des":"received invalid response from COSEM."
}
155
2CMC489001M0201
Revision: A