
Originally Posted by
whmphp
Hello
I need to get the list of domains hosted on my server which are using a certain package ,lets say root_10GB
So how can I do this using my php scripts?
Any API for this ?
Thanks
Vivek
The listaccts function of the XML API can take in search parameters such as a search type (e.g. search by package) and a search string.
Documentation at: http://twiki.cpanel.net/twiki/bin/vi...n/ListAccounts
Example:
Code:
.../xml-api/listaccts?search=Advanced_Plan&searchtype=package