Difference between revisions of "Freeside:3:Documentation:Developer/FS/ClientAPI/PrepaidPhone"
From Freeside
m (Edit via perl MediaWiki framework (1.13)) |
m (Edit via perl MediaWiki framework (1.13)) |
||
Line 29: | Line 29: | ||
Hey! '''The above document had some coding errors, which are explained below:''' | Hey! '''The above document had some coding errors, which are explained below:''' | ||
− | ; Around line | + | ; Around line 16: |
:'=item' outside of any '=over' | :'=item' outside of any '=over' |
Latest revision as of 13:41, 27 June 2014
- 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 16:
- '=item' outside of any '=over'