REST API Method: POST /rest/system?action=setdatetime
This action configures the Sonus SBC 1000/2000 system's date and time.
URL:
https://134.56.227.163/rest/system?action=setdatetime
HTTP Method
POST
Requires Authentication:
true
Parameters
Parameter Name | Required | Service Affecting | Data Type | Default Value | Possible Values | Description |
---|
epochTime | Yes | No | long | | | Identifies the time to be set on the node. It is entered in seconds since January 1, 1970 epoch. It needs to be within the range 0-2147483647 |
---|
Code Block |
---|
|
curl --cookie PHPSESSID=4cvansmtlcokghkiuc2ghagkc1 --cacert 1kCAcert.pem -i https://134.56.227.163/rest/system?action=setdatetime?epochTime=1386973847
|
Response:
Code Block |
---|
|
<?xml version="1.0"?>
<root>
<status>
<http_code>200</http_code>
</status>
</root> |