License Utility REST API

 

You can use the License Utility REST API to connect with the BMC TrueSight Capacity Optimization server and return the license information in the XML format. The XML generated is same as that returned by License Tracking utility.

To access the API, ensure that your user role has the following activities assigned to it:

  • Enable access to Data API activity - (API_DATA)  
  • Administration section - View activity - (WEB_ADMIN)

For more information about managing roles and activities, see Adding and managing roles.

Retrieving the licenses

MethodGET
URI pattern
/dh-services/data/license
DescriptionRetrieve the licenses
Request parameters

NA

Sample response
 Click here to show/hide the sample response file...
<?xml version="1.0" encoding="UTF-8"?><bmc_license_xml_report  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="LicenseDataXMLSimplifiedSample.xsd">
  <entry>
    <field_value>
      <name>AuditCount</name>
      <value>1</value>
    </field_value>
    <field_value>
      <name>Host</name>
      <value>vl-pun-bco-qa34.bmc.com</value>
    </field_value>
    <field_value>
      <name>LicenseChecksum</name>
      <value>486767383</value>
    </field_value>
    <field_value>
      <name>LicenseDescription</name>
      <value>Overall number of managed systems</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedFrom</name>
      <value>1484677800000</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedTo</name>
      <value>1484764200000</value>
    </field_value>
    <field_value>
      <name>LicenseType</name>
      <value>20</value>
    </field_value>
    <field_value>
      <name>ProductName</name>
      <value>BMC TrueSight Capacity Optimizer for Servers</value>
    </field_value>
    <field_value>
      <name>ReportDate</name>
      <value>1484806077261</value>
    </field_value>
    <field_value>
      <name>SuiteName</name>
      <value>BMC TrueSight Capacity Optimization</value>
    </field_value>
  </entry>
  <entry>
    <field_value>
      <name>AuditCount</name>
      <value>1</value>
    </field_value>
    <field_value>
      <name>Host</name>
      <value>vl-pun-bco-qa34.bmc.com</value>
    </field_value>
    <field_value>
      <name>LicenseChecksum</name>
      <value>1677676054</value>
    </field_value>
    <field_value>
      <name>LicenseDescription</name>
      <value>Overall number of managed systems - distinct by name</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedFrom</name>
      <value>1484677800000</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedTo</name>
      <value>1484764200000</value>
    </field_value>
    <field_value>
      <name>LicenseType</name>
      <value>20</value>
    </field_value>
    <field_value>
      <name>ProductName</name>
      <value>BMC TrueSight Capacity Optimizer for Servers - distinct by name</value>
    </field_value>
    <field_value>
      <name>ReportDate</name>
      <value>1484806077261</value>
    </field_value>
    <field_value>
      <name>SuiteName</name>
      <value>BMC TrueSight Capacity Optimization</value>
    </field_value>
  </entry>
  <entry>
    <field_value>
      <name>AuditCount</name>
      <value>0</value>
    </field_value>
    <field_value>
      <name>Host</name>
      <value>vl-pun-bco-qa34.bmc.com</value>
    </field_value>
    <field_value>
      <name>LicenseChecksum</name>
      <value>289352045</value>
    </field_value>
    <field_value>
      <name>LicenseDescription</name>
      <value>Number of managed systems imported from Capacity Agents</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedFrom</name>
      <value>1484677800000</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedTo</name>
      <value>1484764200000</value>
    </field_value>
    <field_value>
      <name>LicenseType</name>
      <value>20</value>
    </field_value>
    <field_value>
      <name>ProductName</name>
      <value>BMC TrueSight Capacity Optimizer for Servers [Capacity Agents]</value>
    </field_value>
    <field_value>
      <name>ReportDate</name>
      <value>1484806077261</value>
    </field_value>
    <field_value>
      <name>SuiteName</name>
      <value>BMC TrueSight Capacity Optimization</value>
    </field_value>
  </entry>
  <entry>
    <field_value>
      <name>AuditCount</name>
      <value>0</value>
    </field_value>
    <field_value>
      <name>Host</name>
      <value>vl-pun-bco-qa34.bmc.com</value>
    </field_value>
    <field_value>
      <name>LicenseChecksum</name>
      <value>2037891146</value>
    </field_value>
    <field_value>
      <name>LicenseDescription</name>
      <value>Number of managed systems imported from Capacity Agents - distinct by name</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedFrom</name>
      <value>1484677800000</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedTo</name>
      <value>1484764200000</value>
    </field_value>
    <field_value>
      <name>LicenseType</name>
      <value>20</value>
    </field_value>
    <field_value>
      <name>ProductName</name>
      <value>BMC TrueSight Capacity Optimizer for Servers [Capacity Agents] - distinct by name</value>
    </field_value>
    <field_value>
      <name>ReportDate</name>
      <value>1484806077261</value>
    </field_value>
    <field_value>
      <name>SuiteName</name>
      <value>BMC TrueSight Capacity Optimization</value>
    </field_value>
  </entry>
  <entry>
    <field_value>
      <name>AuditCount</name>
      <value>0</value>
    </field_value>
    <field_value>
      <name>Host</name>
      <value>vl-pun-bco-qa34.bmc.com</value>
    </field_value>
    <field_value>
      <name>LicenseChecksum</name>
      <value>1548499269</value>
    </field_value>
    <field_value>
      <name>LicenseDescription</name>
      <value>Overall number of managed network devices</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedFrom</name>
      <value>1484677800000</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedTo</name>
      <value>1484764200000</value>
    </field_value>
    <field_value>
      <name>LicenseType</name>
      <value>20</value>
    </field_value>
    <field_value>
      <name>ProductName</name>
      <value>BMC TrueSight Capacity Optimizer for Network</value>
    </field_value>
    <field_value>
      <name>ReportDate</name>
      <value>1484806077261</value>
    </field_value>
    <field_value>
      <name>SuiteName</name>
      <value>BMC TrueSight Capacity Optimization</value>
    </field_value>
  </entry>
  <entry>
    <field_value>
      <name>AuditCount</name>
      <value>0</value>
    </field_value>
    <field_value>
      <name>Host</name>
      <value>vl-pun-bco-qa34.bmc.com</value>
    </field_value>
    <field_value>
      <name>LicenseChecksum</name>
      <value>811262598</value>
    </field_value>
    <field_value>
      <name>LicenseDescription</name>
      <value>Overall number of managed ports</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedFrom</name>
      <value>1484677800000</value>
    </field_value>
    <field_value>
      <name>LicenseRequestedTo</name>
      <value>1484764200000</value>
    </field_value>
    <field_value>
      <name>LicenseType</name>
      <value>20</value>
    </field_value>
    <field_value>
      <name>ProductName</name>
      <value>BMC TrueSight Capacity Optimizer for Storage</value>
    </field_value>
    <field_value>
      <name>ReportDate</name>
      <value>1484806077261</value>
    </field_value>
    <field_value>
      <name>SuiteName</name>
      <value>BMC TrueSight Capacity Optimization</value>
    </field_value>
  </entry>
</bmc_license_xml_report>

Related topic

Maintenance

 

Was this page helpful? Yes No Submitting... Thank you

Comments