JSON Communication
G13
209
2CMC489001M0201
User Manual
Revision: A
Response
•
200 OK
HTTP/1.1 200 OK
Content-Type: application/json
Server: embOS/IP
Transfer-Encoding: chunked
Link:/lasterror/0
{
"status":"success"
}
•
403 Forbidden
HTTP/1.1 200 OK
Content-Type: application/json
Server: embOS/IP
Transfer-Encoding: chunked
Link:/lasterror/0
{"status": "error","des": "received READ_WRITE_DENIED
response from COSEM."}
•
502 Internal Server Error
HTTP/1.1 502 Internal Server Error
Server: embOS/IP
Accept-Ranges: bytes
Content-Length: 64
Content-Type: application/json
{
"status":"error",
"des":"received invalid response from COSEM."
}
6.3.77 GET /meters/<serial>/demand/<from
date
><
count|to
date>
A GET call to /meters/<serial>/demand/<channel>/<from
date>/<count | to
date>
returns demand values for the given combinations:
•
from date & count
•
between from date & to date
Protected
Yes (Authentication required)