get_cdr_summary


Description
 

Get a CDR summary for 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-27 23:59:59"}' \
-k https://your.domain.com/api/users/get_cdr_summary

Response

{
  "Inbound": {
    "asr": "82.84",
    "no_route": "0",
    "rejected": "0",
    "total_calls": "8694",
    "cancel": "1266",
    "invalid_format": "5",
    "busy": "5",
    "success": "7225",
    "acd": "4.4",
    "total_cost": "515.18034",
    "total_mins": "38301.43",
    "unallocated": "0"
  },
  "Outbound": {
    "asr": 0,
    "total_calls": 0,
    "rejected": 0,
    "no_route": 0,
    "cancel": 0,
    "invalid_format": 0,
    "busy": 0,
    "success": 0,
    "acd": 0,
    "total_cost": 0,
    "total_mins": 0,
    "unallocated": 0
  }
}