REST API - get

appliance timesync: get

Get time synchronization mode. This operation was added in vSphere API 6.7.

Request:

HTTP request

GET https://{server}/rest/appliance/timesync
No request parameters

Response:

HTTP Status Code: 200

Representation:

{
    "value""DISABLED"
}

Response Type:

Name Type Description
bold = required
value string Defines time synchronization modes. This enumeration was added in vSphere API 6.7. Value is one of:
DISABLED: Time synchronization is disabled. This constant was added in vSphere API 6.7.
NTP: NTP-based time synchronization. This constant was added in vSphere API 6.7.
HOST: VMware Tool-based time synchronization. This constant was added in vSphere API 6.7.Time synchronization mode.

Errors:

HTTP Status Code Type Description
500 error Generic error