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

Compare with Current View Page History

« Previous Version 3 Next »

REST API Method: GET /rest/system

Retrieves all resource schema elements and values related to the system's identity in the network and a few other system-level miscellaneous settings.

URL:

https://134.56.227.163/rest/system

HTTP Method

GET

Requires Authentication:

true

Parameters

Name Required Values Description
filterNo
  • config
  • runtime
  • inventory
The type of filtered information in the response. If no filters are specified, all get applied.

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

curl --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 134.56.227.163.crt 
-i https://134.56.227.163/rest/system

Response:

<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
</status>
 <system href="https://134.56.72.218/rest/system">
  <DomainName>net.com</DomainName>
  <IsDHCPServerEnabled>0</IsDHCPServerEnabled>
  <IsNtp1AuthEnabled>0</IsNtp1AuthEnabled>
  <IsNtp1Enabled>0</IsNtp1Enabled>
  <IsNtp2AuthEnabled>0</IsNtp2AuthEnabled>
  <IsNtp2Enabled>0</IsNtp2Enabled>
  <LocatorLED>0</LocatorLED>
  <MfgWeek></MfgWeek>
  <MfgYear></MfgYear>
  <NodeName>testux218</NodeName>
  <Ntp1ServerKey></Ntp1ServerKey>
  <Ntp1ServerKeyId>1</Ntp1ServerKeyId>
  <Ntp1ServerName>0.0.0.0</Ntp1ServerName>
  <Ntp2ServerKey></Ntp2ServerKey>
  <Ntp2ServerKeyId>2</Ntp2ServerKeyId>
  <Ntp2ServerName>0.0.0.0</Ntp2ServerName>
  <PartNumber></PartNumber>
  <PrimaryDNSServer>134.56.112.12</PrimaryDNSServer>
  <SecondaryDNSServer>0.0.0.0</SecondaryDNSServer>
  <SerialNumber>??????????????</SerialNumber>
  <TimeZoneGeoName>America/Los_Angeles</TimeZoneGeoName>
  <Vendor>Sonus</Vendor>
  <VersionNumber></VersionNumber>
  <rt_DNSServer1IP>134.56.112.12</rt_DNSServer1IP>
  <rt_DNSServer2IP></rt_DNSServer2IP>
  <rt_DomainName>net.com</rt_DomainName>
  <rt_NTPServer1></rt_NTPServer1>
  <rt_NTPServer2></rt_NTPServer2>
  <sysContact></sysContact>
  <sysDescription></sysDescription>
  <sysLocation></sysLocation>
  <useDynamicNetSettings>0</useDynamicNetSettings>
  <rt_Software_Base_Version>3.1.0</rt_Software_Base_Version>
  <rt_Software_Base_BuildNumber>277</rt_Software_Base_BuildNumber>
  <rt_Software_Patch_Version>None</rt_Software_Patch_Version>
 </system>
</root>
  • No labels