This API has a deprecated equivalent from v7.0U1.
Get Time
Get system time.
Request
URLURL
https://{api_host}/api/appliance/system/time
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Response
Response
Response BodyResponse Body
200 OK returns
SystemTimeSystemTimeStruct of type application/json
System time
{
"date": "string",
"seconds_since_epoch": 0,
"time": "string",
"timezone": "string"
}
string
date
Required
date format: Thu 07-31-2014
number
seconds_since_epoch
Required
seconds since the epoch
string
time
Required
time format: 18:18:32
string
timezone
Required
timezone
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/appliance/system/time
Errors
Availability
Added in 7.0U2