diff options
author | Christopher Burger <burgerc@freeside.biz> | 2017-07-21 10:10:00 -0400 |
---|---|---|
committer | Christopher Burger <burgerc@freeside.biz> | 2017-07-21 17:20:18 -0400 |
commit | 91c7741223e84c67b64693cf4bbab6cfbd944e7e (patch) | |
tree | 2669696a0ad02e0d1f5cb76d2de7dfc46adfb5ae | |
parent | d14018734aa489652f1e14685c44a29bf2af8cc6 (diff) |
RT# 73993 - added new API call to list and documented it.
-rw-r--r-- | fs_selfservice/FS-SelfService/SelfService.pm | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/fs_selfservice/FS-SelfService/SelfService.pm b/fs_selfservice/FS-SelfService/SelfService.pm index f1b20814d..d76e12846 100644 --- a/fs_selfservice/FS-SelfService/SelfService.pm +++ b/fs_selfservice/FS-SelfService/SelfService.pm @@ -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. |