• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Api Problem

leoauza

New Pleskian
Hello, i have problem in Api.

Hello, I am testing the API and found an error:

My tests were:
- I could create a user with the api
- I could create a WebSite associate the user with the api.

and the fault appeared to me when I tried to associate a website builder webpresece I created.

I used this command:

Code:
$ cmd = '<packet version="1.6.3.0"> 
<sitebuilder> 
*** <assign-trial-site> 
****** <pp-site-guid> cfec97b7-4c8f-8e16-xSdf-da2428d2905a </ wp-site-guid> 
****** <sb-site-uuid> ad869887-d3c6-6912-5c61-833f0099b874 </ sb-site-uuid> 
*** </ assign-trial-site> 
</ sitebuilder> 
</ packet> '; 


$ curl = curlInit ($ host, $ login, $ password); 
$ response = sendRequest ($ curl, $ cmd); 

echo $ response;


and I get this error:

1014 Error Parser error: Request is invalid. Error in line 2: Element 'sitebuilder': This element is not expected. Expected is one of (server, customer, webspace, subdomain, dns, db_server, mail, migration, certificate, site-alias).


No because this is this, someone can help me on this?

My plesk version is 11.5.x
S.O.: linux centos

thanks for your asistence.


thanks and sorry for my english.
 
Back
Top