ispconfig API?

Discussion in 'General' started by alxgomz, Dec 7, 2011.

  1. alxgomz

    alxgomz New Member

    Does ISPCONFIG3 have some API of any kind that would allow importing customers/user/sites/dns etc... or at least part of it?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    See folder remoting_client in the ispconfig tar.gz for the API documentation and example files for the ispconfig remote api.
     
  3. alxgomz

    alxgomz New Member

    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.
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Maybe you use a outdated ispconfig version, ispconfig 3,.0.4.1 has examples for every function included.
     
  5. alxgomz

    alxgomz New Member

    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?
     
  6. alxgomz

    alxgomz New Member

    forget about it it now works without any forbidden code...:confused:
     

Share This Page