did_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/did_call_usage_details



Response

{"status":"success","results":
[[{"To":"441613337777","Rate":0.05,"Cost":0.03045,"From":"442032001234","Date":"18-12-01 17:11:43","Destination":"United Kingdom Fixed","Minutes":"0.62","Id":1},{"To":"442032001234","Rate":0.05,"Cost":0.00795,"From":"19173001411","Date":"18-12-02 19:25:06","Destination":"United Kingdom Fixed","Minutes":"0.17","Id":2},{"To":"441613337777","Rate":0.05,"Cost":0.005,"From":"442085551234","Date":"18-12-02 19:26:47","Destination":"United Kingdom Fixed","Minutes":"0.05","Id":3},
<<snipped>>>
]]