License Module API searchPleskAndVirtuozzoLicenseRequest

From Openprovider API documentation

Jump to: navigation, search


License Module > Search Plesk | Virtuozzo License

Module Licenses
Command name searchPleskAndVirtuozzoLicenseRequest
Use Search ordered licenses based on certain criteria
  • limit default value: 100
  • offset default value: 0
  • product plesk | virtuozzo
  • titlePattern text
  • textFieldPattern text
  • keyNumberPattern varchar
  • parentKeyId int
  • status ACT / DEL / EXP
Output Result set of ordered license details:
  • id
  • productId
  • mainKeyType
  • keyNumber
  • title
  • comment
  • status
  • orderDate
  • activeDate
  • expirationDate
  • options


Using PHP class

$request = new OP_Request;
  ->setAuth(array('username' => 'username', 'password' => 'password'))


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"?>
  </searchPleskAndVirtuozzoLicenseRequest >
<?xml version="1.0" encoding="UTF-8"?>
         <orderDate>2018-08-31 10:43:01</orderDate>
         <expirationDate>0000-00-00 00:00:00</expirationDate>
             <item>Virtuozzo storage</item>
             <item>Monthly SUS for Virtuozzo containers/with VMs</item>
Personal tools