#1  
Old 13th December 2012, 18: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, 19:01
webguyz webguyz is offline
Senior Member
 
Join Date: Oct 2012
Location: Earth
Posts: 144
Thanks: 38
Thanked 18 Times in 15 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

Last edited by webguyz; 13th December 2012 at 19:03.
Reply With Quote
  #3  
Old 13th December 2012, 21: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, 16:08
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 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, 11: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, 19:08
Xenocide Xenocide is offline
Member
 
Join Date: Sep 2010
Posts: 59
Thanks: 13
Thanked 10 Times in 9 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, 19: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, 15: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 13:42
ISPconfig 3, CentOS, squirrelMail, dovecot. LordNecro General 8 13th March 2011 01:48
DNS problem qb7 Installation/Configuration 17 21st July 2010 18:33
ISP 3.0.1.6 / Centos 5.4 gjaouen Installation/Configuration 11 20th January 2010 12:18
Totally Confused?? :( kingtux Installation/Configuration 7 9th February 2006 23:14


All times are GMT +2. The time now is 05:57.


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