Howdy folks,
I'm hoping someone can solve this dilemma for me -- the API doesn't seem to return any info for a parked domain. If I query the API against a parked domain, I get the following results:
Here's the userdata/main file:Code:<domainuserdata> <result> <status>1</status> <statusmsg>Obtained userdata.</statusmsg> </result> <userdata></userdata> </domainuserdata> <!-- Web Host Manager 11.30.1.4 (c) cPanel, Inc. 2011 http://cpanel.net/ Unauthorized copying is prohibited. -->
I'm calling the URL /xml-api/domainuserdata?domain=exampledomain.com to get this data. The script I'm using only has issues with parked domains, it seems.Code:--- addon_domains: {} main_domain: exampledomain.net parked_domains: - exampledomain.com sub_domains: []
Any thoughts? Is this an issue with the API or am I somehow calling it incorrectly?



LinkBack URL
About LinkBacks
Reply With Quote




