Retrieving information from RT-database

Dear Users,
I’m writing a pieces of code in Perl to retrieve information directly
from the RT internal database.
I would like to know if there are some API provided by RT to interact
with the database,
for example retrieve the list of users and so on.
I need this informations out of the web interface.
Thank you.
Cheers,

Luca M.

Hi!

a simple way is to use the commandline interface

/opt/rt4/bin/rt ls -t user

  • gives you a list of all user

/opt/rt4/bin/rt show user/123456

  • gives you all information about user with the id 123456

the interface utilize the rest interface, which is much easier
to use than the perl api (IMHO)

regards

sven

----- Ursprüngliche Mail -----