blob: 7a2a0a6f0c4958d4e02490574bb78e5f302e43c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#!/usr/bin/perl
use strict;
use Frontier::Client;
use Data::Dumper;
my $server = new Frontier::Client (
url => 'http://user:pass@freesidehost/misc/xmlrpc.cgi',
);
#my $method = 'cust_main.smart_search';
#my @args = (search => '1');
my $method = 'Record.qsearch';
my @args = (cust_main => { });
my $result = $server->call($method, @args);
if (ref($result) eq 'ARRAY') {
print "Result:\n";
print Dumper(@$result);
}
|