
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://doc.openprovider.eu/skins/common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>API Module License upgradeLicenseRequest - Revision history</title>
		<link>https://doc.openprovider.eu/index.php?title=API_Module_License_upgradeLicenseRequest&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.15.2</generator>
		<lastBuildDate>Wed, 22 Apr 2026 19:43:16 GMT</lastBuildDate>
		<item>
			<title>WikiSysop at 11:14, 23 March 2012</title>
			<link>https://doc.openprovider.eu/index.php?title=API_Module_License_upgradeLicenseRequest&amp;diff=372&amp;oldid=prev</link>
			<description>&lt;p&gt;&lt;/p&gt;

		&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;col class='diff-marker' /&gt;
		&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:14, 23 March 2012&lt;/td&gt;
		&lt;/tr&gt;
		&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Raw XML===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Raw XML===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;''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.''&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;lt;openXML&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; &amp;lt;openXML&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff generator: internal 2026-04-22 19:43:16 --&gt;
&lt;/table&gt;</description>
			<pubDate>Fri, 23 Mar 2012 11:14:24 GMT</pubDate>			<dc:creator>WikiSysop</dc:creator>			<comments>https://doc.openprovider.eu/Talk:API_Module_License_upgradeLicenseRequest</comments>		</item>
		<item>
			<title>WikiSysop:&amp;#32;Created page with '==Module Licenses &gt; Upgrade License== {| border=&quot;1&quot; cellpadding=&quot;4&quot; |- style=&quot;background-color:#BBBBBB;&quot; |'''Module''' |Licenses |- style=&quot;background-color:#EEEEEE;&quot; |'''Command …'</title>
			<link>https://doc.openprovider.eu/index.php?title=API_Module_License_upgradeLicenseRequest&amp;diff=143&amp;oldid=prev</link>
			<description>&lt;p&gt;Created page with &amp;#39;==Module Licenses &amp;gt; Upgrade License== {| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;4&amp;quot; |- style=&amp;quot;background-color:#BBBBBB;&amp;quot; |&amp;#39;&amp;#39;&amp;#39;Module&amp;#39;&amp;#39;&amp;#39; |Licenses |- style=&amp;quot;background-color:#EEEEEE;&amp;quot; |&amp;#39;&amp;#39;&amp;#39;Command …&amp;#39;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Module Licenses &amp;gt; Upgrade License==&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;4&amp;quot;&lt;br /&gt;
|- style=&amp;quot;background-color:#BBBBBB;&amp;quot;&lt;br /&gt;
|'''Module'''&lt;br /&gt;
|Licenses&lt;br /&gt;
|- style=&amp;quot;background-color:#EEEEEE;&amp;quot;&lt;br /&gt;
|'''Command name'''&lt;br /&gt;
|upgradeLicenseRequest&lt;br /&gt;
|-&lt;br /&gt;
|'''Use'''&lt;br /&gt;
|Upgrade an existing license&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|'''Input'''&lt;br /&gt;
|&lt;br /&gt;
*'''id'''&lt;br /&gt;
*'''options'''&lt;br /&gt;
|- style=&amp;quot;vertical-align:top;&amp;quot;&lt;br /&gt;
|'''Output'''&lt;br /&gt;
|&lt;br /&gt;
*refund&lt;br /&gt;
*price&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Using PHP class===&lt;br /&gt;
 $request = new OP_Request;&lt;br /&gt;
 $request-&amp;gt;setCommand('upgradeLicenseRequest')&lt;br /&gt;
   -&amp;gt;setAuth(array('username' =&amp;gt; 'username', 'password' =&amp;gt; 'password'))&lt;br /&gt;
   -&amp;gt;setArgs(array(&lt;br /&gt;
     'id' =&amp;gt; 1446,&lt;br /&gt;
     'options' =&amp;gt; array(&lt;br /&gt;
       'keyType' =&amp;gt; 'PLESK9WIN',&lt;br /&gt;
       'domains' =&amp;gt; 100,&lt;br /&gt;
       'features' =&amp;gt; array('DRWEB'),&lt;br /&gt;
       'langPacks' =&amp;gt; 2,&lt;br /&gt;
       'period' =&amp;gt; 24&lt;br /&gt;
     )&lt;br /&gt;
   ));&lt;br /&gt;
