outbound_call_usage_details


 

Description

CDR Report suitable for use with Invoices

 

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": "2018-12-01 00:00:00","answer_time_end": "2018-12-31 23:59:59"}'
-k https://your.domain.com/api/users/outbound_call_usage_details


Response

{"status":"success","results":[[
{"To":"447591234567","Rate":0.025,"Cost":0.00125,"From":"442039991234","Date":"18-12-03 10:44:22","Destination":"United Kingdom Mobile O2","Minutes":"0.03","Id":1},{"To":"19173001321","Rate":0.01053,"Cost":0.00105,"From":"12125551234","Date":"18-12-03 11:03:59","Destination":"United States NY","Minutes":"0.10","Id":2},{"To":"19173001321","Rate":0.01053,"Cost":0.00105,"From":"12125554455","Date":"18-12-03 11:12:16","Destination":"United States NY","Minutes":"0.07","Id":3},
<<snipped>>
]]