call_detail_summary
Description
Gets total calls, minutes and cost by destination name for a client.
Parameters
client_account_code answer_time_start answer_time_end
Request
curl -X POST \ -H "Authorization: Token d37fa8c4e008fec158070b1b4aea5f0db3d6a06e" \ -H "Content-Type: application/json" \ -d '{"client_account_code":"1480270993","answer_time_start": "2016-02-01 00:00:00","answer_time_end": "2016-02-01 23:59:59"}' \ -k https://your.domain.com/api/users/call_detail_summary
Response
{ "status": "success", "results": [ {Â Â "Barbados_Mobile_Digicel": { "total_mins": "2.60", "total_cost": "0.54550", "total_calls": 1 }, "Canada": { "total_mins": "113.63", "total_cost": "0.56300", "total_calls": 25 }, "French_Guiana_Mobile_Digicel": { "total_mins": "2.68", "total_cost": "0.05020", "total_calls": 1 }, "India_Mobile": { "total_mins": "2.67", "total_cost": "0.05870", "total_calls": 1 }, . . . } ] }