appliance system time: get
Get system time.
Request:
HTTP request
GET https://{server}/rest/appliance/system/time
No request parameters
Response:
HTTP Status Code: 200
Representation:
{
"value": {
"date": "string",
"seconds_since_epoch": 1.5,
"time": "string",
"timezone": "string"
}
}
"value": {
"date": "string",
"seconds_since_epoch": 1.5,
"time": "string",
"timezone": "string"
}
}
Response Type:
Name | Type | Description |
---|---|---|
bold = required | ||
value | system_time_struct | System time. |
value.seconds_since_epoch | double | seconds since the epoch |
value.date | string | date format: Thu 07-31-2014 |
value.time | string | time format: 18:18:32 |
value.timezone | string | timezone |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | Generic error |