Remote access to the RT's query engine

Hello all,

I have a need to extract some data from my RT instance which I have
satisfied thus far be means of a local script (run locally on the RT
server) that uses the Perl API to access the data. So I do:

RT::LoadConfig();
RT::Init();

etc. etc.

This works just fine. My question is, could I do the same thing across the
net, from a different host?

Thanks.

Boris.

RT offers a REST API over HTTP:

http://requesttracker.wikia.com/wiki/REST

I’ve never tried it, so I don’t know how feature-rich it is. There’s also
a command line utility (“rt”) which connects to a remote RT instance via
that REST API. Possibly that can be scripted too.On 09/08/2014 1:46 am, “Boris Epstein” borepstein@gmail.com wrote:

Hello all,

I have a need to extract some data from my RT instance which I have
satisfied thus far be means of a local script (run locally on the RT
server) that uses the Perl API to access the data. So I do:

RT::LoadConfig();
RT::Init();

etc. etc.

This works just fine. My question is, could I do the same thing across the
net, from a different host?

Thanks.

Boris.


RT Training - Boston, September 9-10
Training — Best Practical Solutions