API Guide
"SecondaryNTPAddress2": null,
"SystemTime": "2017-35-23 21:35:18"
}
Output:
{
"TimeZone": "TZ_ID_11",
"EnableNTP": false,
"PrimaryNTPAddress": null,
"SecondaryNTPAddress1": null,
"SecondaryNTPAddress2": null,
"SystemTime": "2017-35-23 21:35:18"
}
Table 12. Attributes
Attribute name Description
TimeZone The timezone to use.
EnableNTP Specify whether to enable or disable NTP.
PrimaryNTPAddress The primary NTP address.
SecondaryNTPAddress1 The first secondary NTP address.
SecondaryNTPAddress2 The second secondary NTP address.
SystemTime The system time. If EnableNTP is False, SystemTime cannot be null
or empty.
/api/ApplicationService/Network/TimeZones
This URI represents the time-zone application services.
GET method for TimeZone
This method returns the time-zone configuration.
Description
Returns the time-zone configuration.
Privilege VIEW
HTTP response
codes
200
Example
Input:
Output:
{
"@odata.context": "$metadata#Collection(Network.TimeZone)",
"@odata.count": 95,
"value": [
{
"Utcoffsetminutes": 60,
"Id": "TZ_ID_38",
"Name": "(GMT+01:00) Brussels, Copenhagen, Madrid, Paris"
},
…
{
"Utcoffsetminutes": 330,
"Id": "TZ_ID_66",
"Name": "(GMT+05:30) Sri Jayawardenepura"
}
]
}
32 Application settings