Quantcast
Channel: Recent Discussions on osTicket Forums
Viewing all articles
Browse latest Browse all 7550

Programmatically managing user accounts and organisations

$
0
0
Hello everyone.

I'm part of a team that's building a SaaS product and one of requirements is to have a support system that integrates with our own system. osTicket looks perfect however I can't really understand if it's possible (and how) to programmatically manage the users/organizations.

The operations that need to be preformed are the following:
  • Create an organization
  • Set a variable/property/field for an organization
  • Create user/account and assign to organization
  • Update account password
  • Delete account (more on that later)
  • Set a variable/property/field for a user

One of features of our product is that the user accounts are kinda ephemeral - the organization admins can create them and delete as they please. From what I understood osTicket separates between users and accounts in sense that a user can exist without an account. However I haven't found a way to remove an account from a user - is it possible (for account deletion purposes)?

Does osTicket have some kind of management API? The only API I managed to find is to create tickets - which doesn't suit us. If osTicket doesn't have this kind of functionality - where is possible to hook and add this functionality ourselves? The documentation about internals is extremely scarce...

Thanks in advance

EDIT: I'm OK with doing this by modifying the database directly, however I don't want to do this with poor knowledge of internals (to avoid breaking something)


Viewing all articles
Browse latest Browse all 7550

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>