&lt;br /&gt;
===Raw XML===&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;openXML&amp;gt;&lt;br /&gt;
   &amp;lt;credentials&amp;gt;&lt;br /&gt;
     &amp;lt;username&amp;gt;username&amp;lt;/username&amp;gt;&lt;br /&gt;
     &amp;lt;password&amp;gt;password&amp;lt;/password&amp;gt;&lt;br /&gt;
   &amp;lt;/credentials&amp;gt;&lt;br /&gt;
   &amp;lt;upgradeLicenseRequest&amp;gt;&lt;br /&gt;
     &amp;lt;id&amp;gt;1446&amp;lt;/id&amp;gt;&lt;br /&gt;
     &amp;lt;options&amp;gt;&lt;br /&gt;
       &amp;lt;keyType&amp;gt;PLESK9WIN&amp;lt;/keyType&amp;gt;&lt;br /&gt;
       &amp;lt;domains&amp;gt;100&amp;lt;/domains&amp;gt;&lt;br /&gt;
       &amp;lt;features&amp;gt;&lt;br /&gt;
         &amp;lt;array&amp;gt;&lt;br /&gt;
           &amp;lt;item&amp;gt;DRWEB&amp;lt;/item&amp;gt;&lt;br /&gt;
         &amp;lt;/array&amp;gt;&lt;br /&gt;
       &amp;lt;/features&amp;gt;&lt;br /&gt;
       &amp;lt;langPacks&amp;gt;2&amp;lt;/langPacks&amp;gt;&lt;br /&gt;
       &amp;lt;period&amp;gt;24&amp;lt;/period&amp;gt;&lt;br /&gt;
     &amp;lt;/options&amp;gt;&lt;br /&gt;
   &amp;lt;/upgradeLicenseRequest&amp;gt;&lt;br /&gt;
 &amp;lt;/openXML&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot;?&amp;gt;&lt;br /&gt;
 &amp;lt;openXML&amp;gt;&lt;br /&gt;
   &amp;lt;reply&amp;gt;&lt;br /&gt;
     &amp;lt; code&amp;gt;0&amp;lt;/code&amp;gt;&lt;br /&gt;
     &amp;lt;desc /&amp;gt;&lt;br /&gt;
     &amp;lt;data&amp;gt;&lt;br /&gt;
       &amp;lt;refund&amp;gt;&lt;br /&gt;
         &amp;lt;product&amp;gt;&lt;br /&gt;
           &amp;lt;price&amp;gt;156.75&amp;lt;/price&amp;gt;&lt;br /&gt;
           &amp;lt;currency&amp;gt;EUR&amp;lt;/currency&amp;gt;&lt;br /&gt;
         &amp;lt;/product&amp;gt;&lt;br /&gt;
         &amp;lt;reseller&amp;gt;&lt;br /&gt;
           &amp;lt;price&amp;gt;156.75&amp;lt;/price&amp;gt;&lt;br /&gt;
           &amp;lt;currency&amp;gt;EUR&amp;lt;/currency&amp;gt;&lt;br /&gt;
         &amp;lt;/reseller&amp;gt;&lt;br /&gt;
       &amp;lt;/refund&amp;gt;&lt;br /&gt;
       &amp;lt;price&amp;gt;&lt;br /&gt;
         &amp;lt;product&amp;gt;&lt;br /&gt;
           &amp;lt;price&amp;gt;732.00&amp;lt;/price&amp;gt;&lt;br /&gt;
           &amp;lt;currency&amp;gt;EUR&amp;lt;/currency&amp;gt;&lt;br /&gt;
         &amp;lt;/product&amp;gt;&lt;br /&gt;
         &amp;lt;reseller&amp;gt;&lt;br /&gt;
           &amp;lt;price&amp;gt;732.00&amp;lt;/price&amp;gt;&lt;br /&gt;
           &amp;lt;currency&amp;gt;EUR&amp;lt;/currency&amp;gt;&lt;br /&gt;
         &amp;lt;/reseller&amp;gt;&lt;br /&gt;
       &amp;lt;/price&amp;gt;&lt;br /&gt;
     &amp;lt;/data&amp;gt;&lt;br /&gt;
   &amp;lt;/reply&amp;gt;&lt;br /&gt;
 &amp;lt;/openXML&amp;gt;&lt;/div&gt;</description>
			<pubDate>Thu, 02 Dec 2010 15:13:04 GMT</pubDate>			<dc:creator>WikiSysop</dc:creator>			<comments>https://doc.openprovider.eu/Talk:API_Module_License_upgradeLicenseRequest</comments>		</item>
	</channel>
</rss>