Hello,
Let me first comment that it was a pleasure to previously meet one of the developers and that working with your API was very easy - something refreshing.
First an observation. The base64 encode of the username and password renders the commands inoperable. Only when the user and pass aren't encoded do the API commands work - this obervation was made on www.two-a-t.com's servers and doublechecked it was.
Also, there's an important association missing from the API, it would be very easy to code I'm sure - all of the other provisioning systems provide it and it makes post-setup associations easy. If we missed it entirely do let us know - but something that would list usernames to domains would be nice, along with a status bit.
IE
Where username has domain adomain.com and is active, and username2 has domain domain2.net and is suspended. You could easily make domain to username associations as such and it would save potential logging errors where data changes after the initial creation (in 3rd party systems).
Also, there is no modify user command listed that will modify a user to a given package, there only exists one that modifies to a long string of package specific data. It would be very nice if you could build a CMD_MODIFY_USER that takes in PACKAGE just like the CMD_ACCOUNT_USER. Right now, the only way to alter accounts when the only DA data stored is a package name is to turf the old account, and recreate a new one. Most 3rd party software that aren't DirectAdmin specific won't feel like implementing a DA specific panel that stores all of the little package flags. Storing a package name however, is a pleasure.
I do hope that these suggestions don't go unnoticed. If they do get implemented, please do let us know! Email me personally pretty please!
That said, we'll have our DirectAdmin plug ready for automation within the next few days. Our software is whois.cart, we register/collect payment and manage subscriptions for you - we now also auto-provision your DirectAdmin accounts!
Kind regards.
Alexandre
President,
saeven.net consulting
http://saeven.net
Let me first comment that it was a pleasure to previously meet one of the developers and that working with your API was very easy - something refreshing.
First an observation. The base64 encode of the username and password renders the commands inoperable. Only when the user and pass aren't encoded do the API commands work - this obervation was made on www.two-a-t.com's servers and doublechecked it was.
Also, there's an important association missing from the API, it would be very easy to code I'm sure - all of the other provisioning systems provide it and it makes post-setup associations easy. If we missed it entirely do let us know - but something that would list usernames to domains would be nice, along with a status bit.
IE
Code:
array{
[username] => array{
[domain] => "adomain.com",
[status] => 1,
[package] => "plan1"
},
[username2] => array{
[domain] => "domain2.net",
[status] => 0,
[package] => "plan2"
}
}
Where username has domain adomain.com and is active, and username2 has domain domain2.net and is suspended. You could easily make domain to username associations as such and it would save potential logging errors where data changes after the initial creation (in 3rd party systems).
Also, there is no modify user command listed that will modify a user to a given package, there only exists one that modifies to a long string of package specific data. It would be very nice if you could build a CMD_MODIFY_USER that takes in PACKAGE just like the CMD_ACCOUNT_USER. Right now, the only way to alter accounts when the only DA data stored is a package name is to turf the old account, and recreate a new one. Most 3rd party software that aren't DirectAdmin specific won't feel like implementing a DA specific panel that stores all of the little package flags. Storing a package name however, is a pleasure.
I do hope that these suggestions don't go unnoticed. If they do get implemented, please do let us know! Email me personally pretty please!
That said, we'll have our DirectAdmin plug ready for automation within the next few days. Our software is whois.cart, we register/collect payment and manage subscriptions for you - we now also auto-provision your DirectAdmin accounts!
Kind regards.
Alexandre
President,
saeven.net consulting
http://saeven.net