diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /bin/xmlrpc-order_pkg.pl | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'bin/xmlrpc-order_pkg.pl')
-rwxr-xr-x | bin/xmlrpc-order_pkg.pl | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/bin/xmlrpc-order_pkg.pl b/bin/xmlrpc-order_pkg.pl deleted file mode 100755 index 90d1ff3be..000000000 --- a/bin/xmlrpc-order_pkg.pl +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/perl -# -# xmlrpc-order_pkg.pl username password - -use strict; -use Frontier::Client; -use Data::Dumper; - -my( $u, $p, $custnum ) = ( @ARGV ); -my $userinfo = $u.':'.$p; - -my $uri = new URI 'http://localhost/freeside/misc/xmlrpc.cgi'; -$uri->userinfo( $userinfo ); - -my $server = new Frontier::Client ( 'url' => $uri ); - -my $result = $server->call('Maestro.order_pkg', - { - 'custnum' => 8, - 'pkgpart' => 3, - 'id' => $$, #unique - 'title' => 'John Q. Public', #'name' also works - #(turn off global_unique-pbx_title) - }, -); - -#die $result->{'error'} if $result->{'error'}; - -print Dumper($result); - -1; |