summaryrefslogtreecommitdiff
path: root/bin/xmlrpc-order_pkg.pl
diff options
context:
space:
mode:
Diffstat (limited to 'bin/xmlrpc-order_pkg.pl')
-rwxr-xr-xbin/xmlrpc-order_pkg.pl31
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;