[freeside-commits] branch master updated. ede46a9e3854355bb93c8aaae0f502b5e346e7ee

Ivan ivan at 420.am
Wed Mar 5 19:59:16 PST 2014


The branch, master has been updated
       via  ede46a9e3854355bb93c8aaae0f502b5e346e7ee (commit)
      from  b473a7be1bf6febac75215b4656de15d6a78ad10 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ede46a9e3854355bb93c8aaae0f502b5e346e7ee
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Mar 5 19:59:14 2014 -0800

    backoffice API: query locations example, RT#22830

diff --git a/bin/xmlrpc-location_info b/bin/xmlrpc-location_info
new file mode 100755
index 0000000..b2595dd
--- /dev/null
+++ b/bin/xmlrpc-location_info
@@ -0,0 +1,21 @@
+#!/usr/bin/perl
+
+use strict;
+use Frontier::Client;
+use Data::Dumper;
+
+my $uri = new URI 'http://localhost:8008/';
+
+my $server = new Frontier::Client ( 'url' => $uri );
+
+my $result = $server->call(
+  'FS.API.location_info',
+    'secret'  => 'sharingiscaring',
+    'custnum' => 181318,
+);
+
+#die $result->{'error'} if $result->{'error'};
+
+print Dumper($result);
+
+1;

-----------------------------------------------------------------------

Summary of changes:
 bin/{xmlrpc-customer_info => xmlrpc-location_info} |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
 copy bin/{xmlrpc-customer_info => xmlrpc-location_info} (92%)




More information about the freeside-commits mailing list