
Originally Posted by
smallfarmcentra
I am attempting to use the API to park domains on top of a single domain via the API1. I can connect to WHM correctly, it seems. This is the request I am sending:
/xml-api/cpanel?cpanel_xmlapi_user=myuser&cpanel_xmlapi_module=Park&cpanel_xmlapi_func=park&cpanel_xmlapi_apiversion=1&args-0=parkthis.domain.com&args-1=park.ontopofthisdomain.com
I get the following response from WHM:
<?xml version="1.0" ?> <cpanelresult><module>Park</module><func>park</func><type>event</type><source>module</source><apiversion>1</apiversion><data><result>domain not specified</result></data></cpanelresult>
So, how do I tell WHM which domain I would like to park and which domain I would like to park on top of? I can't find any specific documentation on this after many google & forum searches.