From Openprovider API documentation
License Module > Search Plesk | Virtuozzo License
Module
| Licenses
|
Command name
| searchPleskAndVirtuozzoItemRequest
|
Use
| Retrieves all available items, features and third-party extensions for a specified product
|
Input
|
- limit default value: 100
- offset default value: 0
- product plesk | virtuozzo
- group text
- orderByArray id, keyId, title, product, status, keyNumber, expirationDate
|
Output
| Result set of ordered license details:
- product
- title
- group
- title
- subgroup
- sku
|
Examples
Using PHP class
$request = new OP_Request;
$request->setCommand('searchPleskAndVirtuozzoItemRequest')
->setAuth(array('username' => 'username', 'password' => 'password'))
->setArgs(array(
));
Raw XML
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
<credentials>
<username>username</username>
<password>password</password>
</credentials>
<searchPleskAndVirtuozzoItemRequest>
<product>plesk</product>
<limit>1</limit>
</searchPleskAndVirtuozzoItemRequest>
</openXML>
<?xml version="1.0" encoding="UTF-8"?>
<openXML>
<reply>
<code>0</code>
<desc>
</desc>
<data>
<results>
<array>
<item>
<product>plesk</product>
<title>1 Language Pack for Plesk 12/Onyx</title>
<item>FT-PLESK-1-LANGUAGE-PACK-1M</item>
<group>
<product>plesk</product>
<name>plesk-genuine-ext-multilang-support-features</name>
<description>Genuine extensions - Multilanguage support</description>
<itemsType>feature</itemsType>
</group>
<subgroup>
<id>
</id>
<title>
</title>
</subgroup>
<compatibility>
<vps>0</vps>
<standalone>1</standalone>
</compatibility>
<skuValues>
<PLSK-ADD-LP-M>1</PLSK-ADD-LP-M>
</skuValues>
</item>
</array>
</results>
<total>122</total>
</data>
</reply>
</openXML>