Difference between revisions of "Freeside:3:Documentation:Developer/FS/part export/voip ms"
From Freeside
(Edit via perl MediaWiki framework (1.13)) |
(No difference)
|
Revision as of 05:49, 10 February 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 602:
- '=item' outside of any '=over'