This documentation has moved

XML API documentation can now be found at developer.openprovider.com. This page will remain available until September 2026, but will no longer be updated.

The XML API itself is not changing. Your existing integration continues to work.

License Module API retrieveVirtuozzoLicenseRequest

From Openprovider API documentation

(Difference between revisions)
Jump to: navigation, search
m (Using PHP class)
 
Line 1: Line 1:
 +
===Warning: Deprecated===
 +
==License Module > Retrieve Product==
==License Module > Retrieve Product==
{| border="1" cellpadding="4"
{| border="1" cellpadding="4"

Current revision as of 06:33, 13 May 2021

Contents

Warning: Deprecated

License Module > Retrieve Product

Module License
Command name retrieveVirtuozzoLicenseRequest
Use Returns details about the requested license
Input
  • keyId
Output
  • id
  • title
  • options

Examples

Using PHP class

$request = new OP_Request;
$request->setCommand('retrieveVirtuozzoLicenseRequest')
  ->setAuth(array('username' => 'username', 'password' => 'password'))
  ->setArgs(array(
      'keyId' => '74351955',
  ));

Raw XML

Please note that newlines and leading spaces are added only for readability. Those whitespaces should be excluded from your XML command before sending it to Openprovider.

<?xml version="1.0" encoding="UTF-8"?>
<openXML>
  <credentials>
    <username>username</username>
    <password>password</password>
  </credentials>
  <retrieveVirtuozzoLicenseRequest >
    <keyId>74351955</keyId>
  </retrieveVirtuozzoLicenseRequest >
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
<reply>
 <code>0</code>
 <desc>
 </desc>
 <data>
   <title>
   </title>
   <comment>
   </comment>
   <product>virtuozzo</product>
   <contract>2014</contract>
   <keyId>74351955</keyId>
   <parentKeyId>
   </parentKeyId>
   <keyNumber>VZ.74351955</keyNumber>
   <billingType>lease</billingType>
   <period>1</period>
   <status>ACT</status>
   <orderDate>2018-09-13 10:06:46</orderDate>
   <expirationDate>2018-10-12 18:00:00</expirationDate>
   <items>
     <array>
       <item>VIRTUOZZO-7-LOW-DENSITY-2CPU-1M</item>
     </array>
   </items>
   <skuValues>
     <VZ-LD-2-M>1</VZ-LD-2-M>
   </skuValues>
   <activationCode>A40X00-******-E0MJ35-******-M56Z55</activationCode>
   <ipAddressBinding>
   </ipAddressBinding>
   <key>
     <product>virtuozzo</product>
     <title>Virtuozzo 7.x Low Density, Up to 2 CPU Sockets</title>
     <item>VIRTUOZZO-7-LOW-DENSITY-2CPU-1M</item>
     <group>
       <product>virtuozzo</product>
       <name>virtuozzo-7x-keys</name>
       <description>Virtuozzo 7.x keys</description>
       <itemsType>key</itemsType>
     </group>
     <subgroup>
       <id>
       </id>
       <title>
       </title>
     </subgroup>
     <compatibility>
       <vps>1</vps>
       <standalone>1</standalone>
     </compatibility>
     <skuValues>
       <VZ-LD-2-M>1</VZ-LD-2-M>
     </skuValues>
   </key>
   <features/>
   <extensions/>
 </data>
</reply>
</openXML>
Views
Personal tools