PDA

View Full Version : What does Directadmin return upon success/failure using API


andyp
09-05-2004, 12:20 PM
Hi,

Working on a billing package and wanting to do a DirectAdmin interface. API Docs are clear on what to send Directadmin, but I don't have any info on what is returned if for example I create a new account, what does the API send back when it was successfull. I am using HTTP to send this and need to make sure I can tell the user if they were successfull creating their Directadmini user upon adding a new hosting package (or not). From the discussions I have been looking at there seems to be some parsing that has to be done, but I need to see some samples of what is returned on successful completion as well as failure to complete.

Thanks!!
Andy

fusionictnl
09-05-2004, 01:56 PM
If you're using the API:

http://www.directadmin.com/api.html

l0rdphi1
09-05-2004, 02:25 PM
This should help too:
http://www.directadmin.com/forum/showthread.php?s=&postid=28495#post28495

Phi1.