• The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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