JSON Communication
G13
71
2CMC489001M0201
User Manual
Revision: A
Response
• 200 Success
HTTP/1.1 200 OK
Content-Type: application/json
Server: embOS/IP
Transfer-Encoding: chunked
Link:/lasterror/0
{"status":"success"}
• 400 Bad Request
HTTP/1.1 400 Bad Request
Server: embOS/IP
Accept-Ranges: bytes
Content-Length: 57
Content-Type: application/json
{
"status":"error",
"des":"missing datetime tag in JSON ."
}
• 500 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."
}
6.3.11 GET /gateway/datetime
A GET call to /gateway/datetime returns current date and time of gateway in stan-
dard date time format (YYYY-MM-DDTHH:MM:SS)
Protected
Yes (Authentication required)
Request
GET /gateway/datetime HTTP/1.1
Authorization: Basic XXXXXXXXXXXXXXX=
Examples
• https://192.168.1.12/gateway/datetime
Содержание G13
Страница 1: ...G13 User Manual ...
Страница 2: ......
Страница 3: ...G13 User Manual Document ID 2CMC489001M0201 Revision A 2013 04 25 ...
Страница 8: ...Table of Content G13 4 2CMC484002M0201 User Manual Revision A ...
Страница 50: ...2CMC489001M0201 46 G13 Revision A User Manual Meter Settings 4 Set Frequency 5 Select Energy Type 6 Click Send ...
Страница 249: ...JSON Communication G13 245 2CMC489001M0201 User Manual Revision A ...