API system and docs

Discussion in 'Developers' Forum' started by VelusUniverse, Nov 6, 2013.

  1. VelusUniverse

    VelusUniverse New Member

    Hello all i have read through the api docs and the api system but im still at a loss (sorry it may be easy to see but im running on coffe and no sleep atm),
    but with the api soap_config.php it has a username and password. is this only for the api login in? or is this your admin login to the system?
    also can you have it so a user can do functions like add sites emails addresses etc using there username and password. ? the docs dont really explain that?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The remote api exists to connect external applications by soap (http) with ispconfig. it is not the api used by plugins or extensions in ispconfig.

    The remote api uses a remote user for logging in. Remote users can be created under System > remote users

    yes, thats the purpose of the remote api. See api docs and examples in the remote_client folder of the ispconfig tar.gz. E.g. a function that ia named client_add will add a client, all other function names are self explaining in the same way and also its functionality is described in the api docs and there is a examplefor each function.
  3. VelusUniverse

    VelusUniverse New Member

    im wanting to create a external app that will be Incorporated into my site, the app will be a full billing system, with billing for a lot more than hosting, so will need a full in house system and would like to be able to implement a system where the user (if they have a hosting account) to be able to do minor work with the system using there log in details. or would i have to restrict it with the external application.
  4. Croydon

    Croydon ISPConfig Developer ISPConfig Developer

    You would have to restrict it in the external system.
    The remote api has no client login, yet. Only remote user (that was especially created for this).
  5. VelusUniverse

    VelusUniverse New Member

    thanks mate that helps me a lot now i can work around that to sort this out im guesing i would need two db's one for the ispconfig and the other for the billing system (mainly as this will create users for stuff that aint hosting) but can i have an account created on the ispconfig that does not have any space or anything (to be gin with) so if the user adds hosting to there services it can just use the already account?
  6. ispcomm

    ispcomm Member

    Looks like you want to reinvent the wheel :)

    If you're interested, I'm looking for a partner to implement a good ispconfig module for hostbill, which is what I'm migrating our own in-house billing system to (because at the end developing a billing system is very expensive).

    Like I said... if you're interested, send me a PM.

  7. till

    till Super Moderator Staff Member ISPConfig Developer

    sure, thats named a client in ispconfig. Btw, have you checked out the ispconfig billing module? It is a multi purpose billing system that can be used for all kind of billing like hosting, goods, support services etc. and its based on the ispconfig system and client data. The billing module is delivered as source code, so you can alter it to match your requirements. Additionally, the billing module supports the remote api as well, so you can use the billing system and ispconfig remote api together to create clients, websites, invoices etc. from your company website when they sign up for an account.

Share This Page