RT# 73993 - added new API call to list and documented it.
authorChristopher Burger <burgerc@freeside.biz>
Fri, 21 Jul 2017 14:10:00 +0000 (10:10 -0400)
committerChristopher Burger <burgerc@freeside.biz>
Fri, 21 Jul 2017 21:20:18 +0000 (17:20 -0400)
fs_selfservice/FS-SelfService/SelfService.pm

index f1b2081..d76e128 100644 (file)
@@ -62,6 +62,7 @@ $socket .= '.'.$tag if defined $tag && length($tag);
   'process_prepay'            => 'MyAccount/process_prepay',
   'realtime_collect'          => 'MyAccount/realtime_collect',
   'list_pkgs'                 => 'MyAccount/list_pkgs',     #add to ss (added?)
+  'pkg_info'                  => 'MyAccount/pkg_info',
   'list_svcs'                 => 'MyAccount/list_svcs',     #add to ss (added?)
   'list_svc_usage'            => 'MyAccount/list_svc_usage',   
   'svc_status_html'           => 'MyAccount/svc_status_html',
@@ -878,6 +879,46 @@ Blank if the service is not over limit, or the date the service exceeded its usa
 
 =back
 
+=item pkg_info
+
+Returns package information for package.
+
+Takes a hash reference as parameter with the following keys:
+
+=over 4
+
+=item session_id
+
+Session identifier
+
+=item pkgnum
+
+Package Number
+
+=back
+
+Returns a hash reference containing customer package information.  The hash reference contains the following keys:
+
+=pkg_label
+
+Name of this package
+
+=pkgpart
+
+Part package primary key
+
+=classnum
+
+Package class number
+
+=error
+
+error message if errror.
+
+=back
+
+=back
+
 =item list_svcs
 
 Returns service information for this customer.