API Guide
/api/ApplicationService/Network/TimeConfiguration
This URI represents the time-configuration-related application services.
GET method for TimeConfiguration
This method returns the current time-related configuration.
Description Returns the time-related configuration.
Privilege VIEW
HTTP response
codes
200
Example response
body
{
"@odata.context": "$metadata#Network.TimeConfiguration/$entity",
"@odata.id": "/api/ApplicationService/Network/TimeConfiguration",
"TimeZone": "TZ_ID_11",
"EnableNTP": false,
"PrimaryNTPAddress": null,
"SecondaryNTPAddress1": null,
"SecondaryNTPAddress2": null,
"SystemTime": "2017-35-23 21:35:18"
"TimeSource": "Local Clock"
}
PUT method for TimeConfiguration
This method updates the time-related configuration.
Description
Updates the time-related configuration.
Privilege APPLIANCE_SETUP
HTTP response
codes
200
Example request
body
{
"TimeZone": "TZ_ID_11",
"EnableNTP": false,
"PrimaryNTPAddress": null,
"SecondaryNTPAddress1": null,
"SecondaryNTPAddress2": null,
"SystemTime": "2017-35-23 21:35:18"
}
Example response
body
{
"TimeZone": "TZ_ID_11",
"EnableNTP": false,
"PrimaryNTPAddress": null,
"SecondaryNTPAddress1": null,
"SecondaryNTPAddress2": null,
"SystemTime": "2017-35-23 21:35:18"
}
Table 11. Attributes
Attribute name Description
TimeZone The timezone to use.
EnableNTP Specify whether to enable or disable NTP.
Application settings 31