Return a JSON style result. The JSON format is:
{ /*OBJECT*/ | |
"Result": NUMBER | 200 means OK, other error code meanings are similar to HTTP Response. |
"Status": "STRING" | Status message. Responsing result status of API executive, if there errors, it will describe reasons. |
"Data": { /*OBJECT*/ | |
"LocalTime": "STRING" | Format: yyyy-mm-dd hh:nn:ss Local time on device |
"UTCTime": "STRING" | Format: yyyy-mm-dd hh:nn:ss UTC time on device |
"NTPEnable": INTEGER | 0|1, NTP synchronization enabling. 0 means disable, 1 means enable |
"NTPServers": "STRING" | NTP servers address list, separate each address by SPACE. |
"NTPSync": INTEGER | 0|1, return to current NTP synchronization status. 0 is not synchronized, 1 is synchronized. |
} | |
} |
KILOVIEW Device HTTP API, v1.0
Copyright (c) 2016, KILOVIEW Electronics.