thedud3 Posted July 21, 2016 Share Posted July 21, 2016 greetings, i'm working in my first addon for whmcs. It's possible get a list of the administrators on a departament with the internal api ? I need develop a calendar for the support staff and i need a list of the admins in support group. Thanks 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted July 21, 2016 Share Posted July 21, 2016 here is the API documentation with all the functions available, you can query database, or make your own API function 0 Quote Link to comment Share on other sites More sharing options...
thedud3 Posted July 21, 2016 Author Share Posted July 21, 2016 Thanks, for future references the query is : select username from tbladmins where find_in_set('2',supportdepts) <> 0 2 is the number of the support dept. 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.