Difference between revisions of "Freeside:3:Documentation:Developer/FS/part export/voip ms"
From Freeside
(Edit via perl MediaWiki framework (1.13)) |
m (Edit via perl MediaWiki framework (1.13)) |
||
Line 9: | Line 9: | ||
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 603: |
:'=item' outside of any '=over' | :'=item' outside of any '=over' |
Latest revision as of 06:42, 24 March 2015
- import_cdrs START, END
- Retrieves CDRs for calls in the date range from START to END and inserts them as a new CDR batch. On success, returns a new cdr_batch object. On failure, returns an error message. If there are no new CDRs, returns nothing.
- api_request METHOD, CONTENT
- Makes a REST request with method name METHOD, and POST content CONTENT (as a hashref).
- api_insist METHOD, CONTENT
- Exactly like "api_request", but if the returned "status" is not "success", throws an exception.
POD ERRORS
Hey! The above document had some coding errors, which are explained below:
- Around line 603:
- '=item' outside of any '=over'