Freeside:1.9:Documentation:Developer/FS/ClientAPI/PrepaidPhone

From Freeside
Jump to: navigation, search
call_time HASHREF
HASHREF contains the following parameters:
src
Source number (with countrycode)
dst
Destination number (with countrycode)
Always returns a hashref. If there is an error, the hashref contains a single "error" key with the error message as a value. Otherwise, returns a hashref with the following keys:
custnum
Empty if no customer is found associated with the number, customer number otherwise.
seconds
Number of seconds remaining for a call to destination number
call_time_nanpa
Like call_time, except countrycode 1 is not required, and all other countrycodes must be prefixed with 011.
phonenum_balance HASHREF
HASHREF contains the following parameters:
countrycode
Optional countrycode. Defaults to 1.
phonenum
Phone number.
Always returns a hashref. If there is an error, the hashref contains a single "error" key with the error message as a value. Otherwise, returns a hashref with the following keys:
custnum
Empty if no customer is found associated with the number, customer number otherwise.
balance
Customer balance.

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 15:
'=item' outside of any '=over'