Hi All,
I'm new to the Arsperl API and I'm wondering if anybody can help. I'm
using Remedy-ARStools 0.7 to interface and I'm having trouble pulling
out a ticket:
#!/usr/bin/perl -w
use Remedy::ARSTools;
use Data::DumpXML;
use Data::Dumper;
# HPD:HelpDesk - HD's
# CHG:Change - CHG's
# CHG:Task - TSK's
@fields = ("Change ID+");
$remedy = Remedy::ARSTools::new( Server => remserver, User => "remuser",
Pass => "rempass", ConfigFile => "RemedyConfig.conf" ) || die
($Remedy::ARSTools::errstr);
$data = $remedy->Query(QBE => "1=9525", Schema => "CHG:Change", Fields
=> [EMAIL PROTECTED]) || die $remedy->{errstr};;
print dumper($data);
When I run this, I get the following:
# ./foobar.pl
can't get ticket list: [ERROR] GetListFields must be an ARRAY reference
(ARERR #80005)
Is this a common mistake? Perhaps somebody could point me in the right
direction?
Thanks in advance,
George
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Arsperl-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/arsperl-users