Important
An access token must be generated to use this API.URL
POST https://{gatewayIp}:5480/api/v2/ntpmanualconfig
Note
This API forces the NTP service to stop.Sample URLs
https://192.168.xxx.xxx:5480/api/v2/ntpmanualconfig
Sample cURL
curl -k -X POST https://{GatewayIP}:5480/api/v2/ntpmanualconfig
-H 'Accept: application/json'
-H 'Authorization: Token <TOKEN>'
{
"date": "<date>",
"hour": "<hours>",
"min": "<minutes>",
"sec": "<seconds>"
}
Header format
Header | Value |
---|---|
Authorization | Token {accessToken} |
Content-type | application/json |
Accept | application/json |
Parameters
The fields are mandatory.
Field | Data Type | Description |
---|---|---|
date | String | Date (MM-DD-YYYY) |
hour | String | Hours (0-23) |
min | String | Minutes (0-59) |
sec | String | Seconds (0-59) |
Status code
200 OK
Sample request
{
"date": "06-21-2020",
"hour": "8",
"min": "15",
"sec": "00" }
Sample response
{"Success":"Successfully updated time and date"}