#1  
Old 13th December 2012, 17:20
rapstyle rapstyle is offline
Junior Member
 
Join Date: Dec 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default List of Clients with APIs

Hi guys, for create a panel I need to have a list of clients that I have in the ISPConfig 3.04.6.
I have searched in the APIs but i don't find nothing.
I can use client_get for have the information about a determinated client, but for all clients?
Exist a function for have the total number of clients or for have the information about all clients? Thanks
Reply With Quote
Sponsored Links
  #2  
Old 13th December 2012, 18:01
webguyz webguyz is offline
Member
 
Join Date: Oct 2012
Location: Earth
Posts: 83
Thanks: 27
Thanked 8 Times in 8 Posts
Default

It would be usefull to get a client list by total AND by reseller.

Rapstyle, you might want to enter it into the bugtracker so it gets on the roadmap for 3.0.6.

http://bugtracker.ispconfig.org/inde...dmap&project=3
__________________
= WebGuyz.Net =
VPS and Web Hosting

Last edited by webguyz; 13th December 2012 at 18:03.
Reply With Quote
  #3  
Old 13th December 2012, 20:04
rapstyle rapstyle is offline
Junior Member
 
Join Date: Dec 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
Default

so for now i can't make this?
Reply With Quote
  #4  
Old 4th January 2013, 15:08
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,423
Thanks: 812
Thanked 5,205 Times in 4,081 Posts
Default

Quote:
It would be usefull to get a client list by total AND by reseller.

Rapstyle, you might want to enter it into the bugtracker so it gets on the roadmap for 3.0.6.
Thats already possible with the current API, so no need for a feature request.

Quote:
I can use client_get for have the information about a determinated client, but for all clients?
The _get functions of all item types can be used to query the database for a list of as well.

Example:

$client_record = $client->client_get($session_id, array('client_id' => '%'));
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following 2 Users Say Thank You to till For This Useful Post:
rapstyle (9th January 2013), Xenocide (7th January 2013)
  #5  
Old 7th January 2013, 10:40
abdi abdi is offline
Senior Member
 
Join Date: Sep 2012
Posts: 118
Thanks: 0
Thanked 10 Times in 6 Posts
Default

Wow, been querying the ISPConfig database directly all this while ..thanks for that insight.
Reply With Quote
  #6  
Old 7th January 2013, 18:08
Xenocide Xenocide is offline
Member
 
Join Date: Sep 2010
Posts: 54
Thanks: 12
Thanked 6 Times in 5 Posts
Default

Quote:
Originally Posted by till View Post
Thats already possible with the current API, so no need for a feature request.



The _get functions of all item types can be used to query the database for a list of as well.

Example:

$client_record = $client->client_get($session_id, array('client_id' => '%'));
That's awesome. Can you quickly right an ASP.net panel? Website panel sort of blows :P
Reply With Quote
  #7  
Old 7th January 2013, 18:58
abdi abdi is offline
Senior Member
 
Join Date: Sep 2012
Posts: 118
Thanks: 0
Thanked 10 Times in 6 Posts
Default

right or write?
Reply With Quote
  #8  
Old 9th January 2013, 14:34
rapstyle rapstyle is offline
Junior Member
 
Join Date: Dec 2012
Posts: 6
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

Quote:
Originally Posted by till View Post
Thats already possible with the current API, so no need for a feature request.



The _get functions of all item types can be used to query the database for a list of as well.

Example:

$client_record = $client->client_get($session_id, array('client_id' => '%'));
great, thank you very much =)
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
ISPConfig not seeing external IP JustonTN Installation/Configuration 6 17th April 2012 12:42
ISPconfig 3, CentOS, squirrelMail, dovecot. LordNecro General 8 13th March 2011 00:48
DNS problem qb7 Installation/Configuration 17 21st July 2010 17:33
ISP 3.0.1.6 / Centos 5.4 gjaouen Installation/Configuration 11 20th January 2010 11:18
Totally Confused?? :( kingtux Installation/Configuration 7 9th February 2006 22:14


All times are GMT +2. The time now is 08:20.


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