Virtualmin resellers API

1 post / 0 new
#1 Sat, 11/18/2006 - 16:24
DanLong

Virtualmin resellers API

Hi Guys?

I'm still working with AWBS to make the billing system wholly functional for VM, and we're almost there. Problem I have is the API. Is it really necessary to pass a template name when building a server? All of the parameters set in the template get passed through the API anyway. It seems that the AWBS still gets hung up on the template requirement when the cron runs causing it to fail.

I'm believing the AWBS doesn't setup the DAV, AWStats etc because they follow template in the API call and I'm thinking that somehow AWBS somehow get the job done because hosting does have a name.

> GET /virtual-server/remote.cgi?program=create-domain&desc=resellerstarter&domain=resellerstarter.ID890460&email=support@solvnet.net&user=res10002&pass=res77252&dir=&unix=&mail=&dns=&web=&webalizer=&logrotate=&mysql=&spam=&virus=&webmin=&domslimit=50&bandwidth=50000000000&mailboxlimit=5000&dbslimit=50&quota=5000000000&uquota=5000000000&template=none HTTP/1.0

Array ( [[0]] => Unknown template name