#1  
Old 7th December 2011, 09:18
alxgomz alxgomz is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default ispconfig API?

Does ISPCONFIG3 have some API of any kind that would allow importing customers/user/sites/dns etc... or at least part of it?
Reply With Quote
Sponsored Links
  #2  
Old 7th December 2011, 09:19
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,045
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
Default

See folder remoting_client in the ispconfig tar.gz for the API documentation and example files for the ispconfig remote api.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 7th December 2011, 09:50
alxgomz alxgomz is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Nice that's a good start. Thank you.
There is no example for websites creation? I guess I have to do it myself based on provided example...

I just tried to fireup one of the example script to create a client:
Here is what it gives me:

php examples/soap-client-add.php
Login successfull. SessionID:596c75d804c8edf1eda5f9778f42b55e<br />SOAP Error: Forbidden

I created a remote user and gave him all rights but the SOAP request returns a forbidden code... I don't really understand why.
Reply With Quote
  #4  
Old 7th December 2011, 09:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,045
Thanks: 826
Thanked 5,384 Times in 4,231 Posts
Default

Maybe you use a outdated ispconfig version, ispconfig 3,.0.4.1 has examples for every function included.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 7th December 2011, 10:05
alxgomz alxgomz is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Indeed recent 3.0.4.1 have it all, while 3.0.3 doesn't.
Does anybody have an idea of the problem with the test scripts posted above?
Reply With Quote
  #6  
Old 7th December 2011, 10:11
alxgomz alxgomz is offline
Junior Member
 
Join Date: Nov 2006
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

forget about it it now works without any forbidden code...
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Relay access denied when using SMTP to external recipients Kamran Shah Installation/Configuration 111 14th May 2014 18:10
chroot SSH IspConfig2 kextra1 General 4 20th January 2011 18:41
ISPConfig 3.0.3.1 API holykim Developers' Forum 4 16th December 2010 14:10
ISPConfig 3.0.1 released till General 36 29th March 2009 14:30
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 14:09.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.