How to get user data remotely

Discussion in 'Developers' Forum' started by laptop_user, Oct 10, 2011.

  1. laptop_user

    laptop_user Member

    First of all, thank you very much for the remoting client example. It's really a time saver.

    My question is how can I fetch client data remotely. I see the functions client_get ($session_id, $client_id) in but the usage is somewhat vague. I'm not sure whether that's the right function to use.

    I need to retrieve user data (address, street, mobile etc etc) and populates it into textbox.

    Thanks in advance
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Please download ispconfig 3.0.4 beta and take a look into the remote_client directory, it contains example functions and the AÜI documentation of the remote API.
  3. laptop_user

    laptop_user Member

    Hi Till,

    I already take a look the directory. Add, Update and Delete works nicely. I need to retrieve client data (this is where I'm stuck) like zip code, street address, mobile No. etc etc and shown it into text box. Client then can edit their detail and I can use soap-alias-update.php to update the file.

    Now the problem is how can I retrieve user data using function? There's no example file for that.

    I appreciate your response Till.
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Download the 3.0.4 beta, it contains a example of the client_get function and the documentation of the full api. The information is not in the stable release, so download the beta.
  5. laptop_user

    laptop_user Member

    I should pay more attention :p Thank you till. It works :D

Share This Page