Hello,
Im trying to disable a domain with the api of plesk for a plesk 8.6 and i compose the xml with this structure:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.5.2.1">
<domain>
<set>
<filter>
<name>testapi.domain.com</name>
</filter>
<values>
<gen_setup>
<status>16</status>
</gen_setup>
</values>
</set>
</domain>
</packet>
The name testapi.domain.com is the domain of the domain, i create a subdomain like a domain for testing purpose, but when i execute the this xml with the api i get this response:
<?xml version="1.0"?>
<packet version="1.5.2.1">
<system>
<status>error</status>
<errcode>1014</errcode>
<errtext>Parser error: Request is invalid</errtext>
</system> </packet>
Someone know what is wrong??
For support of parallels: Please do some basic examples for the beginners like activate/desactivate domains and create/modify/delete mail accounts.
Best Regards.
Im trying to disable a domain with the api of plesk for a plesk 8.6 and i compose the xml with this structure:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.5.2.1">
<domain>
<set>
<filter>
<name>testapi.domain.com</name>
</filter>
<values>
<gen_setup>
<status>16</status>
</gen_setup>
</values>
</set>
</domain>
</packet>
The name testapi.domain.com is the domain of the domain, i create a subdomain like a domain for testing purpose, but when i execute the this xml with the api i get this response:
<?xml version="1.0"?>
<packet version="1.5.2.1">
<system>
<status>error</status>
<errcode>1014</errcode>
<errtext>Parser error: Request is invalid</errtext>
</system> </packet>
Someone know what is wrong??
For support of parallels: Please do some basic examples for the beginners like activate/desactivate domains and create/modify/delete mail accounts.
Best Regards.