• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Plesk API RPC doesn't work for reseller account.

NAM_AT_DDNS

New Pleskian
webspace/switch-subscription doesn't work as reported but Haven't been fixed: http://forum.parallels.com/showthread.php?p=676141#post676141

Another calls: webspace/add-subscription and ip/get (with empty filter) also have the same problem.

REQUEST 1
Code:
Debugger	<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.1">
  <service-plan-addon>
    <get>
      <filter>
        <name>Extra 500MB</name>
      </filter>
    </get>
  </service-plan-addon>
</packet>
	4:19:18 PM	PleskAPIRequest.class.php (81)

RESPONSE 1 (things went well)
Code:
Debugger	<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.1">
  <service-plan-addon>
    <get>
      <result>
        <status>ok</status>
        <id>36</id>
        <name>Extra 500MB</name>
        <guid>563c7cb4-3265-2d83-f26e-6379854d7775</guid>
        <external-id/>
        <limits>
          <limit>
            <name>max_site</name>
[..........................................]
          </permission>
          <permission>
            <name>allow_license_stubs</name>
            <value>false</value>
          </permission>
        </permissions>
      </result>
    </get>
  </service-plan-addon>
</packet>
	4:19:18 PM	PleskAPIRequest.class.php (83)

REQUEST 2 (Adding this addon into an existing subscription identified by a domain name)
Code:
Debugger	<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.1">
  <webspace>
    <add-subscription>
      <filter>
        <name>domain004.com.au</name>
      </filter>
      <plan-guid>563c7cb4-3265-2d83-f26e-6379854d7775</plan-guid>
    </add-subscription>
  </webspace>
</packet>
	4:19:18 PM	PleskAPIRequest.class.php (81)

RESPONSE 2 (!!!)
Code:
Debugger	<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.3.1">
  <webspace>
    <add-subscription>
      <result>
        <status>error</status>
        <errcode>1006</errcode>
        <errtext>Permission denied.</errtext>
        <filter-id>domain004.com.au</filter-id>
        <id>243</id>
      </result>
    </add-subscription>
  </webspace>
</packet>
	4:19:18 PM	PleskAPIRequest.class.php (83)
 
All calls work with administrator account, but not reseller account.

Tried with protocol version 1.6.3.5 -- doesn't fix;
 
Back
Top