Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: GET /rest/license

Page Tree
rootResource - license

Retrieves all resource schema elements and values related to the system's feature licenses.

URL:

https://134.56.227.163/rest/license

HTTP Method

GET

Requires Authentication:

true

Parameters

Name Required Values Description
filterNoinventoryThe type of filtered information in the response. If no filters are specified, all get applied.

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

Code Block
languagebash
curl --cookie PHPSESSID=ima0r3nkaeg8mo0suln67vg4m7 --cacert 134.56.227.163.crt 
-i https://134.56.227.163/rest/license

Response:

Code Block
languagehtml/xml
<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
</status>
 <license href="https://134.56.227.163/rest/license">
  <AD>1</AD>
  <AvailableDSPCh>-1</AvailableDSPCh>
  <AvailableSIPCh>25</AvailableSIPCh>
  <AvailableSIPReg>21</AvailableSIPReg>
  <AvailableTDMCh>80</AvailableTDMCh>
  <CAS>1</CAS>
  <CDR>1</CDR>
  <CarrierCPE>0</CarrierCPE>
  <DSPChannels>-1</DSPChannels>
  <ExpirationDate></ExpirationDate>
  <Forking>1</Forking>
  <IPsec>1</IPsec>
  <LicenseType>1</LicenseType>
  <OSPF>1</OSPF>
  <QOER>0</QOER>
  <RBA>1</RBA>
  <RIPR>1</RIPR>
  <Rest>1</Rest>
  <SBA>1</SBA>
  <SIPChannels>25</SIPChannels>
  <SIPRegistrations>21</SIPRegistrations>
  <TDMChannels>80</TDMChannels>
  <Transcoding>1</Transcoding>
 </license>
</root>