URL

POST https://{gatewayIp}:5480/api/v2/ntpmanualconfig

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

HeaderValue
AuthorizationToken {accessToken}
Content-typeapplication/json
Acceptapplication/json

Parameters

The fields are mandatory.

FieldData TypeDescription
dateStringDate (MM-DD-YYYY)
hourStringHours (0-23)
minStringMinutes (0-59)
secStringSeconds (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"}