Site Tools


MIXvoip Support  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
supernode:api:cdrs [11/01/2019 10:16]
Fred Zeien
supernode:api:cdrs [11/01/2019 10:22] (current)
Fred Zeien
Line 4: Line 4:
 ===== URL ===== ===== URL =====
 <​code>​ <​code>​
-/​cdrs/​getcalls/​$PROFILE_ID/​$START_DATE[/​$END_DATE]+/​cdrs/​getcalls/​$PROFILE_ID/​$START_DATE[/​$END_DATE[/CSV]]
 </​code>​ </​code>​
   * PROFILE_ID: reseller'​s client'​s / user's profile ID (customer number)   * PROFILE_ID: reseller'​s client'​s / user's profile ID (customer number)
   * START_DATE: starting date which you want to retrieve data from (must be smaller than END_DATE)   * START_DATE: starting date which you want to retrieve data from (must be smaller than END_DATE)
   * END_DATE: date until when you want to retrieve data (optional, if not set, current date is selected)   * END_DATE: date until when you want to retrieve data (optional, if not set, current date is selected)
 +  * CSV: adding /CSV will download the results in a CSV. 
  
 ===== Failures ===== ===== Failures =====
Line 18: Line 19:
  
 ===== Return value ===== ===== Return value =====
-This function returns a multi-dimensional JSON encoded array:+This function returns a multi-dimensional JSON encoded array by default:
 <​code>​ <​code>​
   array(   array(
Last modified: 11/01/2019 10:22