You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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
epochTimeYesNolong 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

Usage Example: (about cURL | requires a session token)

 curl --cookie  PHPSESSID=4cvansmtlcokghkiuc2ghagkc1 --cacert 1kCAcert.pem -i  https://134.56.227.163/rest/system?action=setdatetime?epochTime=1386973847

Response:

<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
 </status>
</root>
  • No labels