getCurrentTime (v1.0)

Estimated reading time: 1 minute

This API provides the current time set in the device.

Syntax

http://<Base URL>/system

Authentication Level

none

Request

params' Elements
Not necessary.
{
    "method": "getCurrentTime",
    "id": 51,
    "params": [],
    "version": "1.0"
}

Response

result's Elements
The following value.
type description
string Current time set in the device.(ISO8601 format)
JSON Example
{
    "result": ["2018-10-03T13:03:04+0100"],
    "id": 51
}
Error Code
The following error codes are important for this API. Refer to error code for other errors.
code Explanation
7 Clock is not set on the device.
Last modified: 6 Feb 2019