Re: [rt-users] Retrieving information from RT-database

2015-01-30 Thread Sternberger, Sven
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 -
 Von: Luca Mazzaferro luca.mazzafe...@rzg.mpg.de
 An: rt-users@lists.bestpractical.com
 Gesendet: Donnerstag, 29. Januar 2015 10:14:08
 Betreff: [rt-users] 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.


[rt-users] Retrieving information from RT-database

2015-01-29 Thread Luca Mazzaferro

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.